CreateBookingIntentRequest
Request schema for creating a booking intent
When true, automatically assigns an available provider for the selected time slot if no provider_id is specified.
booking_policy objectnullable
Policy overrides for this booking intent. When omitted, falls back to the service's policies.
hold objectnullable
Hold policy overrides.
The duration of the hold as an ISO 8601 duration string.
Possible values: Value must match regular expression ^PT(?:(\d+)H)?(?:(\d+)M)?$
Whether slot holds are enabled.
client_data objectnullable
Progressive client data to collect during the booking flow.
fields objectnullable
A map of custom field key-value pairs.
A map of custom field key-value pairs.
The ID of an existing client to link.
The end time of the slot as an ISO-8601 datetime string with a timezone offset.
Fields to lock from public API updates.
Possible values: [service_id, provider_id, slot, client_data, submissions]
metadata objectnullable
Custom metadata key-value pairs.
Custom metadata key-value pairs.
The ID of the provider to assign.
The ID of the service for this booking intent.
Whether the slot has been prevalidated. When true, public completion skips slot validation.
falseThe start time of the slot as an ISO-8601 datetime string with a timezone offset.
submissions object[]nullable
Form submissions to attach to this booking intent. Each entry contains a form_id and responses map.
The ID of the form to submit responses for.
responses object
A map of response data keyed by field key. Values depend on field type.
A map of response data keyed by field key. Values depend on field type.
{}The local time zone for the slot (IANA format).
{
"booking_policy": {
"hold": {
"duration": "PT10M",
"enabled": true
}
},
"metadata": {
"source": "web"
},
"service_id": "srv_1234567890"
}