CRADמפתחים
עברית

Send a conversation message

לפני שימוש חי — בדקו יכולות פרוסות, הרשאות ומוכנות של החיבור שלכם.

בדקו את היכולות הפרוסות, הרשאות המפתח ומוכנות העסק בסביבה שלכם. דוגמאות HTTP נלכדו בבדיקות מבודדות; הסימון local-unreleased שלהן אינו אומר שה־API אינו פועל, ואינו מאשר את החיבור שלכם. במסלול הלקוח מאמתים טלפון בתבנית WhatsApp שהעסק הגדיר; SMS אינו נתמך. רישום בידי אדמין מורשה הוא פעולה נפרדת ללא קוד.

POST/v1/management/conversations/{conversationId}/messages

Behavior

Choose exactly one of text, a CRAD mediaId with optional caption, or a supported approved template. Human control and the original quoted cv version are required. Text/files require a live 24-hour customer window. Authentication COPY_CODE accepts one 1–15 character ASCII alphanumeric code; your application owns generation, expiry and verification. Utility/Marketing templates with QUICK_REPLY buttons require template.quickReplyPayloads: exactly the catalogue count (one to three) of distinct opaque 1–128 character ASCII letters/digits/underscore/hyphen values in catalogue order. The substituted body must fit 1024 Unicode code points. Plain/OTP templates refuse quickReplyPayloads. IMAGE headers require template.headerImageUploadId from an eligible same-conversation image upload, not a management sample upload or provider ID/URL; other headers forbid it. Preserve payloads/order/image identity for exact recovery. Ownership, metadata and current media are rechecked before dispatch. Connection, customer blocking and consent rules still apply. accepted/delivered/read never mean that the shop order was confirmed.

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

conversations:readconversations:send

Explicit whole-business conversation access. Provider selections do not narrow it; customer, calendar or sending scopes do not grant it. Keep the Management key on your backend. Inbox enablement remains separate.

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. Check conversation-sends/{operationId}. Only not_found permits an explicit exact retry; pending or unknown must not trigger another send.

  • conversationIdpath · stringRequired
    Format and constraints
    conversationId schema
    {
      "type": "string",
      "format": "uuid"
    }
  • Idempotency-Keyheader · stringRequired

    Save one UUID before dispatch. Keep it for lookup and any exact retry; a different UUID denotes a different operation.

    Format and constraints
    Idempotency-Key schema
    {
      "type": "string",
      "format": "uuid"
    }
  • If-Matchheader · stringRequired

    The quoted control ETag from this conversation, for example "cv3". Preserve the original value during recovery.

    Format and constraints
    If-Match schema
    {
      "type": "string",
      "pattern": "^\"cv(?:0|[1-9][0-9]*)\"$"
    }

Request body · required

application/json · BusinessConversationSendInput

Exactly one message kind. Internal media IDs, never raw provider IDs/URLs. Preserve the full body and headers with the operation UUID. IMAGE template headers require a still-valid same-conversation image mediaId. Delivery/read status never confirms an order.

