/v1/management/template-requestsהודיעו ללקוח יחיד שמסמך מוכן
בקשו תבנית פעם אחת עם Idempotency-Key שמור. עקבו אחר receipt.request.requestId דרך /template-requests/{requestId}; שחזרו תגובה שאבדה דרך /template-request-operations/{savedUuid}. בקשה במצב done מתעדת טיפול של הצוות, ולא אישור של Meta.
בחרו את השם והשפה בפועל מתוך /campaign-templates רק כשהתבנית במצב APPROVED והערך supported הוא true. שלחו כפרמטר כתובת כניסה לפורטל שמחייב הזדהות; אל תכללו פרטים רפואיים, תוכן מסמך או אסימוני גישה והתחברות בהודעה או בכתובת. קבלו הרשאה נפרדת להודעות על מסמכים: הסכמה לעדכוני תור אינה הסכמה גורפת למסמכים. כבדו בקשות הסרה.
הרשאות לשלב הזה
template-requests:readtemplate-requests:write
המשך לתהליך ההודעות של הקליניקה
דוגמת בקשה להרכבה בשרת שלכם; זו אינה תעבורת HTTP שנמדדה. post() משתמש בכתובת הבסיס של Management ומחזיר {data, etag}. המפתח נשאר בשרת.
const { data } = await post("/template-requests", {
purpose: "Notify a customer that a document is ready in their account",
languages: ["ar"],
exampleText: "أصبح مستندك جاهزًا. يمكنك الاطلاع عليه بعد تسجيل الدخول إلى حسابك: {{1}}. هذه رسالة لإبلاغك بتوفر المستند."
}, { "Idempotency-Key": savedTemplateRequestUuid });
const requestId = data.receipt.request.requestId;
// Recover with /template-request-operations/{savedTemplateRequestUuid}.
// done is not Meta approval. Choose an APPROVED, supported catalogue entry. Behavior
Ask CRAD staff for help with a template. No Meta submission, approval or customer message occurs. A new request returns 201, an exact normalized replay returns 200, and reuse of the UUID with different input returns 409. purpose and exampleText are trimmed; blank exampleText becomes null. languages is a unique selection of he, ar and/or en. Receipt preserves the initially accepted open request; current reports later staff handling separately. No If-Match is required for this append-only command.
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
template-requests:readtemplate-requests:write
Requires explicit whole-business template-request grants. Provider, calendar and sending permissions neither grant nor restrict this separate access. Keep the Management key on your backend.
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.
Idempotency-Keyheader · stringRequiredOriginal client-generated operation UUID; persist with the input and reuse for lookup or explicit exact retry.
Format and constraints
{ "type": "string", "format": "uuid" }
Request body · required
application/json · BusinessTemplateRequestInput
-
purposestringRequiredNonblank purpose, trimmed before storage and operation identity; limit counts Unicode characters.
minLength:1maxLength:300 -
exampleTextstring | nullOptionalOptional suggested wording. Omitted, null or whitespace-only becomes null; other text is trimmed.
maxLength:1024 -
languagesarrayRequiredChoose one to three languages; stored in he/ar/en order.
maxItems:3minItems:1uniqueItems:trueView nested fields
-
[]stringArray itemAllowed values:
["he","ar","en"]
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"required": [
"purpose",
"languages"
],
"properties": {
"purpose": {
"type": "string",
"minLength": 1,
"maxLength": 300,
"description": "Nonblank purpose, trimmed before storage and operation identity; limit counts Unicode characters."
},
"exampleText": {
"type": [
"string",
"null"
],
"maxLength": 1024,
"description": "Optional suggested wording. Omitted, null or whitespace-only becomes null; other text is trimmed."
},
"languages": {
"type": "array",
"maxItems": 3,
"items": {
"type": "string",
"enum": [
"he",
"ar",
"en"
]
},
"minItems": 1,
"uniqueItems": true,
"description": "Choose one to three languages; stored in he/ar/en order."
}
}
} Successful responses
200 · BusinessTemplateRequestResult
Exact replay of an accepted request.
Cache-Control
{
"const": "no-store"
} application/json · BusinessTemplateRequestResult
All of these schema rules apply together.
-
receiptobjectRequiredView nested fields
-
operationIdstring · uuidRequired -
requestallOf (object; allOf (unspecified) & object)RequiredAll of these schema rules apply together.
View nested fields
-
allOf 1object; allOf (unspecified)Schema branchAll of these schema rules apply together.
View branch fields and rules
-
requestIdstring · uuidRequired -
purposestringRequiredminLength:1maxLength:300 -
exampleTextstring | nullRequiredmaxLength:1024 -
languagesarrayRequiredHistorical requests may contain no languages or repeated languages; those values are preserved.
maxItems:3View nested fields
-
[]stringArray itemAllowed values:
["he","ar","en"]
-
-
statusstringRequiredCRAD request handling only. done does not attest Meta approval or permission to send.
Allowed values:
["open","done"] -
createdAtstring · date-timeRequired -
completedAtanyOf (string | null)RequiredAt least one of these variants must match.
View nested fields
-
anyOf 1string · date-timeSchema branch -
anyOf 2nullSchema branch
-
-
sourcestringRequiredNative CRAD account or delegated integration. Actor and credential identities are not disclosed.
Allowed values:
["native","integration"] -
allOf 1unspecifiedSchema branchView branch fields and rules
-
ifobjectSchema ruleView branch fields and rules
-
statusstringCondition predicateValue:
"open"
-
-
thenobjectSchema ruleView branch fields and rules
-
completedAtnullOptional in this branch
-
-
elseobjectSchema ruleView branch fields and rules
-
completedAtstring · date-timeOptional in this branch
-
-
-
additionalPropertiesno value allowedSchema rule
-
-
allOf 2 · status = "open"objectSchema branchView branch fields and rules
-
statusstringOptionalValue:
"open" -
completedAtnullOptional
-
-
-
additionalPropertiesno value allowedSchema rule
-
-
currentanyOf (object; allOf (unspecified) | null)RequiredAt least one of these variants must match.
View nested fields
-
anyOf 1object; allOf (unspecified)Schema branchAll of these schema rules apply together.
View branch fields and rules
-
requestIdstring · uuidRequired in this branch -
purposestringRequired in this branchminLength:1maxLength:300 -
exampleTextstring | nullRequired in this branchmaxLength:1024 -
languagesarrayRequired in this branchHistorical requests may contain no languages or repeated languages; those values are preserved.
maxItems:3View nested fields
-
[]stringArray itemAllowed values:
["he","ar","en"]
-
-
statusstringRequired in this branchCRAD request handling only. done does not attest Meta approval or permission to send.
Allowed values:
["open","done"] -
createdAtstring · date-timeRequired in this branch -
completedAtanyOf (string | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1string · date-timeSchema branch -
anyOf 2nullSchema branch
-
-
sourcestringRequired in this branchNative CRAD account or delegated integration. Actor and credential identities are not disclosed.
Allowed values:
["native","integration"] -
allOf 1unspecifiedSchema branchView branch fields and rules
-
ifobjectSchema ruleView branch fields and rules
-
statusstringCondition predicateValue:
"open"
-
-
thenobjectSchema ruleView branch fields and rules
-
completedAtnullOptional in this branch
-
-
elseobjectSchema ruleView branch fields and rules
-
completedAtstring · date-timeOptional in this branch
-
-
-
additionalPropertiesno value allowedSchema rule
-
-
anyOf 2nullSchema branch
-
-
currentUnavailableReasonstring | nullRequiredAllowed values:
["request_not_found",null] -
replayedbooleanRequired -
allOf 1unspecifiedSchema branchView branch fields and rules
-
ifobjectSchema ruleView branch fields and rules
-
currentnullCondition predicate
-
-
thenobjectSchema ruleView branch fields and rules
-
currentUnavailableReasonstringOptional in this branchValue:
"request_not_found"
-
-
elseobjectSchema ruleView branch fields and rules
-
currentUnavailableReasonnullOptional in this branch
-
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"required": [
"receipt",
"current",
"currentUnavailableReason",
"replayed"
],
"properties": {
"receipt": {
"type": "object",
"additionalProperties": false,
"required": [
"operationId",
"request"
],
"properties": {
"operationId": {
"type": "string",
"format": "uuid"
},
"request": {
"allOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"requestId",
"purpose",
"exampleText",
"languages",
"status",
"createdAt",
"completedAt",
"source"
],
"properties": {
"requestId": {
"type": "string",
"format": "uuid"
},
"purpose": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"exampleText": {
"type": [
"string",
"null"
],
"maxLength": 1024
},
"languages": {
"type": "array",
"maxItems": 3,
"items": {
"type": "string",
"enum": [
"he",
"ar",
"en"
]
},
"description": "Historical requests may contain no languages or repeated languages; those values are preserved."
},
"status": {
"type": "string",
"enum": [
"open",
"done"
],
"description": "CRAD request handling only. done does not attest Meta approval or permission to send."
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"completedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"source": {
"type": "string",
"enum": [
"native",
"integration"
],
"description": "Native CRAD account or delegated integration. Actor and credential identities are not disclosed."
}
},
"allOf": [
{
"if": {
"properties": {
"status": {
"const": "open"
}
}
},
"then": {
"properties": {
"completedAt": {
"type": "null"
}
}
},
"else": {
"properties": {
"completedAt": {
"type": "string",
"format": "date-time"
}
}
}
}
]
},
{
"properties": {
"status": {
"const": "open"
},
"completedAt": {
"type": "null"
}
}
}
]
}
}
},
"current": {
"anyOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"requestId",
"purpose",
"exampleText",
"languages",
"status",
"createdAt",
"completedAt",
"source"
],
"properties": {
"requestId": {
"type": "string",
"format": "uuid"
},
"purpose": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"exampleText": {
"type": [
"string",
"null"
],
"maxLength": 1024
},
"languages": {
"type": "array",
"maxItems": 3,
"items": {
"type": "string",
"enum": [
"he",
"ar",
"en"
]
},
"description": "Historical requests may contain no languages or repeated languages; those values are preserved."
},
"status": {
"type": "string",
"enum": [
"open",
"done"
],
"description": "CRAD request handling only. done does not attest Meta approval or permission to send."
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"completedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"source": {
"type": "string",
"enum": [
"native",
"integration"
],
"description": "Native CRAD account or delegated integration. Actor and credential identities are not disclosed."
}
},
"allOf": [
{
"if": {
"properties": {
"status": {
"const": "open"
}
}
},
"then": {
"properties": {
"completedAt": {
"type": "null"
}
}
},
"else": {
"properties": {
"completedAt": {
"type": "string",
"format": "date-time"
}
}
}
}
]
},
{
"type": "null"
}
]
},
"currentUnavailableReason": {
"type": [
"string",
"null"
],
"enum": [
"request_not_found",
null
]
},
"replayed": {
"type": "boolean"
}
},
"allOf": [
{
"if": {
"properties": {
"current": {
"type": "null"
}
}
},
"then": {
"properties": {
"currentUnavailableReason": {
"const": "request_not_found"
}
}
},
"else": {
"properties": {
"currentUnavailableReason": {
"type": "null"
}
}
}
}
]
} 201 · BusinessTemplateRequestResult
Request and receipt recorded.
Cache-Control
{
"const": "no-store"
} application/json · BusinessTemplateRequestResult
All of these schema rules apply together.
-
receiptobjectRequiredView nested fields
-
operationIdstring · uuidRequired -
requestallOf (object; allOf (unspecified) & object)RequiredAll of these schema rules apply together.
View nested fields
-
allOf 1object; allOf (unspecified)Schema branchAll of these schema rules apply together.
View branch fields and rules
-
requestIdstring · uuidRequired -
purposestringRequiredminLength:1maxLength:300 -
exampleTextstring | nullRequiredmaxLength:1024 -
languagesarrayRequiredHistorical requests may contain no languages or repeated languages; those values are preserved.
maxItems:3View nested fields
-
[]stringArray itemAllowed values:
["he","ar","en"]
-
-
statusstringRequiredCRAD request handling only. done does not attest Meta approval or permission to send.
Allowed values:
["open","done"] -
createdAtstring · date-timeRequired -
completedAtanyOf (string | null)RequiredAt least one of these variants must match.
View nested fields
-
anyOf 1string · date-timeSchema branch -
anyOf 2nullSchema branch
-
-
sourcestringRequiredNative CRAD account or delegated integration. Actor and credential identities are not disclosed.
Allowed values:
["native","integration"] -
allOf 1unspecifiedSchema branchView branch fields and rules
-
ifobjectSchema ruleView branch fields and rules
-
statusstringCondition predicateValue:
"open"
-
-
thenobjectSchema ruleView branch fields and rules
-
completedAtnullOptional in this branch
-
-
elseobjectSchema ruleView branch fields and rules
-
completedAtstring · date-timeOptional in this branch
-
-
-
additionalPropertiesno value allowedSchema rule
-
-
allOf 2 · status = "open"objectSchema branchView branch fields and rules
-
statusstringOptionalValue:
"open" -
completedAtnullOptional
-
-
-
additionalPropertiesno value allowedSchema rule
-
-
currentanyOf (object; allOf (unspecified) | null)RequiredAt least one of these variants must match.
View nested fields
-
anyOf 1object; allOf (unspecified)Schema branchAll of these schema rules apply together.
View branch fields and rules
-
requestIdstring · uuidRequired in this branch -
purposestringRequired in this branchminLength:1maxLength:300 -
exampleTextstring | nullRequired in this branchmaxLength:1024 -
languagesarrayRequired in this branchHistorical requests may contain no languages or repeated languages; those values are preserved.
maxItems:3View nested fields
-
[]stringArray itemAllowed values:
["he","ar","en"]
-
-
statusstringRequired in this branchCRAD request handling only. done does not attest Meta approval or permission to send.
Allowed values:
["open","done"] -
createdAtstring · date-timeRequired in this branch -
completedAtanyOf (string | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1string · date-timeSchema branch -
anyOf 2nullSchema branch
-
-
sourcestringRequired in this branchNative CRAD account or delegated integration. Actor and credential identities are not disclosed.
Allowed values:
["native","integration"] -
allOf 1unspecifiedSchema branchView branch fields and rules
-
ifobjectSchema ruleView branch fields and rules
-
statusstringCondition predicateValue:
"open"
-
-
thenobjectSchema ruleView branch fields and rules
-
completedAtnullOptional in this branch
-
-
elseobjectSchema ruleView branch fields and rules
-
completedAtstring · date-timeOptional in this branch
-
-
-
additionalPropertiesno value allowedSchema rule
-
-
anyOf 2nullSchema branch
-
-
currentUnavailableReasonstring | nullRequiredAllowed values:
["request_not_found",null] -
replayedbooleanRequired -
allOf 1unspecifiedSchema branchView branch fields and rules
-
ifobjectSchema ruleView branch fields and rules
-
currentnullCondition predicate
-
-
thenobjectSchema ruleView branch fields and rules
-
currentUnavailableReasonstringOptional in this branchValue:
"request_not_found"
-
-
elseobjectSchema ruleView branch fields and rules
-
currentUnavailableReasonnullOptional in this branch
-
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"required": [
"receipt",
"current",
"currentUnavailableReason",
"replayed"
],
"properties": {
"receipt": {
"type": "object",
"additionalProperties": false,
"required": [
"operationId",
"request"
],
"properties": {
"operationId": {
"type": "string",
"format": "uuid"
},
"request": {
"allOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"requestId",
"purpose",
"exampleText",
"languages",
"status",
"createdAt",
"completedAt",
"source"
],
"properties": {
"requestId": {
"type": "string",
"format": "uuid"
},
"purpose": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"exampleText": {
"type": [
"string",
"null"
],
"maxLength": 1024
},
"languages": {
"type": "array",
"maxItems": 3,
"items": {
"type": "string",
"enum": [
"he",
"ar",
"en"
]
},
"description": "Historical requests may contain no languages or repeated languages; those values are preserved."
},
"status": {
"type": "string",
"enum": [
"open",
"done"
],
"description": "CRAD request handling only. done does not attest Meta approval or permission to send."
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"completedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"source": {
"type": "string",
"enum": [
"native",
"integration"
],
"description": "Native CRAD account or delegated integration. Actor and credential identities are not disclosed."
}
},
"allOf": [
{
"if": {
"properties": {
"status": {
"const": "open"
}
}
},
"then": {
"properties": {
"completedAt": {
"type": "null"
}
}
},
"else": {
"properties": {
"completedAt": {
"type": "string",
"format": "date-time"
}
}
}
}
]
},
{
"properties": {
"status": {
"const": "open"
},
"completedAt": {
"type": "null"
}
}
}
]
}
}
},
"current": {
"anyOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"requestId",
"purpose",
"exampleText",
"languages",
"status",
"createdAt",
"completedAt",
"source"
],
"properties": {
"requestId": {
"type": "string",
"format": "uuid"
},
"purpose": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"exampleText": {
"type": [
"string",
"null"
],
"maxLength": 1024
},
"languages": {
"type": "array",
"maxItems": 3,
"items": {
"type": "string",
"enum": [
"he",
"ar",
"en"
]
},
"description": "Historical requests may contain no languages or repeated languages; those values are preserved."
},
"status": {
"type": "string",
"enum": [
"open",
"done"
],
"description": "CRAD request handling only. done does not attest Meta approval or permission to send."
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"completedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"source": {
"type": "string",
"enum": [
"native",
"integration"
],
"description": "Native CRAD account or delegated integration. Actor and credential identities are not disclosed."
}
},
"allOf": [
{
"if": {
"properties": {
"status": {
"const": "open"
}
}
},
"then": {
"properties": {
"completedAt": {
"type": "null"
}
}
},
"else": {
"properties": {
"completedAt": {
"type": "string",
"format": "date-time"
}
}
}
}
]
},
{
"type": "null"
}
]
},
"currentUnavailableReason": {
"type": [
"string",
"null"
],
"enum": [
"request_not_found",
null
]
},
"replayed": {
"type": "boolean"
}
},
"allOf": [
{
"if": {
"properties": {
"current": {
"type": "null"
}
}
},
"then": {
"properties": {
"currentUnavailableReason": {
"const": "request_not_found"
}
}
},
"else": {
"properties": {
"currentUnavailableReason": {
"type": "null"
}
}
}
}
]
} 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 (9)
The pinned contract shares generic error definitions across operations. This list is not an exhaustive list of runtime errors.
401 · Invalid or missing Management 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 · Current key/integration/scope authority denied, platform suspension, or browser Origin 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"
]
} 405 · Unsupported 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 · TEMPLATE_REQUEST_OPERATION_REUSED: this operation UUID is already bound to different normalized input.
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"
]
} 413 · JSON body exceeds 8,192 bytes.
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"
]
} 415 · application/json is required.
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 request body or Idempotency-Key UUID.
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 · Request quota reached; honor Retry-After.
Cache-Control
{
"const": "no-store"
} Retry-After · When supplied, seconds to wait before checking again; not permission to create another command.
{
"type": "integer",
"minimum": 1
} 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 persistence failure or uncertain write. Retain the original operation UUID and input; check its result before an explicit retry.
Cache-Control
{
"const": "no-store"
} Retry-After · When supplied, seconds to wait before checking again; not permission to create another command.
{
"type": "integer",
"minimum": 1
} 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"
]
}