/v1/management/service-checkpointsBehavior
Whole-business service catalogue, including inactive services and advisory publication/delete state. Persist data, cursor and pending ACK in your own transaction first. Send the exact server-issued complete cursor with one operation UUID. Retain and repeat that identical request after an uncertain response. Receipt is historical; currentProjectionEpoch/bootstrapRequired describes current authority.
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
services:readservices:sync
Request
Idempotency-Keyheader · stringRequiredFormat and constraints
{ "type": "string", "format": "uuid" }
Request body · required
application/json
-
cursorstring · uuidRequired -
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"cursor": {
"type": "string",
"format": "uuid"
}
},
"required": [
"cursor"
]
} Successful responses
200 · BusinessDirectoryCheckpoint
Current authorized result.
Cache-Control
{
"const": "no-store"
} application/json · BusinessDirectoryCheckpoint
ACK only after committing the page and nextCursor in your own database. A snapshot page with hasMore:true returns a partial cursor that cannot be acknowledged. A snapshot page with hasMore:false returns a complete changes cursor. Every changes page nextCursor is acknowledgeable, including empty filtered pages and hasMore:true. Exact operation UUID/cursor replay returns an immutable receipt plus currentProjectionEpoch/bootstrapRequired. It does not prove the external copy correct. Progress never moves backwards. A validated new UUID for the already acknowledged identical cursor and sequence can return unchanged:true without creating another stored receipt or updating appliedAt. This confirms the current checkpoint; it does not durably reserve that new UUID. Previously accepted operation UUIDs are replayed or rejected for conflict first. Accepted checkpoint receipts are retained for at least 30 days and until their original cursor is no longer valid. An uncertain pending ACK must retain its original UUID and cursor; always honor currentProjectionEpoch and bootstrapRequired, including on replay.
-
receiptobjectRequiredImmutable acknowledgement of the applied sequence for one integration/projection epoch.
View nested fields
-
operationIdstring · uuidRequired -
cursorstring · uuidRequired -
sequenceintegerRequiredminimum:0maximum:9007199254740991 -
projectionEpochstringRequiredpattern:"^[a-f0-9]{64}$" -
appliedAtstring · date-timeRequired -
additionalPropertiesno value allowedSchema rule
-
-
currentProjectionEpochstringRequiredpattern:"^[a-f0-9]{64}$" -
bootstrapRequiredbooleanRequired -
replayedbooleanRequired -
unchangedbooleanOptionalTrue only for a successful current checkpoint confirmation that made no new durable receipt. Optional for compatibility.
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"receipt": {
"type": "object",
"additionalProperties": false,
"properties": {
"operationId": {
"type": "string",
"format": "uuid"
},
"cursor": {
"type": "string",
"format": "uuid"
},
"sequence": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"projectionEpoch": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"appliedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"operationId",
"cursor",
"sequence",
"projectionEpoch",
"appliedAt"
],
"description": "Immutable acknowledgement of the applied sequence for one integration/projection epoch."
},
"currentProjectionEpoch": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"bootstrapRequired": {
"type": "boolean"
},
"replayed": {
"type": "boolean"
},
"unchanged": {
"type": "boolean",
"description": "True only for a successful current checkpoint confirmation that made no new durable receipt. Optional for compatibility."
}
},
"required": [
"receipt",
"currentProjectionEpoch",
"bootstrapRequired",
"replayed"
],
"description": "ACK only after committing the page and nextCursor in your own database. A snapshot page with hasMore:true returns a partial cursor that cannot be acknowledged. A snapshot page with hasMore:false returns a complete changes cursor. Every changes page nextCursor is acknowledgeable, including empty filtered pages and hasMore:true. Exact operation UUID/cursor replay returns an immutable receipt plus currentProjectionEpoch/bootstrapRequired. It does not prove the external copy correct. Progress never moves backwards. A validated new UUID for the already acknowledged identical cursor and sequence can return unchanged:true without creating another stored receipt or updating appliedAt. This confirms the current checkpoint; it does not durably reserve that new UUID. Previously accepted operation UUIDs are replayed or rejected for conflict first. Accepted checkpoint receipts are retained for at least 30 days and until their original cursor is no longer valid. An uncertain pending ACK must retain its original UUID and cursor; always honor currentProjectionEpoch and bootstrapRequired, including on replay."
} Errors and recovery
Error responses declared in the contract (11)
The preview contract shares generic error definitions across operations. This list is not an exhaustive list of runtime errors.
401 · Missing, invalid or expired server Management credential.
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 · Current tenant, integration, scope or resource access refused. Browser Origin is refused.
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"
]
} 405 · Unsupported method.
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 · Authority projection changed, incomplete cursor, stale checkpoint or conflicting operation. Rebootstrap when required; never discard the original uncertain ACK.
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 · Cursor, membership or retained change history expired; restart bootstrap or a fresh customer query.
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"
]
} 413 · Request body exceeds this operation’s byte limit.
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"
]
} 415 · application/json required.
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 · Malformed request, cursor, query or precondition.
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 · Checkpoint requires Idempotency-Key.
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 · Request or snapshot limit reached; 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 · Temporary failure. Read operations can retry; retain an uncertain checkpoint’s original operation UUID and exact cursor.
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"
]
}