Create a reservation service
Creates a bookable service.
Endpoint
POST/reservation-services
Body
| Field | Type | Required | Description |
|---|---|---|---|
organization_id | integer | Yes | Your organization ID (the API key's organization). |
name | string | Yes | Service name, max 255 characters. |
duration_minutes | integer | Yes | Length of one booking, minimum 1. |
slot_capacity | integer | No | Reservations per slot. Default 1. |
max_party_size | integer | No | Maximum people per reservation. Default 1. |
capacity_mode | string | No | per_slot (default) or per_resource. |
slot_interval | integer | No | Minutes between slot starts. Default 30, minimum 5. |
timezone | string | No | IANA timezone. Default UTC. |
max_advance_days | integer | No | Default 30. |
min_advance_hours | integer | No | Default 1. |
max_daily_bookings | integer | No | Daily limit, null for none. |
auto_confirm | boolean | No | Default true. |
is_public | boolean | No | Default true. |
is_active | boolean | No | Default true. |
price | number | No | Price, minimum 0. |
currency_id | integer | No | Currency of the price; fills the currency formatting fields. |
Every other field of the service object except id, created_at, updated_at and deleted_at can also be sent.
Request
Response
Returns the created service object.
json
Errors
| Status | When |
|---|---|
400 Bad Request | Missing required field, value below its minimum, invalid capacity_mode, or a video_url that cannot be embedded. |
403 Forbidden | organization_id is not the API key's organization. |
Report an issue with this documentation
Please log in to report issues with our documentation.