Locations

List locations

get

Retrieve a paginated list of locations with optional filtering

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
X-API-KeystringRequired

API key for authentication (format: sdh_...)

Path parameters
tenantstringRequired

Provider organization tenant identifier

Example: acme-corp
Query parameters
locationIdsstringOptional
searchstringOptional
statestring · max: 2Optional
citystringOptional
includeInactivestring · enumOptionalPossible values:
pagestringOptionalPattern: ^\d+$
pageSizestringOptionalPattern: ^\d+$
limitstringOptionalPattern: ^\d+$
offsetstringOptionalPattern: ^\d+$
Responses
chevron-right
200

Successfully retrieved items

application/json
get
/v1/provider/{tenant}/locations

Create a new location

post

Create a new location for the provider organization

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
X-API-KeystringRequired

API key for authentication (format: sdh_...)

Path parameters
tenantstringRequired

Provider organization tenant identifier

Example: acme-corp
Body

Request body for creating a location

namestring · min: 1 · max: 250Required

Location name

displayNamestring · min: 1Optional
descriptionstring · max: 350Optional
virtualbooleanOptional
selfSchedulingEnabledbooleanOptional
activebooleanOptional
websitestring · uriOptional
Responses
post
/v1/provider/{tenant}/locations

Get location by ID

get

Retrieve detailed information about a specific location

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
X-API-KeystringRequired

API key for authentication (format: sdh_...)

Path parameters
tenantstringRequired

Provider organization tenant identifier

Example: acme-corp
Responses
chevron-right
200

Successfully retrieved item

application/json
get
/v1/provider/{tenant}/locations/{id}

Delete a location

delete

Soft delete a location (marks as inactive). Only available to direct provider organization users.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
X-API-KeystringRequired

API key for authentication (format: sdh_...)

Path parameters
tenantstringRequired

Provider organization tenant identifier

Example: acme-corp
Responses
delete
/v1/provider/{tenant}/locations/{id}

No content

Update a location

patch

Update an existing location (partial update supported). Integration partners require both LOCATIONS_WRITE and INTEGRATIONS_WRITE scopes.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
X-API-KeystringRequired

API key for authentication (format: sdh_...)

Path parameters
tenantstringRequired

Provider organization tenant identifier

Example: acme-corp
Body

Request body for updating a location

namestring · min: 1 · max: 250Optional
displayNamestring · min: 1Optional
descriptionstring · max: 350Optional
virtualbooleanOptional
selfSchedulingEnabledbooleanOptional
activebooleanOptional
websitestring · uriOptional
Responses
chevron-right
200

Item updated successfully

application/json
patch
/v1/provider/{tenant}/locations/{id}

Last updated