# Create Service Location

- **URL:** https://marketplace.gohighlevel.com/docs/ghl/calendars/create-service-location
- **Summary:** Create a new service location

[Skip to main content](https://marketplace.gohighlevel.com/docs/ghl/calendars/create-service-location#__docusaurus_skipToContent_fallback)

Version: v3

Create Service Location
=======================

POST 

https://services.leadconnectorhq.com/calendars/services/locations

Copy for LLMView as MarkdownOpen in ClaudeOpen in ChatGPTOpen in Cursor

Create a new service location

### Requirements

#### Scope(s)

`calendars.write`

#### Auth Method(s)

`OAuth Access Token``Private Integration Token`

#### Token Type(s)

`Sub-Account Token`

Request[​](https://marketplace.gohighlevel.com/docs/ghl/calendars/create-service-location#request "Direct link to request")

### Header Parameters

**Version** stringrequired

**Possible values:** \[`v3`\]

API Version

*   application/json

*   Body
*   Example (auto)

### Body**required**

**locationId**stringrequired

Location ID

**Example:** `0007BWpSzSwfiuSl0tR2`

**name**stringrequired

Location name

**Example:** `Midtown Therapy Studio`

**slug**stringrequired

URL-friendly slug identifier

**Example:** `midtown-therapy-studio`

**phone**string

Phone number

**Example:** `+1-212-555-0174`

**address**string

Use a full street address when locationType is offline. Use a user-facing label when locationType is ask_booker.

**Example:** `789 5th Avenue, Floor 3, New York, NY 10022 / Home Service`

**coverImage**string

URL of the cover image for this service location

**Example:** `https://storage.example.com/locations/midtown-therapy-studio/cover.jpg`

**locationType**string

Location type

**Possible values:** \[`offline`, `ask_booker`\]

**Example:** `offline`

    {  "locationId": "0007BWpSzSwfiuSl0tR2",  "name": "Midtown Therapy Studio",  "slug": "midtown-therapy-studio",  "phone": "+1-212-555-0174",  "address": "789 5th Avenue, Floor 3, New York, NY 10022 / Home Service",  "coverImage": "https://storage.example.com/locations/midtown-therapy-studio/cover.jpg",  "locationType": "offline"}

Responses[​](https://marketplace.gohighlevel.com/docs/ghl/calendars/create-service-location#responses "Direct link to Responses")

*   201
*   400
*   401

Service location created successfully

*   application/json

*   Schema
*   Example (auto)

**Schema**

**id**stringrequired

Service Location ID

**Example:** `65e5f6dfacf123513228d384`

**locationId**stringrequired

Location ID

**Example:** `0007BWpSzSwfiuSl0tR2`

**name**stringrequired

Location name

**Example:** `Downtown Wellness Center`

**slug**stringrequired

Unique URL-friendly identifier for the service location

**Example:** `downtown-wellness-center`

**isActive**boolean

Whether location is active

**Default value:** `true`

**Example:** `true`

**isPrivate**boolean

Whether location is private (not shown publicly)

**Default value:** `false`

**Example:** `false`

**coverImage**string

URL of the cover image displayed for this location

**Example:** `https://storage.example.com/locations/downtown-wellness-center/cover.jpg`

**locationType**string

Location type

**Possible values:** \[`offline`, `ask_booker`\]

**Example:** `offline`

**address**string

Use a full street address when locationType is offline. Use a user-facing label when locationType is ask_booker.

**Example:** `456 Market Street, Suite 200, San Francisco, CA 94105`

**phone**string

Contact phone number for the service location

**Example:** `+1-415-555-0198`

    {  "id": "65e5f6dfacf123513228d384",  "locationId": "0007BWpSzSwfiuSl0tR2",  "name": "Downtown Wellness Center",  "slug": "downtown-wellness-center",  "isActive": true,  "isPrivate": false,  "coverImage": "https://storage.example.com/locations/downtown-wellness-center/cover.jpg",  "locationType": "offline",  "address": "456 Market Street, Suite 200, San Francisco, CA 94105",  "phone": "+1-415-555-0198"}

Bad Request

*   application/json

*   Schema
*   Example (auto)

**Schema**

**statusCode**number

**Example:** `400`

**message**string

**Example:** `Bad Request`

    {  "statusCode": 400,  "message": "Bad Request"}

User not authenticated

*   application/json

*   Schema
*   Example (auto)

**Schema**

**statusCode**number

**Example:** `401`

**message**string

**Example:** `Invalid token: access token is invalid`

**error**string

**Example:** `Unauthorized`

    {  "statusCode": 401,  "message": "Invalid token: access token is invalid",  "error": "Unauthorized"}

Share your feedback
-------------------

★★★★★

#### Authorization: Authorization

**name:** [Authorization](https://marketplace.gohighlevel.com/docs/ghl/calendars/calendars-api#authentication)
**type:** http**scopes:** `calendars.write`**scheme:** bearer**bearerFormat:** JWT**in:** header**description:** Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.

*   curl
*   nodejs
*   python
*   php
*   java
*   go
*   ruby
*   powershell

*   CURL

    curl -L 'https://services.leadconnectorhq.com/calendars/services/locations' \-H 'Content-Type: application/json' \-H 'Accept: application/json' \-H 'Authorization: Bearer <Authorization>' \-d '{  "locationId": "0007BWpSzSwfiuSl0tR2",  "name": "Midtown Therapy Studio",  "slug": "midtown-therapy-studio",  "phone": "+1-212-555-0174",  "address": "789 5th Avenue, Floor 3, New York, NY 10022 / Home Service",  "coverImage": "https://storage.example.com/locations/midtown-therapy-studio/cover.jpg",  "locationType": "offline"}'

RequestCollapse all

Base URL

Edit

https://services.leadconnectorhq.com

Auth

Bearer Token

Parameters

Version — headerrequired\---v3

Body required

{
  "locationId": "0007BWpSzSwfiuSl0tR2",  "name": "Midtown Therapy Studio",  "slug": "midtown-therapy-studio",  "phone": "+1-212-555-0174",  "address": "789 5th Avenue, Floor 3, New York, NY 10022 / Home Service",  "coverImage": "https://storage.example.com/locations/midtown-therapy-studio/cover.jpg",  "locationType": "offline"
}
Send API Request

ResponseClear

Click the `Send API Request` button above and see the response here!