Exactly one of these variants must match.

  • oneOf 1objectSchema branch
    View branch fields and rules
    • textstringRequired in this branch

      minLength: 1maxLength: 4096

    • externalActorRefanyOf (string | null)Optional in this branch

      Optional audit label from your backend, preserved exactly. CRAD does not verify this external user identity; it grants no permission.

      At least one of these variants must match.

      View nested fields
      • anyOf 1stringSchema branch

        maxLength: 200minLength: 1pattern: "^[^\\u0000-\\u001f\\u007f]*\\S[^\\u0000-\\u001f\\u007f]*$"

      • anyOf 2nullSchema branch
    • additionalPropertiesno value allowedSchema rule
  • oneOf 2objectSchema branch
    View branch fields and rules
    • mediaIdstring · uuidRequired in this branch
    • captionstringOptional in this branch

      maxLength: 1024

    • externalActorRefanyOf (string | null)Optional in this branch

      Optional audit label from your backend, preserved exactly. CRAD does not verify this external user identity; it grants no permission.

      At least one of these variants must match.

      View nested fields
      • anyOf 1stringSchema branch

        maxLength: 200minLength: 1pattern: "^[^\\u0000-\\u001f\\u007f]*\\S[^\\u0000-\\u001f\\u007f]*$"

      • anyOf 2nullSchema branch
    • additionalPropertiesno value allowedSchema rule
  • oneOf 3objectSchema branch
    View branch fields and rules
    • templateobjectRequired in this branch
      View nested fields
      • namestringRequired in this branch

        minLength: 1maxLength: 512pattern: "^[a-z0-9_]+$"

      • languagestringRequired in this branch

        minLength: 1maxLength: 16pattern: "^[a-z]{2,3}(?:_[A-Z]{2})?$"

      • parametersarrayRequired in this branch

        maxItems: 30

        View nested fields
        • []stringArray item

          minLength: 1maxLength: 1024pattern: "^[^\\r\\n\\t]+$"

      • quickReplyPayloadsarrayOptional in this branch

        Required exactly for a supported approved UTILITY or MARKETING template with 1..3 QUICK_REPLY buttons. Distinct URL-safe opaque values in the exact catalogue count/order. Bind each to business, recipient, action and current order attempt in your backend; preserve values/order with the original UUID. Forbidden for templates without quick replies and for Authentication.

        minItems: 1maxItems: 3uniqueItems: true

        View nested fields
        • []stringArray item

          minLength: 1maxLength: 128pattern: "^[A-Za-z0-9_-]+$"

      • headerImageUploadIdstring · uuidOptional in this branch

        Required exactly for catalogue headerFormat=IMAGE; forbidden otherwise. Use current.mediaId from a still-valid same-conversation JPEG/PNG upload. Set purpose=template_header when uploading outside the customer window. A regular eligible image upload can also be reused. Never use /whatsapp-images uploadId, a raw provider ID or URL.

      • additionalPropertiesno value allowedSchema rule
    • externalActorRefanyOf (string | null)Optional in this branch

      Optional audit label from your backend, preserved exactly. CRAD does not verify this external user identity; it grants no permission.

      At least one of these variants must match.

      View nested fields
      • anyOf 1stringSchema branch

        maxLength: 200minLength: 1pattern: "^[^\\u0000-\\u001f\\u007f]*\\S[^\\u0000-\\u001f\\u007f]*$"

      • anyOf 2nullSchema branch
    • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "oneOf": [
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "text": {
          "type": "string",
          "minLength": 1,
          "maxLength": 4096
        },
        "externalActorRef": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 200,
              "minLength": 1,
              "pattern": "^[^\\u0000-\\u001f\\u007f]*\\S[^\\u0000-\\u001f\\u007f]*$"
            },
            {
              "type": "null"
            }
          ],
          "description": "Optional audit label from your backend, preserved exactly. CRAD does not verify this external user identity; it grants no permission."
        }
      },
      "required": [
        "text"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "mediaId": {
          "type": "string",
          "format": "uuid"
        },
        "caption": {
          "type": "string",
          "maxLength": 1024
        },
        "externalActorRef": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 200,
              "minLength": 1,
              "pattern": "^[^\\u0000-\\u001f\\u007f]*\\S[^\\u0000-\\u001f\\u007f]*$"
            },
            {
              "type": "null"
            }
          ],
          "description": "Optional audit label from your backend, preserved exactly. CRAD does not verify this external user identity; it grants no permission."
        }
      },
      "required": [
        "mediaId"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "template": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 512,
              "pattern": "^[a-z0-9_]+$"
            },
            "language": {
              "type": "string",
              "minLength": 1,
              "maxLength": 16,
              "pattern": "^[a-z]{2,3}(?:_[A-Z]{2})?$"
            },
            "parameters": {
              "type": "array",
              "maxItems": 30,
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 1024,
                "pattern": "^[^\\r\\n\\t]+$"
              }
            },
            "quickReplyPayloads": {
              "type": "array",
              "minItems": 1,
              "maxItems": 3,
              "uniqueItems": true,
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 128,
                "pattern": "^[A-Za-z0-9_-]+$"
              },
              "description": "Required exactly for a supported approved UTILITY or MARKETING template with 1..3 QUICK_REPLY buttons. Distinct URL-safe opaque values in the exact catalogue count/order. Bind each to business, recipient, action and current order attempt in your backend; preserve values/order with the original UUID. Forbidden for templates without quick replies and for Authentication."
            },
            "headerImageUploadId": {
              "type": "string",
              "format": "uuid",
              "description": "Required exactly for catalogue headerFormat=IMAGE; forbidden otherwise. Use current.mediaId from a still-valid same-conversation JPEG/PNG upload. Set purpose=template_header when uploading outside the customer window. A regular eligible image upload can also be reused. Never use /whatsapp-images uploadId, a raw provider ID or URL."
            }
          },
          "required": [
            "name",
            "language",
            "parameters"
          ]
        },
        "externalActorRef": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 200,
              "minLength": 1,
              "pattern": "^[^\\u0000-\\u001f\\u007f]*\\S[^\\u0000-\\u001f\\u007f]*$"
            },
            {
              "type": "null"
            }
          ],
          "description": "Optional audit label from your backend, preserved exactly. CRAD does not verify this external user identity; it grants no permission."
        }
      },
      "required": [
        "template"
      ]
    }
  ],
  "description": "Exactly one message kind. Internal media IDs, never raw provider IDs/URLs. Preserve the full body and headers with the operation UUID. IMAGE template headers require a still-valid same-conversation image mediaId. Delivery/read status never confirms an order."
}

