POST
Create Calendar
Creates a new booking calendar in the specified sub-account.
POST
https://api.vantaxai.com/v1/calendarsOnly `name` and `sub_account_id` are required. `slot_duration_minutes` defaults to 30 and is clamped to the 5–480 minute range; `is_active` defaults to true.
Headers
AuthorizationstringrequiredBearer authentication with your secret API key.
example: Bearer vx_live_3fa9c2…
Content-TypestringrequiredMust be application/json for requests with a body.
example: application/json
Body Parameters
namestringrequiredDisplay name of the calendar.
example: Front Desk Bookings
sub_account_idstringrequiredSub-account that will own the calendar.
example: sub_8a1f4c2e
descriptionstringoptionalInternal description of the calendar's purpose.
colorstringoptionalHex color used to label the calendar in the UI.
example: #2563eb
is_activebooleanoptionalWhether the calendar accepts bookings. Defaults to true.
slot_duration_minutesintegeroptionalLength of each bookable slot, in minutes (5–480). Defaults to 30.
example: 30