/v1/management/whatsapp-connectionBehavior
Saved status only: no Meta request. Display checkedAt and botActive separately. configured is a runtime gate, not business verification; connection:null does not establish that a legacy channel is absent. Healthy evidence and saved template approval do not prove delivery.
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-connection:read
Explicit whole-business connection observation. Provider/calendar selections do not narrow it. Installed flags do not grant permission; keep the Management key on your backend.
Request
No query parameters or request body. Use the credentials described above.
Successful responses
200 · BusinessWhatsappConnectionStatus
Current saved state; no Meta request.
Cache-Control
{
"const": "no-store"
} ETag · Quoted current connection version. Use this complete header for a new explicit check. An uncertain original command keeps its original If-Match. Absent on not_found.
{
"type": "string",
"pattern": "^\"wc[a-f0-9]{64}\"$"
} application/json · BusinessWhatsappConnectionStatus
Credential-bound whole-business saved connection view. A null connection means no supported saved Coexistence connection; it does not prove absence of a legacy WhatsApp channel. configured reflects manual-check runtime configuration, not business verification. No credentials, raw asset IDs or provider errors are exposed.
-
versionstringRequiredOpaque current connection version. Preserve the quoted ETag as If-Match. Do not construct, increment or substitute it on recovery.
pattern:"^wc[a-f0-9]{64}$" -
configuredbooleanRequired -
botActivebooleanRequired -
reconciliationAttemptIdanyOf (string | null)RequiredAt least one of these variants must match.
View nested fields
-
anyOf 1string · uuidSchema branch -
anyOf 2nullSchema branch
-
-
connectionanyOf (object | null)RequiredAt least one of these variants must match.
View nested fields
-
anyOf 1objectSchema branchView branch fields and rules
-
statestringRequired in this branchAllowed values:
["prepared","verified","ready","disconnected","blocked"] -
displayPhoneNumberanyOf (string | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1stringSchema branchmaxLength:64 -
anyOf 2nullSchema branch
-
-
verifiedAtanyOf (string | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1string · date-timeSchema branch -
anyOf 2nullSchema branch
-
-
generationintegerRequired in this branchminimum:0maximum:9007199254740991 -
currentBindingbooleanRequired in this branch -
outboundAllowedbooleanRequired in this branch -
lifecycleobjectRequired in this branchView nested fields
-
eventanyOf (string | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1stringSchema branchAllowed values:
["PARTNER_REMOVED","ACCOUNT_OFFBOARDED","ACCOUNT_RECONNECTED"] -
anyOf 2nullSchema branch
-
-
occurredAtanyOf (string | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1string · date-timeSchema branch -
anyOf 2nullSchema branch
-
-
receivedAtanyOf (string | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1string · date-timeSchema branch -
anyOf 2nullSchema branch
-
-
requiresVerificationbooleanRequired in this branch -
additionalPropertiesno value allowedSchema rule
-
-
stagesobjectRequired in this branchView nested fields
-
subscribestringRequired in this branchAllowed values:
["pending","running","succeeded","failed","unknown","not_requested"] -
contactsstringRequired in this branchAllowed values:
["pending","running","succeeded","failed","unknown","not_requested"] -
historystringRequired in this branchAllowed values:
["pending","running","succeeded","failed","unknown","not_requested"] -
additionalPropertiesno value allowedSchema rule
-
-
eventsReceivedintegerRequired in this branchminimum:0maximum:9007199254740991 -
historySharingStatusstringRequired in this branchAllowed values:
["unknown","declined","receiving","complete"] -
healthobjectRequired in this branchSaved health evidence and current action availability. Display checkedAt; current does not mean a new live observation was made by this GET. retryAt is nullable. Unknown is not healthy.
View nested fields
-
resultanyOf (string | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1stringSchema branchAllowed values:
["healthy","action_required","unknown"] -
anyOf 2nullSchema branch
-
-
reasonanyOf (string | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1stringSchema branchAllowed values:
["token_invalid","token_expired","app_mismatch","permissions_missing","asset_unavailable","not_coexistence","subscription_missing","provider_unavailable","provider_response_invalid","provider_rate_limited"] -
anyOf 2nullSchema branch
-
-
checksobjectRequired in this branchView nested fields
-
tokenstringRequired in this branchAllowed values:
["passed","failed","unknown"] -
membershipstringRequired in this branchAllowed values:
["passed","failed","unknown"] -
coexistencestringRequired in this branchAllowed values:
["passed","failed","unknown"] -
subscriptionstringRequired in this branchAllowed values:
["passed","failed","unknown"] -
additionalPropertiesno value allowedSchema rule
-
-
tokenExpiresAtanyOf (string | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1string · date-timeSchema branch -
anyOf 2nullSchema branch
-
-
dataAccessExpiresAtanyOf (string | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1string · date-timeSchema branch -
anyOf 2nullSchema branch
-
-
checkedAtanyOf (string | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1string · date-timeSchema branch -
anyOf 2nullSchema branch
-
-
lastHealthyAtanyOf (string | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1string · date-timeSchema branch -
anyOf 2nullSchema branch
-
-
currentbooleanRequired in this branch -
canCheckbooleanRequired in this branch -
checkBlockReasonanyOf (string | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1stringSchema branchAllowed values:
["connection_unverified","connection_changed","check_in_progress","check_rate_limited","connection_paused","attempt_unavailable","operation_not_unknown","configuration_missing","tenant_not_enabled","scope_required"] -
anyOf 2nullSchema branch
-
-
retryAtanyOf (string | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1string · date-timeSchema branch -
anyOf 2nullSchema branch
-
-
canReconcileSubscriptionbooleanRequired in this branch -
reconciliationBlockReasonanyOf (string | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1stringSchema branchAllowed values:
["connection_unverified","connection_changed","check_in_progress","check_rate_limited","connection_paused","attempt_unavailable","operation_not_unknown","configuration_missing","tenant_not_enabled","scope_required"] -
anyOf 2nullSchema branch
-
-
subscriptionReconciledAtanyOf (string | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1string · date-timeSchema branch -
anyOf 2nullSchema branch
-
-
additionalPropertiesno value allowedSchema rule
-
-
reminderReadinessobjectOptional in this branchSaved reminder-template approval observation. Not a new provider check or a guarantee that a reminder can be sent or delivered.
View nested fields
-
schemaVersionnumberRequired in this branchValue:
1 -
checkedAtanyOf (string | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1string · date-timeSchema branch -
anyOf 2nullSchema branch
-
-
configurationMatchesbooleanRequired in this branch -
currentbooleanRequired in this branch -
readOutcomestringRequired in this branchAllowed values:
["complete","unavailable","unknown"] -
approvedLanguagesarrayRequired in this branchuniqueItems:truemaxItems:3View nested fields
-
[]stringArray itemAllowed values:
["he","ar","en"]
-
-
languagesobjectRequired in this branchView nested fields
-
heobjectRequired in this branchView nested fields
-
availableanyOf (boolean | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1booleanSchema branch -
anyOf 2nullSchema branch
-
-
actualLanguageanyOf (string | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1stringSchema branchAllowed values:
["he","ar","en"] -
anyOf 2nullSchema branch
-
-
languageCodeanyOf (string | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1stringSchema branchAllowed values:
["he","ar","en","en_US"] -
anyOf 2nullSchema branch
-
-
additionalPropertiesno value allowedSchema rule
-
-
arobjectRequired in this branchView nested fields
-
availableanyOf (boolean | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1booleanSchema branch -
anyOf 2nullSchema branch
-
-
actualLanguageanyOf (string | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1stringSchema branchAllowed values:
["he","ar","en"] -
anyOf 2nullSchema branch
-
-
languageCodeanyOf (string | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1stringSchema branchAllowed values:
["he","ar","en","en_US"] -
anyOf 2nullSchema branch
-
-
additionalPropertiesno value allowedSchema rule
-
-
enobjectRequired in this branchView nested fields
-
availableanyOf (boolean | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1booleanSchema branch -
anyOf 2nullSchema branch
-
-
actualLanguageanyOf (string | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1stringSchema branchAllowed values:
["he","ar","en"] -
anyOf 2nullSchema branch
-
-
languageCodeanyOf (string | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1stringSchema branchAllowed values:
["he","ar","en","en_US"] -
anyOf 2nullSchema branch
-
-
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
-
-
anyOf 2nullSchema branch
-
-
billingEvidenceallOf (object; allOf (unspecified) & unspecified)OptionalAll of these schema rules apply together.
View nested fields
-
allOf 1object; allOf (unspecified)Schema branchSaved signature-verified failed-delivery evidence, independent of connection readiness. observed is within 24 hours; stale is older than 24 hours and within 7 days. Unknown or absence is not proof of recovery. No Graph billing probe, provider retry or billing mutation is performed.
All of these schema rules apply together.
View branch fields and rules
-
statestringRequiredAllowed values:
["observed","stale","unknown"] -
reasonstring | nullRequiredAllowed values:
["currency_missing","payment_issue",null] -
observedAtstring | null · date-timeRequired -
wabaIdstring | nullRequiredCurrent Messaging account (legacy WABA) scope; no phone number or payment credential.
pattern:"^[0-9]{5,32}$" -
allOf 1unspecifiedSchema branchView branch fields and rules
-
ifobjectSchema ruleView branch fields and rules
-
statestringCondition predicateValue:
"unknown"
-
-
thenobjectSchema ruleView branch fields and rules
-
reasonnullOptional in this branchValue:
null -
observedAtnullOptional in this branchValue:
null
-
-
elseobjectSchema ruleView branch fields and rules
-
reasonstringOptional in this branchAllowed values:
["currency_missing","payment_issue"] -
observedAtstring · date-timeOptional in this branch -
wabaIdstringOptional in this branchpattern:"^[0-9]{5,32}$"
-
-
-
additionalPropertiesno value allowedSchema rule
-
-
allOf 2unspecifiedSchema branchOptional additive evidence under the existing connection-read scope. Older servers may omit it; treat absence as unknown. Shared Messaging accounts can share the observation across businesses.
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"version": {
"type": "string",
"pattern": "^wc[a-f0-9]{64}$",
"description": "Opaque current connection version. Preserve the quoted ETag as If-Match. Do not construct, increment or substitute it on recovery."
},
"configured": {
"type": "boolean"
},
"botActive": {
"type": "boolean"
},
"reconciliationAttemptId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"connection": {
"anyOf": [
{
"type": "object",
"additionalProperties": false,
"properties": {
"state": {
"type": "string",
"enum": [
"prepared",
"verified",
"ready",
"disconnected",
"blocked"
]
},
"displayPhoneNumber": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
]
},
"verifiedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"generation": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"currentBinding": {
"type": "boolean"
},
"outboundAllowed": {
"type": "boolean"
},
"lifecycle": {
"type": "object",
"additionalProperties": false,
"properties": {
"event": {
"anyOf": [
{
"type": "string",
"enum": [
"PARTNER_REMOVED",
"ACCOUNT_OFFBOARDED",
"ACCOUNT_RECONNECTED"
]
},
{
"type": "null"
}
]
},
"occurredAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"receivedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"requiresVerification": {
"type": "boolean"
}
},
"required": [
"event",
"occurredAt",
"receivedAt",
"requiresVerification"
]
},
"stages": {
"type": "object",
"additionalProperties": false,
"properties": {
"subscribe": {
"type": "string",
"enum": [
"pending",
"running",
"succeeded",
"failed",
"unknown",
"not_requested"
]
},
"contacts": {
"type": "string",
"enum": [
"pending",
"running",
"succeeded",
"failed",
"unknown",
"not_requested"
]
},
"history": {
"type": "string",
"enum": [
"pending",
"running",
"succeeded",
"failed",
"unknown",
"not_requested"
]
}
},
"required": [
"subscribe",
"contacts",
"history"
]
},
"eventsReceived": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"historySharingStatus": {
"type": "string",
"enum": [
"unknown",
"declined",
"receiving",
"complete"
]
},
"health": {
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"anyOf": [
{
"type": "string",
"enum": [
"healthy",
"action_required",
"unknown"
]
},
{
"type": "null"
}
]
},
"reason": {
"anyOf": [
{
"type": "string",
"enum": [
"token_invalid",
"token_expired",
"app_mismatch",
"permissions_missing",
"asset_unavailable",
"not_coexistence",
"subscription_missing",
"provider_unavailable",
"provider_response_invalid",
"provider_rate_limited"
]
},
{
"type": "null"
}
]
},
"checks": {
"type": "object",
"additionalProperties": false,
"properties": {
"token": {
"type": "string",
"enum": [
"passed",
"failed",
"unknown"
]
},
"membership": {
"type": "string",
"enum": [
"passed",
"failed",
"unknown"
]
},
"coexistence": {
"type": "string",
"enum": [
"passed",
"failed",
"unknown"
]
},
"subscription": {
"type": "string",
"enum": [
"passed",
"failed",
"unknown"
]
}
},
"required": [
"token",
"membership",
"coexistence",
"subscription"
]
},
"tokenExpiresAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"dataAccessExpiresAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"checkedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"lastHealthyAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"current": {
"type": "boolean"
},
"canCheck": {
"type": "boolean"
},
"checkBlockReason": {
"anyOf": [
{
"type": "string",
"enum": [
"connection_unverified",
"connection_changed",
"check_in_progress",
"check_rate_limited",
"connection_paused",
"attempt_unavailable",
"operation_not_unknown",
"configuration_missing",
"tenant_not_enabled",
"scope_required"
]
},
{
"type": "null"
}
]
},
"retryAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"canReconcileSubscription": {
"type": "boolean"
},
"reconciliationBlockReason": {
"anyOf": [
{
"type": "string",
"enum": [
"connection_unverified",
"connection_changed",
"check_in_progress",
"check_rate_limited",
"connection_paused",
"attempt_unavailable",
"operation_not_unknown",
"configuration_missing",
"tenant_not_enabled",
"scope_required"
]
},
{
"type": "null"
}
]
},
"subscriptionReconciledAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
}
},
"required": [
"result",
"reason",
"checks",
"tokenExpiresAt",
"dataAccessExpiresAt",
"checkedAt",
"lastHealthyAt",
"current",
"canCheck",
"checkBlockReason",
"retryAt",
"canReconcileSubscription",
"reconciliationBlockReason",
"subscriptionReconciledAt"
],
"description": "Saved health evidence and current action availability. Display checkedAt; current does not mean a new live observation was made by this GET. retryAt is nullable. Unknown is not healthy."
},
"reminderReadiness": {
"type": "object",
"additionalProperties": false,
"properties": {
"schemaVersion": {
"const": 1
},
"checkedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"configurationMatches": {
"type": "boolean"
},
"current": {
"type": "boolean"
},
"readOutcome": {
"type": "string",
"enum": [
"complete",
"unavailable",
"unknown"
]
},
"approvedLanguages": {
"type": "array",
"items": {
"type": "string",
"enum": [
"he",
"ar",
"en"
]
},
"uniqueItems": true,
"maxItems": 3
},
"languages": {
"type": "object",
"additionalProperties": false,
"properties": {
"he": {
"type": "object",
"additionalProperties": false,
"properties": {
"available": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"actualLanguage": {
"anyOf": [
{
"type": "string",
"enum": [
"he",
"ar",
"en"
]
},
{
"type": "null"
}
]
},
"languageCode": {
"anyOf": [
{
"type": "string",
"enum": [
"he",
"ar",
"en",
"en_US"
]
},
{
"type": "null"
}
]
}
},
"required": [
"available",
"actualLanguage",
"languageCode"
]
},
"ar": {
"type": "object",
"additionalProperties": false,
"properties": {
"available": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"actualLanguage": {
"anyOf": [
{
"type": "string",
"enum": [
"he",
"ar",
"en"
]
},
{
"type": "null"
}
]
},
"languageCode": {
"anyOf": [
{
"type": "string",
"enum": [
"he",
"ar",
"en",
"en_US"
]
},
{
"type": "null"
}
]
}
},
"required": [
"available",
"actualLanguage",
"languageCode"
]
},
"en": {
"type": "object",
"additionalProperties": false,
"properties": {
"available": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"actualLanguage": {
"anyOf": [
{
"type": "string",
"enum": [
"he",
"ar",
"en"
]
},
{
"type": "null"
}
]
},
"languageCode": {
"anyOf": [
{
"type": "string",
"enum": [
"he",
"ar",
"en",
"en_US"
]
},
{
"type": "null"
}
]
}
},
"required": [
"available",
"actualLanguage",
"languageCode"
]
}
},
"required": [
"he",
"ar",
"en"
]
}
},
"required": [
"schemaVersion",
"checkedAt",
"configurationMatches",
"current",
"readOutcome",
"approvedLanguages",
"languages"
],
"description": "Saved reminder-template approval observation. Not a new provider check or a guarantee that a reminder can be sent or delivered."
}
},
"required": [
"state",
"displayPhoneNumber",
"verifiedAt",
"generation",
"currentBinding",
"outboundAllowed",
"lifecycle",
"stages",
"eventsReceived",
"historySharingStatus",
"health"
]
},
{
"type": "null"
}
]
},
"billingEvidence": {
"allOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"state",
"reason",
"observedAt",
"wabaId"
],
"properties": {
"state": {
"type": "string",
"enum": [
"observed",
"stale",
"unknown"
]
},
"reason": {
"type": [
"string",
"null"
],
"enum": [
"currency_missing",
"payment_issue",
null
]
},
"observedAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"wabaId": {
"type": [
"string",
"null"
],
"pattern": "^[0-9]{5,32}$",
"description": "Current Messaging account (legacy WABA) scope; no phone number or payment credential."
}
},
"allOf": [
{
"if": {
"properties": {
"state": {
"const": "unknown"
}
}
},
"then": {
"properties": {
"reason": {
"const": null
},
"observedAt": {
"const": null
}
}
},
"else": {
"properties": {
"reason": {
"type": "string",
"enum": [
"currency_missing",
"payment_issue"
]
},
"observedAt": {
"type": "string",
"format": "date-time"
},
"wabaId": {
"type": "string",
"pattern": "^[0-9]{5,32}$"
}
}
}
}
],
"description": "Saved signature-verified failed-delivery evidence, independent of connection readiness. observed is within 24 hours; stale is older than 24 hours and within 7 days. Unknown or absence is not proof of recovery. No Graph billing probe, provider retry or billing mutation is performed."
},
{
"description": "Optional additive evidence under the existing connection-read scope. Older servers may omit it; treat absence as unknown. Shared Messaging accounts can share the observation across businesses."
}
]
}
},
"required": [
"version",
"configured",
"botActive",
"reconciliationAttemptId",
"connection"
],
"description": "Credential-bound whole-business saved connection view. A null connection means no supported saved Coexistence connection; it does not prove absence of a legacy WhatsApp channel. configured reflects manual-check runtime configuration, not business verification. No credentials, raw asset IDs or provider errors are exposed."
} Errors and recovery
Error responses declared in the contract (7)
The preview contract shares generic error definitions across operations. This list is not an exhaustive list of runtime errors.
401 · Missing or invalid current 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 credential, scope or Origin refused. Saved reads and recovery do not require fresh-check enrollment or manual runtime configuration.
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 · Unknown route.
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"
]
} 422 · Invalid body, query, identifier or precondition syntax.
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 · General credential/site request quota exceeded. Reading saved state or recovering an operation does not acquire the provider-check lease or consume the manual-check start budget.
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 · Saved read unavailable: persistence, lock or installed-service failure. Retain the original operation locator and retry this read with a bounded delay; do not create a replacement check.
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"
]
}