Successful responses

200 · BusinessConversationSendResult

Current authorized result.

Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

application/json · BusinessConversationSendResult

All of these schema rules apply together.

  • receiptobjectRequired
    View nested fields
    • operationIdstring · uuidRequired
    • conversationIdstring · uuidRequired
    • expectedVersionstringRequired

      Original control version, as acknowledged by the conversation API. Never replace this value during recovery.

      pattern: "^cv(?:0|[1-9][0-9]*)$"

    • kindstringRequired

      Allowed values: ["text","media","template"]

    • requestHashstringRequired

      pattern: "^[a-f0-9]{64}$"

    • externalActorRefanyOf (string | null)Required

      Optional audit label from your backend, preserved exactly. CRAD does not verify this external user identity; it grants no permission.

      At least one of these variants must match.

      View nested fields
      • anyOf 1stringSchema branch

        maxLength: 200minLength: 1pattern: "^[^\\u0000-\\u001f\\u007f]*\\S[^\\u0000-\\u001f\\u007f]*$"

      • anyOf 2nullSchema branch
    • additionalPropertiesno value allowedSchema rule
  • currentanyOf (object | null)Required

    At least one of these variants must match.

    View nested fields
    • anyOf 1objectSchema branch

      accepted means Meta accepted the send; it does not mean delivered or read. unknown means delivery cannot yet be established. reviewed only acknowledges this uncertainty and never resends. A later verified callback can settle the original attempt.

      View branch fields and rules
      • messageIdanyOf (string | null)Required in this branch

        At least one of these variants must match.

        View nested fields
        • anyOf 1string · uuidSchema branch
        • anyOf 2nullSchema branch
      • attemptIdstring · uuidRequired in this branch
      • statestringRequired in this branch

        Allowed values: ["pending","accepted","rejected","unknown"]

      • errorCodeanyOf (string | null)Required in this branch

        At least one of these variants must match.

        View nested fields
        • anyOf 1stringSchema branch

          pattern: "^[a-z][a-z0-9_]{0,79}$"

        • anyOf 2nullSchema branch
      • reviewedbooleanRequired in this branch
      • deliveryanyOf (object; allOf (unspecified) | null)Optional in this branch

        Optional current delivery evidence for the exact retained message. Separate from dispatch acceptance. Null or absent means no retained verdict; it never permits a resend.

        At least one of these variants must match.

        View nested fields
        • anyOf 1object; allOf (unspecified)Schema branch

          All of these schema rules apply together.

          View branch fields and rules
          • statusstringRequired in this branch

            Allowed values: ["pending","sent","delivered","read","played","failed","unknown"]

          • updatedAtstring | null · date-timeRequired in this branch
          • erroranyOf (object | null)Required in this branch

            Bounded Meta delivery-error code, when supplied. No raw provider payload. A code does not prove the recipient-specific cause.

            At least one of these variants must match.

            View nested fields
            • anyOf 1objectSchema branch
              View branch fields and rules
              • codeintegerRequired in this branch

                minimum: 1maximum: 2147483647

              • additionalPropertiesno value allowedSchema rule
            • anyOf 2nullSchema branch
          • allOf 1unspecifiedSchema branch
            View branch fields and rules
            • ifobjectSchema rule
              View branch fields and rules
              • statusunspecifiedCondition predicate
                View nested fields
                • notstringSchema rule

                  This rule must not match.

                  Value: "failed"

            • thenobjectSchema rule
              View branch fields and rules
              • errornullOptional in this branch
          • additionalPropertiesno value allowedSchema rule
        • anyOf 2nullSchema branch
      • additionalPropertiesno value allowedSchema rule
    • anyOf 2nullSchema branch
  • currentUnavailableReasonstring | nullRequired

    Allowed values: ["conversation_not_found",null]

  • replayedbooleanRequired
  • allOf 1unspecifiedSchema branch
    View branch fields and rules
    • ifobjectSchema rule
      View branch fields and rules
      • currentnullCondition predicate
    • thenobjectSchema rule
      View branch fields and rules
      • currentUnavailableReasonstringOptional in this branch

        Value: "conversation_not_found"

    • elseobjectSchema rule
      View branch fields and rules
      • currentUnavailableReasonnullOptional in this branch
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "receipt": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "operationId": {
          "type": "string",
          "format": "uuid"
        },
        "conversationId": {
          "type": "string",
          "format": "uuid"
        },
        "expectedVersion": {
          "type": "string",
          "pattern": "^cv(?:0|[1-9][0-9]*)$",
          "description": "Original control version, as acknowledged by the conversation API. Never replace this value during recovery."
        },
        "kind": {
          "enum": [
            "text",
            "media",
            "template"
          ]
        },
        "requestHash": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        },
        "externalActorRef": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 200,
              "minLength": 1,
              "pattern": "^[^\\u0000-\\u001f\\u007f]*\\S[^\\u0000-\\u001f\\u007f]*$"
            },
            {
              "type": "null"
            }
          ],
          "description": "Optional audit label from your backend, preserved exactly. CRAD does not verify this external user identity; it grants no permission."
        }
      },
      "required": [
        "operationId",
        "conversationId",
        "expectedVersion",
        "kind",
        "requestHash",
        "externalActorRef"
      ]
    },
    "current": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "messageId": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "uuid"
                },
                {
                  "type": "null"
                }
              ]
            },
            "attemptId": {
              "type": "string",
              "format": "uuid"
            },
            "state": {
              "enum": [
                "pending",
                "accepted",
                "rejected",
                "unknown"
              ]
            },
            "errorCode": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^[a-z][a-z0-9_]{0,79}$"
                },
                {
                  "type": "null"
                }
              ]
            },
            "reviewed": {
              "type": "boolean"
            },
            "delivery": {
              "anyOf": [
                {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "status": {
                      "enum": [
                        "pending",
                        "sent",
                        "delivered",
                        "read",
                        "played",
                        "failed",
                        "unknown"
                      ]
                    },
                    "updatedAt": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    },
                    "error": {
                      "anyOf": [
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "properties": {
                            "code": {
                              "type": "integer",
                              "minimum": 1,
                              "maximum": 2147483647
                            }
                          },
                          "required": [
                            "code"
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Bounded Meta delivery-error code, when supplied. No raw provider payload. A code does not prove the recipient-specific cause."
                    }
                  },
                  "required": [
                    "status",
                    "updatedAt",
                    "error"
                  ],
                  "allOf": [
                    {
                      "if": {
                        "properties": {
                          "status": {
                            "not": {
                              "const": "failed"
                            }
                          }
                        },
                        "required": [
                          "status"
                        ]
                      },
                      "then": {
                        "properties": {
                          "error": {
                            "type": "null"
                          }
                        }
                      }
                    }
                  ]
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional current delivery evidence for the exact retained message. Separate from dispatch acceptance. Null or absent means no retained verdict; it never permits a resend."
            }
          },
          "required": [
            "messageId",
            "attemptId",
            "state",
            "errorCode",
            "reviewed"
          ],
          "description": "accepted means Meta accepted the send; it does not mean delivered or read. unknown means delivery cannot yet be established. reviewed only acknowledges this uncertainty and never resends. A later verified callback can settle the original attempt."
        },
        {
          "type": "null"
        }
      ]
    },
    "currentUnavailableReason": {
      "enum": [
        "conversation_not_found",
        null
      ]
    },
    "replayed": {
      "type": "boolean"
    }
  },
  "required": [
    "receipt",
    "current",
    "currentUnavailableReason",
    "replayed"
  ],
  "allOf": [
    {
      "if": {
        "properties": {
          "current": {
            "type": "null"
          }
        }
      },
      "then": {
        "properties": {
          "currentUnavailableReason": {
            "const": "conversation_not_found"
          }
        }
      },
      "else": {
        "properties": {
          "currentUnavailableReason": {
            "type": "null"
          }
        }
      }
    }
  ]
}

Errors and recovery

Error responses declared in the contract (12)

The preview contract shares generic error definitions across operations. This list is not an exhaustive list of runtime errors.

401 · Missing or invalid Management credential.
Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "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 authority or scope denied, browser Origin refused, or inbox not enabled.
Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "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 · Conversation, retained message or usable media not found. Expired or foreign upload handles cannot be sent.
Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "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
Cache-Control schema
{
  "const": "no-store"
}

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "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, consent, control ownership or service window prevents this command; OPERATION_CONFLICT means the same UUID was used with different input. Unknown prior sends require review, never automatic redispatch.
Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "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 · Control version changed. Do not silently update If-Match on the original command.
Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
413 · Request or file exceeds the supported size.
Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "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 · Unsupported Content-Type, unsupported media or mismatch between declared MIME and file content.
Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "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 or ambiguous input, unsupported query parameter, UUID or body field.
Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "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 · Missing required Idempotency-Key or If-Match.
Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
429 · Request or send quota exceeded. Honor Retry-After when present.
Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "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 · Outcome may be uncertain. Keep the original request identity and use the read-only recovery endpoint; do not create a fresh send.
Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "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"
  ]
}