Skip to content

Get timeslot settings

Request

Retrieves the timeslot configuration for online booking at a location.

Timeslot settings control how available booking times are displayed to clients:

  • Grid type (predefined, schedule-based, or dynamic)
  • Available time range
  • Step interval between slots
  • Delay before nearest available slot
  • Per-weekday and per-date overrides

Timeslot values are in seconds from midnight (e.g., 7200 = 02:00, 50400 = 14:00).

Security
BearerPartnerUser
Path
location_idintegerrequired

Location ID

Example:720441
Headers
Acceptstringrequired
Default:"application/vnd.api.v2+json"
Content-Typestringrequired
Default:"application/json"
Authorizationstringrequired

Bearer {partner_token}, User {user_token}

curl -i -X GET \
  https://developer.alteg.io/_mock/en/b2b-v1/openapi/locations/720441/settings/timeslots \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: application/json'

Responses

Timeslot settings retrieved successfully

Bodyapplication/json
successboolean
Example:true
dataobject

Timeslot settings object

metaArray of any
Example:
[]
Response
{ "success": true, "data": { "is_enabled": true, "weekdays_settings": [ … ], "dates_settings": [ … ] }, "meta": [] }