/v1/management/whatsapp-profile/operations/{operationId}/reconcileBehavior
Backend-only Management credential; no Origin header or caller-selected business/phone/WABA/token. Bodyless. A matching text-only patch settles committed; mismatch stays unknown. Unknown photo writes require native owner/super-admin review and cannot be proven by comparing a URL with an upload handle. A reviewed receipt is terminal and is returned without provider I/O. This API key cannot acknowledge or review its own uncertain write. Requires whatsapp-profile:read and whatsapp-profile:write. Current connection and provider prerequisites are checked separately; a stored grant does not establish readiness.
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
whatsapp-profile:readwhatsapp-profile:write
Request
operationIdpath · stringRequiredFormat and constraints
{ "type": "string", "format": "uuid" }
Successful responses
200 · WhatsappProfileOperation
Current authorized profile or operation result. Inspect the operation state; this endpoint does not send a customer message.
Cache-Control
{
"const": "no-store"
} application/json · WhatsappProfileOperation
One reserved provider write at most. An unresolved write blocks another profile operation on this connection. Pending ages to unknown after the claim window. Text-only reconciliation uses a provider read. A native owner/super-admin can explicitly review an uncertain operation: reviewed acknowledges uncertainty without claiming the provider applied it, permits a separately reviewed new PATCH with fresh ETag/UUID, and remains terminal for the original UUID. Server keys cannot perform this review.
All of these schema rules apply together.
-
operationIdstring · uuidRequired -
requestHashstringRequiredpattern:"^[a-f0-9]{64}$" -
statestringRequiredAllowed values:
["pending","committed","rejected","unknown","reviewed"] -
errorCodestring | nullRequiredpattern:"^[a-z_]{1,80}$" -
createdAtstring · date-timeRequired -
completedAtstring | null · date-timeRequired -
replayedbooleanRequired -
kindstringRequiredValue:
"profile" -
requestobjectRequiredView nested fields
-
expectedVersionstringRequiredpattern:"^wp[a-f0-9]{64}$" -
patchobjectRequiredChanged fields only. CRAD input caps; omitted fields are preserved. imageUploadId must be a ready current-binding business_profile image from the resumable image endpoint. Raw handles, URLs and caller-selected phone/WABA IDs are refused. about cannot be blank; vertical cannot be cleared.
minProperties:1View nested fields
-
aboutstringOptionalminLength:1maxLength:139 -
addressstringOptionalmaxLength:256 -
descriptionstringOptionalmaxLength:512 -
emailstringOptionalEmpty clears the value; a nonempty value must be a valid email address.
maxLength:128 -
websitesarrayOptionalmaxItems:2View nested fields
-
[]string · uriArray itemNo username/password.
pattern:"^https?://"maxLength:256
-
-
verticalstringOptionalAllowed values:
["UNDEFINED","OTHER","AUTO","BEAUTY","APPAREL","EDU","ENTERTAIN","EVENT_PLAN","FINANCE","GROCERY","GOVT","HOTEL","HEALTH","NONPROFIT","PROF_SERVICES","RETAIL","TRAVEL","RESTAURANT","NOT_A_BIZ"] -
imageUploadIdstring · uuidOptional -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
-
-
uploadnullRequired -
reviewedAtstring | null · date-timeOptionalTimestamp of an explicit native owner/super-admin review, otherwise null. reviewed releases the unresolved-write fence without claiming Meta applied the prior request. No reviewer identity is disclosed. Older producers may omit this member.
-
allOf 1unspecifiedSchema branchView branch fields and rules
-
ifobjectSchema ruleView branch fields and rules
-
statestringCondition predicateValue:
"reviewed"
-
-
thenobjectSchema ruleView branch fields and rules
-
reviewedAtstring · date-timeRequired in this branch
-
-
elseobjectSchema ruleView branch fields and rules
-
reviewedAtnullOptional in this branch
-
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"operationId": {
"type": "string",
"format": "uuid"
},
"requestHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"state": {
"enum": [
"pending",
"committed",
"rejected",
"unknown",
"reviewed"
]
},
"errorCode": {
"type": [
"string",
"null"
],
"pattern": "^[a-z_]{1,80}$"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"completedAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"replayed": {
"type": "boolean"
},
"kind": {
"const": "profile"
},
"request": {
"type": "object",
"additionalProperties": false,
"properties": {
"expectedVersion": {
"type": "string",
"pattern": "^wp[a-f0-9]{64}$"
},
"patch": {
"type": "object",
"additionalProperties": false,
"properties": {
"about": {
"type": "string",
"minLength": 1,
"maxLength": 139
},
"address": {
"type": "string",
"maxLength": 256
},
"description": {
"type": "string",
"maxLength": 512
},
"email": {
"type": "string",
"description": "Empty clears the value; a nonempty value must be a valid email address.",
"maxLength": 128
},
"websites": {
"type": "array",
"maxItems": 2,
"items": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"description": "No username/password.",
"maxLength": 256
}
},
"vertical": {
"enum": [
"UNDEFINED",
"OTHER",
"AUTO",
"BEAUTY",
"APPAREL",
"EDU",
"ENTERTAIN",
"EVENT_PLAN",
"FINANCE",
"GROCERY",
"GOVT",
"HOTEL",
"HEALTH",
"NONPROFIT",
"PROF_SERVICES",
"RETAIL",
"TRAVEL",
"RESTAURANT",
"NOT_A_BIZ"
]
},
"imageUploadId": {
"type": "string",
"format": "uuid"
}
},
"required": [],
"minProperties": 1,
"description": "Changed fields only. CRAD input caps; omitted fields are preserved. imageUploadId must be a ready current-binding business_profile image from the resumable image endpoint. Raw handles, URLs and caller-selected phone/WABA IDs are refused. about cannot be blank; vertical cannot be cleared."
}
},
"required": [
"expectedVersion",
"patch"
]
},
"upload": {
"type": "null"
},
"reviewedAt": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "Timestamp of an explicit native owner/super-admin review, otherwise null. reviewed releases the unresolved-write fence without claiming Meta applied the prior request. No reviewer identity is disclosed. Older producers may omit this member."
}
},
"required": [
"operationId",
"requestHash",
"state",
"errorCode",
"createdAt",
"completedAt",
"replayed",
"kind",
"request",
"upload"
],
"description": "One reserved provider write at most. An unresolved write blocks another profile operation on this connection. Pending ages to unknown after the claim window. Text-only reconciliation uses a provider read. A native owner/super-admin can explicitly review an uncertain operation: reviewed acknowledges uncertainty without claiming the provider applied it, permits a separately reviewed new PATCH with fresh ETag/UUID, and remains terminal for the original UUID. Server keys cannot perform this review.",
"allOf": [
{
"if": {
"properties": {
"state": {
"const": "reviewed"
}
},
"required": [
"state"
]
},
"then": {
"required": [
"reviewedAt"
],
"properties": {
"reviewedAt": {
"type": "string",
"format": "date-time"
}
}
},
"else": {
"properties": {
"reviewedAt": {
"type": "null"
}
}
}
}
]
} Errors and recovery
Error responses declared in the contract (9)
The preview contract shares generic error definitions across operations. This list is not an exhaustive list of runtime errors.
401 · Missing or invalid server credential.
Cache-Control
{
"const": "no-store"
} 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 · Scope, credential, integration or business authority denied; browser Origin is refused.
Cache-Control
{
"const": "no-store"
} 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 · Owned resource or usable same-purpose current-binding image not found.
Cache-Control
{
"const": "no-store"
} 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 HTTP method.
Cache-Control
{
"const": "no-store"
} 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 · Connection changed/blocked, conflicting operation UUID, unresolved write, expired claim or owner review required. No automatic provider redispatch.
Cache-Control
{
"const": "no-store"
} 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/unknown field, unsupported selector/query, UUID, precondition or template shape.
Cache-Control
{
"const": "no-store"
} 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 · Credential/request or local template rate limit; honor Retry-After when supplied.
Cache-Control
{
"const": "no-store"
} 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"
]
} 502 · Provider profile is unavailable or malformed.
Cache-Control
{
"const": "no-store"
} 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 · Configuration, provider or persistence unavailable; retain original operation identity because outcome may be uncertain.
Cache-Control
{
"const": "no-store"
} 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"
]
}