/v1/management/schedules/{resource}Behavior
Server only. The management key binds tenant/integration and explicit business/provider resources. Intake pause does not revoke management rights. A change preview binds the resource version and exact appointment impact; commit preserves existing appointments. Uncertain writes recover via the same key or /operations/{operationId}.
Authentication
ManagementCredential
Credential rules
One server-only owner-issued wbm_ API key can carry both management and integration permissions. Additional permissions require an explicit owner-issued grant. GET /v1/management returns the management discovery view, which may be empty for a booking-only key. For credentials with appointments:read, this discovery view omits whatsapp-templates:read, whatsapp-templates:write, whatsapp-profile:read and whatsapp-profile:write to preserve calendar-client compatibility. Discover these grants through GET /v1/management/messaging-capabilities. Template/profile command authorization still uses the stored grants. Server-only owner-issued Management authority with explicit application permissions. Calling this API does not expand a credential's grants. contacts:read/write/block/sync/fields:read/fields:write are separate approvals for canonical business contacts; fields also require current typed owner grants. contacts:record remains contact recording/recovery only. These grants create no customer phone proof, booking authority, messaging consent or automatic synchronization. Hours/blocks retain their independent resource grants. booking-policy:read/write separately delegate whole-business booking settings, without schedule/provider grants; write requires read. They preserve existing appointments and create no duration-rewrite authority. Provider duration policy additionally requires explicit provider-booking-policy:read/write and exact current providerIds; booking-duration:rewrite is separately approved and does not itself grant policy read/write. Service catalogue requires explicit services:read/write, independent of provider/calendar/schedule resources; write requires read. These operations do not expand an existing credential's grants. Public presentation and reviewed service selection require explicit website-content:read/write; write requires read, independently from services:* and provider resources. Existing provider metadata/activity/assignment additionally requires providers:read/write and a nonempty explicit current providerIds grant; write requires read. This grants no provider creation, deletion, login, invitation or schedule authority. WhatsApp template/profile management requires separate whatsapp-templates:read, whatsapp-templates:write, whatsapp-profile:read and whatsapp-profile:write application scopes. Write requires its matching read scope. These grants require explicit owner approval; Meta OAuth permissions remain separate.
Required application permissions
hours:write
The credential must also explicitly grant the requested business or provider resource.
Request
Idempotency and recovery
Persist one UUID and the exact request before sending. After an uncertain result, retain that UUID, body and preconditions; do not create a replacement operation just to retry.
resourcepath · stringRequiredbusiness or allowed provider UUID
Format and constraints
{ "type": "string" }Idempotency-Keyheader · stringRequiredReuse the identical UUID for an unknown result. Booking commit must use operationId returned by the persisted intent.
Format and constraints
{ "type": "string", "format": "uuid" }If-Matchheader · stringRequiredExact strong quoted version returned by the relevant resource; never weak or *. Customer: "1". Schedule: "b1"/"b1:p2". Block: "v1".
Format and constraints
{ "type": "string", "pattern": "^\"b[1-9][0-9]*(?::p[1-9][0-9]*)?\"$" }
Request body · required
application/json · PreviewCommit
-
previewIdstring · uuidRequired -
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"previewId": {
"type": "string",
"format": "uuid"
}
},
"required": [
"previewId"
]
} Successful responses
200 · ScheduleResult
application/json · ScheduleResult
-
receiptobjectRequiredView nested fields
-
operationIdstring · uuidRequired -
scheduleallOf (object & unspecified)RequiredAll of these schema rules apply together.
View nested fields
-
allOf 1objectSchema branchView branch fields and rules
-
resourceIdstringRequired -
versionstringRequiredpattern:"^b[1-9][0-9]*(?::p[1-9][0-9]*)?$" -
timezonestringRequired -
modestringRequiredAllowed values:
["inherit","override"] -
hoursanyOf (object | null)RequiredAt least one of these variants must match.
View nested fields
-
anyOf 1objectSchema branchView branch fields and rules
-
sundayobject; allOf (unspecified)Required in this branchAll of these schema rules apply together.
View nested fields
-
enabledbooleanRequired in this branch -
openstringOptional in this branchpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
closestringOptional in this branchpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
breaksarrayOptional in this branchmaxItems:10View nested fields
-
[]objectArray itemView nested fields
-
startstringRequired in this branchpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
endstringRequired in this branchpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
additionalPropertiesno value allowedSchema rule
-
-
-
allOf 1unspecifiedSchema branchView branch fields and rules
-
ifobjectSchema ruleView branch fields and rules
-
enabledbooleanCondition predicateValue:
true
-
-
thenunspecifiedSchema ruleView branch fields and rules
-
openunspecifiedRequired in this branchPresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
closeunspecifiedRequired in this branchPresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
-
-
additionalPropertiesno value allowedSchema rule
-
-
mondayobject; allOf (unspecified)Required in this branchAll of these schema rules apply together.
View nested fields
-
enabledbooleanRequired in this branch -
openstringOptional in this branchpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
closestringOptional in this branchpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
breaksarrayOptional in this branchmaxItems:10View nested fields
-
[]objectArray itemView nested fields
-
startstringRequired in this branchpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
endstringRequired in this branchpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
additionalPropertiesno value allowedSchema rule
-
-
-
allOf 1unspecifiedSchema branchView branch fields and rules
-
ifobjectSchema ruleView branch fields and rules
-
enabledbooleanCondition predicateValue:
true
-
-
thenunspecifiedSchema ruleView branch fields and rules
-
openunspecifiedRequired in this branchPresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
closeunspecifiedRequired in this branchPresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
-
-
additionalPropertiesno value allowedSchema rule
-
-
tuesdayobject; allOf (unspecified)Required in this branchAll of these schema rules apply together.
View nested fields
-
enabledbooleanRequired in this branch -
openstringOptional in this branchpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
closestringOptional in this branchpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
breaksarrayOptional in this branchmaxItems:10View nested fields
-
[]objectArray itemView nested fields
-
startstringRequired in this branchpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
endstringRequired in this branchpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
additionalPropertiesno value allowedSchema rule
-
-
-
allOf 1unspecifiedSchema branchView branch fields and rules
-
ifobjectSchema ruleView branch fields and rules
-
enabledbooleanCondition predicateValue:
true
-
-
thenunspecifiedSchema ruleView branch fields and rules
-
openunspecifiedRequired in this branchPresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
closeunspecifiedRequired in this branchPresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
-
-
additionalPropertiesno value allowedSchema rule
-
-
wednesdayobject; allOf (unspecified)Required in this branchAll of these schema rules apply together.
View nested fields
-
enabledbooleanRequired in this branch -
openstringOptional in this branchpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
closestringOptional in this branchpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
breaksarrayOptional in this branchmaxItems:10View nested fields
-
[]objectArray itemView nested fields
-
startstringRequired in this branchpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
endstringRequired in this branchpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
additionalPropertiesno value allowedSchema rule
-
-
-
allOf 1unspecifiedSchema branchView branch fields and rules
-
ifobjectSchema ruleView branch fields and rules
-
enabledbooleanCondition predicateValue:
true
-
-
thenunspecifiedSchema ruleView branch fields and rules
-
openunspecifiedRequired in this branchPresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
closeunspecifiedRequired in this branchPresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
-
-
additionalPropertiesno value allowedSchema rule
-
-
thursdayobject; allOf (unspecified)Required in this branchAll of these schema rules apply together.
View nested fields
-
enabledbooleanRequired in this branch -
openstringOptional in this branchpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
closestringOptional in this branchpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
breaksarrayOptional in this branchmaxItems:10View nested fields
-
[]objectArray itemView nested fields
-
startstringRequired in this branchpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
endstringRequired in this branchpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
additionalPropertiesno value allowedSchema rule
-
-
-
allOf 1unspecifiedSchema branchView branch fields and rules
-
ifobjectSchema ruleView branch fields and rules
-
enabledbooleanCondition predicateValue:
true
-
-
thenunspecifiedSchema ruleView branch fields and rules
-
openunspecifiedRequired in this branchPresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
closeunspecifiedRequired in this branchPresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
-
-
additionalPropertiesno value allowedSchema rule
-
-
fridayobject; allOf (unspecified)Required in this branchAll of these schema rules apply together.
View nested fields
-
enabledbooleanRequired in this branch -
openstringOptional in this branchpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
closestringOptional in this branchpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
breaksarrayOptional in this branchmaxItems:10View nested fields
-
[]objectArray itemView nested fields
-
startstringRequired in this branchpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
endstringRequired in this branchpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
additionalPropertiesno value allowedSchema rule
-
-
-
allOf 1unspecifiedSchema branchView branch fields and rules
-
ifobjectSchema ruleView branch fields and rules
-
enabledbooleanCondition predicateValue:
true
-
-
thenunspecifiedSchema ruleView branch fields and rules
-
openunspecifiedRequired in this branchPresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
closeunspecifiedRequired in this branchPresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
-
-
additionalPropertiesno value allowedSchema rule
-
-
saturdayobject; allOf (unspecified)Required in this branchAll of these schema rules apply together.
View nested fields
-
enabledbooleanRequired in this branch -
openstringOptional in this branchpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
closestringOptional in this branchpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
breaksarrayOptional in this branchmaxItems:10View nested fields
-
[]objectArray itemView nested fields
-
startstringRequired in this branchpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
endstringRequired in this branchpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
additionalPropertiesno value allowedSchema rule
-
-
-
allOf 1unspecifiedSchema branchView branch fields and rules
-
ifobjectSchema ruleView branch fields and rules
-
enabledbooleanCondition predicateValue:
true
-
-
thenunspecifiedSchema ruleView branch fields and rules
-
openunspecifiedRequired in this branchPresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
closeunspecifiedRequired in this branchPresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
-
-
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
-
-
anyOf 2nullSchema branch
-
-
effectiveHoursobjectRequiredView nested fields
-
sundayobject; allOf (unspecified)RequiredAll of these schema rules apply together.
View nested fields
-
enabledbooleanRequired -
openstringOptionalpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
closestringOptionalpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
breaksarrayOptionalmaxItems:10View nested fields
-
[]objectArray itemView nested fields
-
startstringRequiredpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
endstringRequiredpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
additionalPropertiesno value allowedSchema rule
-
-
-
allOf 1unspecifiedSchema branchView branch fields and rules
-
ifobjectSchema ruleView branch fields and rules
-
enabledbooleanCondition predicateValue:
true
-
-
thenunspecifiedSchema ruleView branch fields and rules
-
openunspecifiedRequired in this branchPresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
closeunspecifiedRequired in this branchPresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
-
-
additionalPropertiesno value allowedSchema rule
-
-
mondayobject; allOf (unspecified)RequiredAll of these schema rules apply together.
View nested fields
-
enabledbooleanRequired -
openstringOptionalpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
closestringOptionalpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
breaksarrayOptionalmaxItems:10View nested fields
-
[]objectArray itemView nested fields
-
startstringRequiredpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
endstringRequiredpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
additionalPropertiesno value allowedSchema rule
-
-
-
allOf 1unspecifiedSchema branchView branch fields and rules
-
ifobjectSchema ruleView branch fields and rules
-
enabledbooleanCondition predicateValue:
true
-
-
thenunspecifiedSchema ruleView branch fields and rules
-
openunspecifiedRequired in this branchPresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
closeunspecifiedRequired in this branchPresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
-
-
additionalPropertiesno value allowedSchema rule
-
-
tuesdayobject; allOf (unspecified)RequiredAll of these schema rules apply together.
View nested fields
-
enabledbooleanRequired -
openstringOptionalpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
closestringOptionalpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
breaksarrayOptionalmaxItems:10View nested fields
-
[]objectArray itemView nested fields
-
startstringRequiredpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
endstringRequiredpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
additionalPropertiesno value allowedSchema rule
-
-
-
allOf 1unspecifiedSchema branchView branch fields and rules
-
ifobjectSchema ruleView branch fields and rules
-
enabledbooleanCondition predicateValue:
true
-
-
thenunspecifiedSchema ruleView branch fields and rules
-
openunspecifiedRequired in this branchPresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
closeunspecifiedRequired in this branchPresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
-
-
additionalPropertiesno value allowedSchema rule
-
-
wednesdayobject; allOf (unspecified)RequiredAll of these schema rules apply together.
View nested fields
-
enabledbooleanRequired -
openstringOptionalpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
closestringOptionalpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
breaksarrayOptionalmaxItems:10View nested fields
-
[]objectArray itemView nested fields
-
startstringRequiredpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
endstringRequiredpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
additionalPropertiesno value allowedSchema rule
-
-
-
allOf 1unspecifiedSchema branchView branch fields and rules
-
ifobjectSchema ruleView branch fields and rules
-
enabledbooleanCondition predicateValue:
true
-
-
thenunspecifiedSchema ruleView branch fields and rules
-
openunspecifiedRequired in this branchPresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
closeunspecifiedRequired in this branchPresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
-
-
additionalPropertiesno value allowedSchema rule
-
-
thursdayobject; allOf (unspecified)RequiredAll of these schema rules apply together.
View nested fields
-
enabledbooleanRequired -
openstringOptionalpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
closestringOptionalpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
breaksarrayOptionalmaxItems:10View nested fields
-
[]objectArray itemView nested fields
-
startstringRequiredpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
endstringRequiredpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
additionalPropertiesno value allowedSchema rule
-
-
-
allOf 1unspecifiedSchema branchView branch fields and rules
-
ifobjectSchema ruleView branch fields and rules
-
enabledbooleanCondition predicateValue:
true
-
-
thenunspecifiedSchema ruleView branch fields and rules
-
openunspecifiedRequired in this branchPresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
closeunspecifiedRequired in this branchPresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
-
-
additionalPropertiesno value allowedSchema rule
-
-
fridayobject; allOf (unspecified)RequiredAll of these schema rules apply together.
View nested fields
-
enabledbooleanRequired -
openstringOptionalpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
closestringOptionalpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
breaksarrayOptionalmaxItems:10View nested fields
-
[]objectArray itemView nested fields
-
startstringRequiredpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
endstringRequiredpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
additionalPropertiesno value allowedSchema rule
-
-
-
allOf 1unspecifiedSchema branchView branch fields and rules
-
ifobjectSchema ruleView branch fields and rules
-
enabledbooleanCondition predicateValue:
true
-
-
thenunspecifiedSchema ruleView branch fields and rules
-
openunspecifiedRequired in this branchPresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
closeunspecifiedRequired in this branchPresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
-
-
additionalPropertiesno value allowedSchema rule
-
-
saturdayobject; allOf (unspecified)RequiredAll of these schema rules apply together.
View nested fields
-
enabledbooleanRequired -
openstringOptionalpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
closestringOptionalpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
breaksarrayOptionalmaxItems:10View nested fields
-
[]objectArray itemView nested fields
-
startstringRequiredpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
endstringRequiredpattern:"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" -
additionalPropertiesno value allowedSchema rule
-
-
-
allOf 1unspecifiedSchema branchView branch fields and rules
-
ifobjectSchema ruleView branch fields and rules
-
enabledbooleanCondition predicateValue:
true
-
-
thenunspecifiedSchema ruleView branch fields and rules
-
openunspecifiedRequired in this branchPresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
closeunspecifiedRequired in this branchPresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
-
-
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
-
-
allOf 2unspecifiedSchema branchSchedule immediately after this operation was accepted. A replay or management recovery can return this historical state after later changes.
-
-
preservedAppointmentCountintegerRequiredminimum:0 -
additionalPropertiesno value allowedSchema rule
-
-
replayedbooleanRequired -
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"properties": {
"receipt": {
"type": "object",
"properties": {
"operationId": {
"type": "string",
"format": "uuid"
},
"schedule": {
"allOf": [
{
"type": "object",
"properties": {
"resourceId": {
"type": "string"
},
"version": {
"type": "string",
"pattern": "^b[1-9][0-9]*(?::p[1-9][0-9]*)?$"
},
"timezone": {
"type": "string"
},
"mode": {
"enum": [
"inherit",
"override"
]
},
"hours": {
"anyOf": [
{
"type": "object",
"properties": {
"sunday": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
},
"open": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"close": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"breaks": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"start": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"end": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
}
},
"required": [
"start",
"end"
]
},
"maxItems": 10
}
},
"required": [
"enabled"
],
"allOf": [
{
"if": {
"properties": {
"enabled": {
"const": true
}
}
},
"then": {
"required": [
"open",
"close"
]
}
}
]
},
"monday": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
},
"open": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"close": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"breaks": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"start": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"end": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
}
},
"required": [
"start",
"end"
]
},
"maxItems": 10
}
},
"required": [
"enabled"
],
"allOf": [
{
"if": {
"properties": {
"enabled": {
"const": true
}
}
},
"then": {
"required": [
"open",
"close"
]
}
}
]
},
"tuesday": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
},
"open": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"close": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"breaks": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"start": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"end": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
}
},
"required": [
"start",
"end"
]
},
"maxItems": 10
}
},
"required": [
"enabled"
],
"allOf": [
{
"if": {
"properties": {
"enabled": {
"const": true
}
}
},
"then": {
"required": [
"open",
"close"
]
}
}
]
},
"wednesday": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
},
"open": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"close": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"breaks": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"start": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"end": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
}
},
"required": [
"start",
"end"
]
},
"maxItems": 10
}
},
"required": [
"enabled"
],
"allOf": [
{
"if": {
"properties": {
"enabled": {
"const": true
}
}
},
"then": {
"required": [
"open",
"close"
]
}
}
]
},
"thursday": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
},
"open": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"close": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"breaks": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"start": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"end": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
}
},
"required": [
"start",
"end"
]
},
"maxItems": 10
}
},
"required": [
"enabled"
],
"allOf": [
{
"if": {
"properties": {
"enabled": {
"const": true
}
}
},
"then": {
"required": [
"open",
"close"
]
}
}
]
},
"friday": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
},
"open": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"close": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"breaks": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"start": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"end": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
}
},
"required": [
"start",
"end"
]
},
"maxItems": 10
}
},
"required": [
"enabled"
],
"allOf": [
{
"if": {
"properties": {
"enabled": {
"const": true
}
}
},
"then": {
"required": [
"open",
"close"
]
}
}
]
},
"saturday": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
},
"open": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"close": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"breaks": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"start": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"end": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
}
},
"required": [
"start",
"end"
]
},
"maxItems": 10
}
},
"required": [
"enabled"
],
"allOf": [
{
"if": {
"properties": {
"enabled": {
"const": true
}
}
},
"then": {
"required": [
"open",
"close"
]
}
}
]
}
},
"additionalProperties": false,
"required": [
"sunday",
"monday",
"tuesday",
"wednesday",
"thursday",
"friday",
"saturday"
]
},
{
"type": "null"
}
]
},
"effectiveHours": {
"type": "object",
"properties": {
"sunday": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
},
"open": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"close": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"breaks": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"start": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"end": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
}
},
"required": [
"start",
"end"
]
},
"maxItems": 10
}
},
"required": [
"enabled"
],
"allOf": [
{
"if": {
"properties": {
"enabled": {
"const": true
}
}
},
"then": {
"required": [
"open",
"close"
]
}
}
]
},
"monday": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
},
"open": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"close": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"breaks": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"start": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"end": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
}
},
"required": [
"start",
"end"
]
},
"maxItems": 10
}
},
"required": [
"enabled"
],
"allOf": [
{
"if": {
"properties": {
"enabled": {
"const": true
}
}
},
"then": {
"required": [
"open",
"close"
]
}
}
]
},
"tuesday": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
},
"open": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"close": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"breaks": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"start": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"end": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
}
},
"required": [
"start",
"end"
]
},
"maxItems": 10
}
},
"required": [
"enabled"
],
"allOf": [
{
"if": {
"properties": {
"enabled": {
"const": true
}
}
},
"then": {
"required": [
"open",
"close"
]
}
}
]
},
"wednesday": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
},
"open": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"close": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"breaks": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"start": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"end": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
}
},
"required": [
"start",
"end"
]
},
"maxItems": 10
}
},
"required": [
"enabled"
],
"allOf": [
{
"if": {
"properties": {
"enabled": {
"const": true
}
}
},
"then": {
"required": [
"open",
"close"
]
}
}
]
},
"thursday": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
},
"open": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"close": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"breaks": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"start": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"end": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
}
},
"required": [
"start",
"end"
]
},
"maxItems": 10
}
},
"required": [
"enabled"
],
"allOf": [
{
"if": {
"properties": {
"enabled": {
"const": true
}
}
},
"then": {
"required": [
"open",
"close"
]
}
}
]
},
"friday": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
},
"open": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"close": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"breaks": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"start": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"end": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
}
},
"required": [
"start",
"end"
]
},
"maxItems": 10
}
},
"required": [
"enabled"
],
"allOf": [
{
"if": {
"properties": {
"enabled": {
"const": true
}
}
},
"then": {
"required": [
"open",
"close"
]
}
}
]
},
"saturday": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
},
"open": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"close": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"breaks": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"start": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"end": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
}
},
"required": [
"start",
"end"
]
},
"maxItems": 10
}
},
"required": [
"enabled"
],
"allOf": [
{
"if": {
"properties": {
"enabled": {
"const": true
}
}
},
"then": {
"required": [
"open",
"close"
]
}
}
]
}
},
"additionalProperties": false,
"required": [
"sunday",
"monday",
"tuesday",
"wednesday",
"thursday",
"friday",
"saturday"
]
}
},
"required": [
"resourceId",
"version",
"timezone",
"mode",
"hours",
"effectiveHours"
],
"additionalProperties": false
},
{
"description": "Schedule immediately after this operation was accepted. A replay or management recovery can return this historical state after later changes."
}
]
},
"preservedAppointmentCount": {
"type": "integer",
"minimum": 0
}
},
"required": [
"operationId",
"schedule",
"preservedAppointmentCount"
],
"additionalProperties": false
},
"replayed": {
"type": "boolean"
}
},
"required": [
"receipt",
"replayed"
],
"additionalProperties": false
} Errors and recovery
Input validation
413REQUEST_TOO_LARGEThe JSON request body exceeds 8,192 bytes.
415JSON_REQUIREDSend Content-Type: application/json.
Error responses declared in the contract (10)
The preview contract shares generic error definitions across operations. This list is not an exhaustive list of runtime errors.
401 · Structured error.
application/json · Error
-
errorobjectRequiredView nested fields
-
codestringRequired -
requestIdstring · uuidRequired -
retryAfterintegerOptionalminimum:1 -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"requestId": {
"type": "string",
"format": "uuid"
},
"retryAfter": {
"type": "integer",
"minimum": 1
}
},
"required": [
"code",
"requestId"
]
}
},
"required": [
"error"
]
} 403 · Structured error.
application/json · Error
-
errorobjectRequiredView nested fields
-
codestringRequired -
requestIdstring · uuidRequired -
retryAfterintegerOptionalminimum:1 -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"requestId": {
"type": "string",
"format": "uuid"
},
"retryAfter": {
"type": "integer",
"minimum": 1
}
},
"required": [
"code",
"requestId"
]
}
},
"required": [
"error"
]
} 404 · Structured error.
application/json · Error
-
errorobjectRequiredView nested fields
-
codestringRequired -
requestIdstring · uuidRequired -
retryAfterintegerOptionalminimum:1 -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"requestId": {
"type": "string",
"format": "uuid"
},
"retryAfter": {
"type": "integer",
"minimum": 1
}
},
"required": [
"code",
"requestId"
]
}
},
"required": [
"error"
]
} 409 · Structured error.
application/json · Error
-
errorobjectRequiredView nested fields
-
codestringRequired -
requestIdstring · uuidRequired -
retryAfterintegerOptionalminimum:1 -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"requestId": {
"type": "string",
"format": "uuid"
},
"retryAfter": {
"type": "integer",
"minimum": 1
}
},
"required": [
"code",
"requestId"
]
}
},
"required": [
"error"
]
} 410 · Structured error.
application/json · Error
-
errorobjectRequiredView nested fields
-
codestringRequired -
requestIdstring · uuidRequired -
retryAfterintegerOptionalminimum:1 -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"requestId": {
"type": "string",
"format": "uuid"
},
"retryAfter": {
"type": "integer",
"minimum": 1
}
},
"required": [
"code",
"requestId"
]
}
},
"required": [
"error"
]
} 412 · Structured error.
application/json · Error
-
errorobjectRequiredView nested fields
-
codestringRequired -
requestIdstring · uuidRequired -
retryAfterintegerOptionalminimum:1 -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"requestId": {
"type": "string",
"format": "uuid"
},
"retryAfter": {
"type": "integer",
"minimum": 1
}
},
"required": [
"code",
"requestId"
]
}
},
"required": [
"error"
]
} 422 · Structured error.
application/json · Error
-
errorobjectRequiredView nested fields
-
codestringRequired -
requestIdstring · uuidRequired -
retryAfterintegerOptionalminimum:1 -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"requestId": {
"type": "string",
"format": "uuid"
},
"retryAfter": {
"type": "integer",
"minimum": 1
}
},
"required": [
"code",
"requestId"
]
}
},
"required": [
"error"
]
} 428 · Structured error.
application/json · Error
-
errorobjectRequiredView nested fields
-
codestringRequired -
requestIdstring · uuidRequired -
retryAfterintegerOptionalminimum:1 -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"requestId": {
"type": "string",
"format": "uuid"
},
"retryAfter": {
"type": "integer",
"minimum": 1
}
},
"required": [
"code",
"requestId"
]
}
},
"required": [
"error"
]
} 429 · Rate limit; honor Retry-After.
application/json · Error
-
errorobjectRequiredView nested fields
-
codestringRequired -
requestIdstring · uuidRequired -
retryAfterintegerOptionalminimum:1 -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"requestId": {
"type": "string",
"format": "uuid"
},
"retryAfter": {
"type": "integer",
"minimum": 1
}
},
"required": [
"code",
"requestId"
]
}
},
"required": [
"error"
]
} 503 · Outcome may be unknown. Keep operation key and reconcile.
application/json · Error
-
errorobjectRequiredView nested fields
-
codestringRequired -
requestIdstring · uuidRequired -
retryAfterintegerOptionalminimum:1 -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"requestId": {
"type": "string",
"format": "uuid"
},
"retryAfter": {
"type": "integer",
"minimum": 1
}
},
"required": [
"code",
"requestId"
]
}
},
"required": [
"error"
]
}