User authentication and session management for B2B integrations
/
Get a list of booking wid...
Business Management (1.0.0)
Full-featured B2B API for business operations.
Base URL: https://api.alteg.io/api
V1 will be gradually deprecated. We recommend using V2 API for new integrations. V1 endpoints are maintained for backward compatibility, but new features will be released in V2 only.
Download OpenAPI description
Overview
Languages
Servers
Mock server
https://developer.alteg.io/_mock/en/b2b-v1/openapi/
Production
https://api.alteg.io/api/v1/
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
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}/settings/timeslots
- Productionhttps://api.alteg.io/api/v1/company/{location_id}/settings/timeslots
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://developer.alteg.io/_mock/en/b2b-v1/openapi/company/720441/settings/timeslots \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json'Response
application/json
{ "success": true, "data": { "is_enabled": true, "weekdays_settings": [ … ], "dates_settings": [ … ] }, "meta": [] }
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}/booking_forms
- Productionhttps://api.alteg.io/api/v1/company/{location_id}/booking_forms
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}/booking_forms' \
-H 'Accept: string' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: string'Response
application/json
{ "success": true, "data": [ { … } ], "meta": [] }
Bodyapplication/jsonrequired
Button location on the page
Default "bottom right"
Enum"bottom right""bottom left""top right""top left "
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}/booking_forms
- Productionhttps://api.alteg.io/api/v1/company/{location_id}/booking_forms
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}/booking_forms' \
-H 'Accept: string' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"title": "string",
"description": "",
"is_default": false,
"without_menu": false,
"service_step_default": 0,
"service_step_hide": false,
"master_step_default": 0,
"master_step_hide": false,
"service_step_num": 0,
"master_step_num": 0,
"datetime_step_num": 0,
"show_button": true,
"button_position": "bottom right",
"form_position": "right",
"button_color": "#1c84c6",
"button_animation": true
}'Response
application/json
{ "success": true, "data": { "id": 1, "title": "Name", "is_default": false, "description": "Description", "without_menu": false, "service_step_default": 0, "service_step_hide": false, "master_step_default": 0, "master_step_hide": false, "service_step_num": 2, "master_step_num": 1, "datetime_step_num": 3, "show_button": true, "button_position": "bottom right", "form_position": "right", "button_color": "#1c84c6", "button_animation": true, "html_code": "", "ab_test_enabled": false }, "meta": [] }