/v1/management/service-publication/operations/{operationId}Behavior
Read the original accepted selection receipt and freshly authorized current state. If the current catalogue later exceeds 1,000 options, current is null with currentUnavailableReason:catalogue_too_large; the accepted receipt remains available. not_found does not cancel an in-flight command. Retain the exact original UUID and request.
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
website-content:readwebsite-content:write
Request
operationIdpath · stringRequiredFormat and constraints
{ "type": "string", "format": "uuid" }
Successful responses
200 · BusinessPublicationOperation
Committed receipt or genuinely absent authorized operation.
Cache-Control
{
"const": "no-store"
} application/json · BusinessPublicationOperation
Read-only lookup under current read+write authority in the original integration/resource namespace. not_found means no accepted operation was found; preserve the original request and UUID, never auto-create another intent.
Exactly one of these variants must match.
-
oneOf 1 · status = "not_found"objectSchema branchView branch fields and rules
-
statusstringRequired in this branchValue:
"not_found" -
additionalPropertiesno value allowedSchema rule
-
-
oneOf 2 · status = "committed"object; oneOf (object | object)Schema branchExactly one of these variants must match.
View branch fields and rules
-
statusstringRequired in this branchValue:
"committed" -
receiptobjectRequired in this branchImmutable accepted state for the original UUID.
View nested fields
-
operationIdstring · uuidRequired in this branch -
stateobjectRequired in this branchComplete bounded owner-reviewed publication options. More than1,000 tenant services refuses CATALOGUE_TOO_LARGE; no partial editable list. Selected IDs are a canonical unique set of at most100, independent of catalogue order. Eligibility is current; a selected service can later become ineligible.
View nested fields
-
versionintegerRequired in this branchminimum:0maximum:9007199254740991 -
serviceIdsarrayRequired in this branchmaxItems:100uniqueItems:trueView nested fields
-
[]string · uuidArray item
-
-
servicesarrayRequired in this branchmaxItems:1000View nested fields
-
[]objectArray itemView nested fields
-
serviceIdstring · uuidRequired in this branch -
nameobjectRequired in this branchView nested fields
-
hestringOptional in this branch -
arstringOptional in this branch -
enstringOptional in this branch -
additionalPropertiesno value allowedSchema rule
-
-
eligiblebooleanRequired in this branch -
additionalPropertiesno value allowedSchema rule
-
-
-
truncatedbooleanRequired in this branchValue:
false -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
-
-
currentanyOf (object | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1 · truncated = falseobjectSchema branchComplete bounded owner-reviewed publication options. More than1,000 tenant services refuses CATALOGUE_TOO_LARGE; no partial editable list. Selected IDs are a canonical unique set of at most100, independent of catalogue order. Eligibility is current; a selected service can later become ineligible.
View branch fields and rules
-
versionintegerRequired in this branchminimum:0maximum:9007199254740991 -
serviceIdsarrayRequired in this branchmaxItems:100uniqueItems:trueView nested fields
-
[]string · uuidArray item
-
-
servicesarrayRequired in this branchmaxItems:1000View nested fields
-
[]objectArray itemView nested fields
-
serviceIdstring · uuidRequired in this branch -
nameobjectRequired in this branchView nested fields
-
hestringOptional in this branch -
arstringOptional in this branch -
enstringOptional in this branch -
additionalPropertiesno value allowedSchema rule
-
-
eligiblebooleanRequired in this branch -
additionalPropertiesno value allowedSchema rule
-
-
-
truncatedbooleanRequired in this branchValue:
false -
additionalPropertiesno value allowedSchema rule
-
-
anyOf 2nullSchema branch
-
-
currentUnavailableReasonnull | stringRequired in this branchAllowed values:
[null,"catalogue_too_large"] -
replayedbooleanRequired in this branch -
oneOf 1objectSchema branchView branch fields and rules
-
currentobjectOptional in this branchComplete bounded owner-reviewed publication options. More than1,000 tenant services refuses CATALOGUE_TOO_LARGE; no partial editable list. Selected IDs are a canonical unique set of at most100, independent of catalogue order. Eligibility is current; a selected service can later become ineligible.
View nested fields
-
versionintegerRequired in this branchminimum:0maximum:9007199254740991 -
serviceIdsarrayRequired in this branchmaxItems:100uniqueItems:trueView nested fields
-
[]string · uuidArray item
-
-
servicesarrayRequired in this branchmaxItems:1000View nested fields
-
[]objectArray itemView nested fields
-
serviceIdstring · uuidRequired in this branch -
nameobjectRequired in this branchView nested fields
-
hestringOptional in this branch -
arstringOptional in this branch -
enstringOptional in this branch -
additionalPropertiesno value allowedSchema rule
-
-
eligiblebooleanRequired in this branch -
additionalPropertiesno value allowedSchema rule
-
-
-
truncatedbooleanRequired in this branchValue:
false -
additionalPropertiesno value allowedSchema rule
-
-
currentUnavailableReasonnullOptional in this branch
-
-
oneOf 2 · currentUnavailableReason = "catalogue_too_large"objectSchema branchView branch fields and rules
-
currentnullOptional in this branch -
currentUnavailableReasonstringOptional in this branchValue:
"catalogue_too_large"
-
-
additionalPropertiesno value allowedSchema rule
-
Complete schema and nested fields
{
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"properties": {
"status": {
"const": "not_found"
}
},
"required": [
"status"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"status": {
"const": "committed"
},
"receipt": {
"type": "object",
"additionalProperties": false,
"properties": {
"operationId": {
"type": "string",
"format": "uuid"
},
"state": {
"type": "object",
"additionalProperties": false,
"properties": {
"version": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"serviceIds": {
"type": "array",
"maxItems": 100,
"uniqueItems": true,
"items": {
"type": "string",
"format": "uuid"
}
},
"services": {
"type": "array",
"maxItems": 1000,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"serviceId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "object",
"additionalProperties": false,
"properties": {
"he": {
"type": "string"
},
"ar": {
"type": "string"
},
"en": {
"type": "string"
}
}
},
"eligible": {
"type": "boolean"
}
},
"required": [
"serviceId",
"name",
"eligible"
]
}
},
"truncated": {
"const": false
}
},
"required": [
"version",
"serviceIds",
"services",
"truncated"
],
"description": "Complete bounded owner-reviewed publication options. More than1,000 tenant services refuses CATALOGUE_TOO_LARGE; no partial editable list. Selected IDs are a canonical unique set of at most100, independent of catalogue order. Eligibility is current; a selected service can later become ineligible."
}
},
"required": [
"operationId",
"state"
],
"description": "Immutable accepted state for the original UUID."
},
"current": {
"anyOf": [
{
"type": "object",
"additionalProperties": false,
"properties": {
"version": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"serviceIds": {
"type": "array",
"maxItems": 100,
"uniqueItems": true,
"items": {
"type": "string",
"format": "uuid"
}
},
"services": {
"type": "array",
"maxItems": 1000,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"serviceId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "object",
"additionalProperties": false,
"properties": {
"he": {
"type": "string"
},
"ar": {
"type": "string"
},
"en": {
"type": "string"
}
}
},
"eligible": {
"type": "boolean"
}
},
"required": [
"serviceId",
"name",
"eligible"
]
}
},
"truncated": {
"const": false
}
},
"required": [
"version",
"serviceIds",
"services",
"truncated"
],
"description": "Complete bounded owner-reviewed publication options. More than1,000 tenant services refuses CATALOGUE_TOO_LARGE; no partial editable list. Selected IDs are a canonical unique set of at most100, independent of catalogue order. Eligibility is current; a selected service can later become ineligible."
},
{
"type": "null"
}
]
},
"currentUnavailableReason": {
"enum": [
null,
"catalogue_too_large"
]
},
"replayed": {
"type": "boolean"
}
},
"required": [
"status",
"receipt",
"current",
"currentUnavailableReason",
"replayed"
],
"oneOf": [
{
"properties": {
"current": {
"type": "object",
"additionalProperties": false,
"properties": {
"version": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"serviceIds": {
"type": "array",
"maxItems": 100,
"uniqueItems": true,
"items": {
"type": "string",
"format": "uuid"
}
},
"services": {
"type": "array",
"maxItems": 1000,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"serviceId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "object",
"additionalProperties": false,
"properties": {
"he": {
"type": "string"
},
"ar": {
"type": "string"
},
"en": {
"type": "string"
}
}
},
"eligible": {
"type": "boolean"
}
},
"required": [
"serviceId",
"name",
"eligible"
]
}
},
"truncated": {
"const": false
}
},
"required": [
"version",
"serviceIds",
"services",
"truncated"
],
"description": "Complete bounded owner-reviewed publication options. More than1,000 tenant services refuses CATALOGUE_TOO_LARGE; no partial editable list. Selected IDs are a canonical unique set of at most100, independent of catalogue order. Eligibility is current; a selected service can later become ineligible."
},
"currentUnavailableReason": {
"type": "null"
}
}
},
{
"properties": {
"current": {
"type": "null"
},
"currentUnavailableReason": {
"const": "catalogue_too_large"
}
}
}
]
}
],
"description": "Read-only lookup under current read+write authority in the original integration/resource namespace. not_found means no accepted operation was found; preserve the original request and UUID, never auto-create another intent."
} 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 current 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 scope/access denied or Origin present.
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 · OPERATION_CONFLICT, CATALOGUE_TOO_LARGE or current service eligibility/reference conflict.
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 · VERSION_CONFLICT; refresh and review a new intent after resolving the original request.
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 · JSON body exceeds8KiB.
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 · JSON content type 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 · Invalid shape, URL, service IDs or exact 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 · Original If-Match or Idempotency-Key missing.
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 · Quota; Retry-After applies.
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 · Persistence/uncertain result; retain original request and recover.
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"
]
}