Availability

Get availability at a location

Get available appointment slots at a specific location. Use start_time filters to narrow results. Availability is limited to 24 hours through 120 days in the future.

get/api/v1/locations/{location_id}/availability

Request

  • Base URL: https://app.bodyspec.com
  • URL: https://app.bodyspec.com/api/v1/locations/{location_id}/availability
  • Auth: none required

Path parameters

location_idstring required

Query parameters

start_time[eq]string nullable

ISO 8601 datetime: start_time = value. Uses location timezone if not specified.

start_time[gt]string nullable

ISO 8601 datetime: start_time > value. Uses location timezone if not specified.

start_time[gte]string nullable

ISO 8601 datetime: start_time >= value. Uses location timezone if not specified.

start_time[lt]string nullable

ISO 8601 datetime: start_time < value. Uses location timezone if not specified.

start_time[lte]string nullable

ISO 8601 datetime: start_time <= value. Uses location timezone if not specified.

service_idstring nullable

Optional service/product ID to filter by

pageinteger

Page number (starts at 1)

page_sizeinteger

Items per page (max 100)

Response

Successful response

max_availability_daysinteger required

Maximum number of days in the future availability can be queried

Changes

No recorded changes to this operation across all 1 revision of this API.