CRADDevelopers
English

Acknowledge an uncertain send

Before going live — check deployed capabilities, grants and your integration’s readiness.

Check deployed capabilities, key grants and business readiness in your environment. HTTP examples were captured in isolated tests; their local-unreleased provenance neither says the API is offline nor certifies your integration. Customer self-service uses the business-configured WhatsApp authentication template; SMS is not supported. Authorized admin contact recording is a separate action without a code.

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

Behavior

Explicitly acknowledge an uncertain send using its retained message or unresolved attempt ID. This does not confirm delivery, cancel, resend or change bot control. A later verified provider callback may settle the original attempt. Recovery uses conversation-operations/{operationId}. Review authority is separate from send permission.

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:write

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-operations/{operationId} before an explicit retry. Checking is read-only. Keep any original If-Match; a newer current control state does not rewrite the accepted receipt.

  • conversationIdpath · stringRequired
    Format and constraints
    conversationId schema
    {
      "type": "string",
      "format": "uuid"
    }
  • messageIdpath · stringRequired
    Format and constraints
    messageId 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"
    }

Request body · required

application/json · BusinessConversationReviewInput

  • externalActorRefanyOf (string | null)Optional

    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
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "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": []
}

Successful responses

200 · BusinessConversationResult

Current authorized result.

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

application/json · BusinessConversationResult

All of these schema rules apply together.

  • receiptoneOf (object | object | object | object)Required

    Immutable accepted command receipt, with canonical lowercase CRAD UUIDs and absent externalActorRef represented as null. Retained until tenant deletion, independently of transcript retention. Its result is historical; use current for current control/read state.

    Exactly one of these variants must match.

    View nested fields
    • oneOf 1 · action = "open_contact"objectSchema branch
      View branch fields and rules
      • operationIdstring · uuidRequired in this branch
      • actionstringRequired in this branch

        Value: "open_contact"

      • requestobjectRequired in this branch
        View nested fields
        • customerIdstring · uuidRequired in this branch
        • externalActorRefanyOf (string | null)Required 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
      • resultobjectRequired in this branch
        View nested fields
        • conversationIdstring · uuidRequired in this branch
        • additionalPropertiesno value allowedSchema rule
      • additionalPropertiesno value allowedSchema rule
    • oneOf 2 · action = "mark_read"objectSchema branch
      View branch fields and rules
      • operationIdstring · uuidRequired in this branch
      • actionstringRequired in this branch

        Value: "mark_read"

      • requestobjectRequired in this branch
        View nested fields
        • conversationIdstring · uuidRequired in this branch
        • messageIdstring · uuidRequired in this branch
        • externalActorRefanyOf (string | null)Required 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
      • resultobjectRequired in this branch
        View nested fields
        • okbooleanRequired in this branch

          Value: true

        • additionalPropertiesno value allowedSchema rule
      • additionalPropertiesno value allowedSchema rule
    • oneOf 3 · action = "set_control"objectSchema branch
      View branch fields and rules
      • operationIdstring · uuidRequired in this branch
      • actionstringRequired in this branch

        Value: "set_control"

      • requestobjectRequired in this branch
        View nested fields
        • conversationIdstring · uuidRequired in this branch
        • modestringRequired in this branch

          Allowed values: ["human","bot"]

        • expectedVersionintegerRequired in this branch

          minimum: 0maximum: 9007199254740991

        • externalActorRefanyOf (string | null)Required 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
      • resultobjectRequired in this branch
        View nested fields
        • botModestringRequired in this branch

          Allowed values: ["human","bot"]

        • controlVersionintegerRequired in this branch

          minimum: 0maximum: 9007199254740991

        • additionalPropertiesno value allowedSchema rule
      • additionalPropertiesno value allowedSchema rule
    • oneOf 4 · action = "review_unknown"objectSchema branch
      View branch fields and rules
      • operationIdstring · uuidRequired in this branch
      • actionstringRequired in this branch

        Value: "review_unknown"

      • requestobjectRequired in this branch
        View nested fields
        • conversationIdstring · uuidRequired in this branch
        • messageIdstring · uuidRequired in this branch
        • externalActorRefanyOf (string | null)Required 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
      • resultobjectRequired in this branch
        View nested fields
        • okbooleanRequired in this branch

          Value: true

        • additionalPropertiesno value allowedSchema rule
      • additionalPropertiesno value allowedSchema rule
  • currentanyOf (object | null)Required

    At least one of these variants must match.

    View nested fields
    • anyOf 1objectSchema branch
      View branch fields and rules
      • conversationobjectRequired in this branch
        View nested fields
        • idstring · uuidRequired in this branch
        • customerIdanyOf (string | null)Required in this branch

          At least one of these variants must match.

          View nested fields
          • anyOf 1string · uuidSchema branch
          • anyOf 2nullSchema branch
        • customerNameanyOf (string | null)Required in this branch

          At least one of these variants must match.

          View nested fields
          • anyOf 1stringSchema branch

            maxLength: 1000

          • anyOf 2nullSchema branch
        • customerPhonestringRequired in this branch

          pattern: "^[0-9]{5,20}$"

        • lastMessageAtanyOf (string | null)Required in this branch

          At least one of these variants must match.

          View nested fields
          • anyOf 1string · date-timeSchema branch
          • anyOf 2nullSchema branch
        • lastMessageTextanyOf (string | null)Required in this branch

          At least one of these variants must match.

          View nested fields
          • anyOf 1stringSchema branch

            maxLength: 16384

          • anyOf 2nullSchema branch
        • lastMessageKindanyOf (string | null)Required in this branch

          At least one of these variants must match.

          View nested fields
          • anyOf 1stringSchema branch

            maxLength: 64

          • anyOf 2nullSchema branch
        • unreadCountintegerRequired in this branch

          minimum: 0maximum: 2147483647

        • botModestringRequired in this branch

          Allowed values: ["human","bot"]

        • controlVersionintegerRequired in this branch

          minimum: 0maximum: 9007199254740991

        • versionstringRequired in this branch

          Opaque control version returned by this API. Send it quoted in If-Match when changing control.

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

        • isBlockedbooleanRequired in this branch
        • attentionReasonanyOf (string | null)Required in this branch

          At least one of these variants must match.

          View nested fields
          • anyOf 1stringSchema branch

            maxLength: 1000

          • anyOf 2nullSchema branch
        • serviceWindowobject; oneOf (object | object)Optional in this branch

          Computed from a verified live incoming customer message. History import, opening a conversation, a staff reply or taking control does not open or extend the window. This is separate from connection readiness and permission to send.

          Exactly one of these variants must match.

          View nested fields
          • openbooleanRequired in this branch
          • expiresAtanyOf (string | null)Required in this branch

            At least one of these variants must match.

            View nested fields
            • anyOf 1string · date-timeSchema branch
            • anyOf 2nullSchema branch
          • oneOf 1 · open = trueobjectSchema branch
            View branch fields and rules
            • openbooleanOptional in this branch

              Value: true

            • expiresAtstring · date-timeOptional in this branch
          • oneOf 2 · open = falseobjectSchema branch
            View branch fields and rules
            • openbooleanOptional in this branch

              Value: false

            • expiresAtnullOptional in this branch
          • additionalPropertiesno value allowedSchema rule
        • nextAppointmentanyOf (object | null)Optional in this branch

          Optional context, disclosed only with current appointments:read and a calendar grant covering that appointment. Null can mean absent, withheld or unavailable; it is not proof that no booking exists. Use the authorized calendar API for appointment details.

          At least one of these variants must match.

          View nested fields
          • anyOf 1objectSchema branch
            View branch fields and rules
            • idstring · uuidRequired in this branch
            • startTimestring · date-timeRequired in this branch
            • statusstringRequired in this branch

              maxLength: 64

            • additionalPropertiesno value allowedSchema rule
          • anyOf 2nullSchema branch
        • additionalPropertiesno value allowedSchema rule
      • lastReadAtanyOf (string | null)Required in this branch

        At least one of these variants must match.

        View nested fields
        • anyOf 1string · date-timeSchema branch
        • anyOf 2nullSchema branch
      • lastReadMessageIdanyOf (string | null)Required in this branch

        At least one of these variants must match.

        View nested fields
        • anyOf 1string · uuidSchema branch
        • 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": {
      "oneOf": [
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "operationId": {
              "type": "string",
              "format": "uuid"
            },
            "action": {
              "const": "open_contact"
            },
            "request": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "customerId": {
                  "type": "string",
                  "format": "uuid"
                },
                "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": [
                "customerId",
                "externalActorRef"
              ]
            },
            "result": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "conversationId": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "required": [
                "conversationId"
              ]
            }
          },
          "required": [
            "operationId",
            "action",
            "request",
            "result"
          ]
        },
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "operationId": {
              "type": "string",
              "format": "uuid"
            },
            "action": {
              "const": "mark_read"
            },
            "request": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "conversationId": {
                  "type": "string",
                  "format": "uuid"
                },
                "messageId": {
                  "type": "string",
                  "format": "uuid"
                },
                "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": [
                "conversationId",
                "messageId",
                "externalActorRef"
              ]
            },
            "result": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "ok": {
                  "const": true
                }
              },
              "required": [
                "ok"
              ]
            }
          },
          "required": [
            "operationId",
            "action",
            "request",
            "result"
          ]
        },
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "operationId": {
              "type": "string",
              "format": "uuid"
            },
            "action": {
              "const": "set_control"
            },
            "request": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "conversationId": {
                  "type": "string",
                  "format": "uuid"
                },
                "mode": {
                  "type": "string",
                  "enum": [
                    "human",
                    "bot"
                  ]
                },
                "expectedVersion": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "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": [
                "conversationId",
                "mode",
                "expectedVersion",
                "externalActorRef"
              ]
            },
            "result": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "botMode": {
                  "type": "string",
                  "enum": [
                    "human",
                    "bot"
                  ]
                },
                "controlVersion": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                }
              },
              "required": [
                "botMode",
                "controlVersion"
              ]
            }
          },
          "required": [
            "operationId",
            "action",
            "request",
            "result"
          ]
        },
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "operationId": {
              "type": "string",
              "format": "uuid"
            },
            "action": {
              "const": "review_unknown"
            },
            "request": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "conversationId": {
                  "type": "string",
                  "format": "uuid"
                },
                "messageId": {
                  "type": "string",
                  "format": "uuid"
                },
                "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": [
                "conversationId",
                "messageId",
                "externalActorRef"
              ]
            },
            "result": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "ok": {
                  "const": true
                }
              },
              "required": [
                "ok"
              ]
            }
          },
          "required": [
            "operationId",
            "action",
            "request",
            "result"
          ]
        }
      ],
      "description": "Immutable accepted command receipt, with canonical lowercase CRAD UUIDs and absent externalActorRef represented as null. Retained until tenant deletion, independently of transcript retention. Its result is historical; use current for current control/read state."
    },
    "current": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "conversation": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "customerId": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "uuid"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "customerName": {
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 1000
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "customerPhone": {
                  "type": "string",
                  "pattern": "^[0-9]{5,20}$"
                },
                "lastMessageAt": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "date-time"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "lastMessageText": {
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 16384
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "lastMessageKind": {
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 64
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "unreadCount": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 2147483647
                },
                "botMode": {
                  "type": "string",
                  "enum": [
                    "human",
                    "bot"
                  ]
                },
                "controlVersion": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "version": {
                  "type": "string",
                  "pattern": "^cv(?:0|[1-9][0-9]*)$",
                  "description": "Opaque control version returned by this API. Send it quoted in If-Match when changing control."
                },
                "isBlocked": {
                  "type": "boolean"
                },
                "attentionReason": {
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 1000
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "serviceWindow": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "open": {
                      "type": "boolean"
                    },
                    "expiresAt": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "open",
                    "expiresAt"
                  ],
                  "description": "Computed from a verified live incoming customer message. History import, opening a conversation, a staff reply or taking control does not open or extend the window. This is separate from connection readiness and permission to send.",
                  "oneOf": [
                    {
                      "properties": {
                        "open": {
                          "const": true
                        },
                        "expiresAt": {
                          "type": "string",
                          "format": "date-time"
                        }
                      }
                    },
                    {
                      "properties": {
                        "open": {
                          "const": false
                        },
                        "expiresAt": {
                          "type": "null"
                        }
                      }
                    }
                  ]
                },
                "nextAppointment": {
                  "anyOf": [
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "startTime": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "status": {
                          "type": "string",
                          "maxLength": 64
                        }
                      },
                      "required": [
                        "id",
                        "startTime",
                        "status"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Optional context, disclosed only with current appointments:read and a calendar grant covering that appointment. Null can mean absent, withheld or unavailable; it is not proof that no booking exists. Use the authorized calendar API for appointment details."
                }
              },
              "required": [
                "id",
                "customerId",
                "customerName",
                "customerPhone",
                "lastMessageAt",
                "lastMessageText",
                "lastMessageKind",
                "unreadCount",
                "botMode",
                "controlVersion",
                "version",
                "isBlocked",
                "attentionReason"
              ]
            },
            "lastReadAt": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "date-time"
                },
                {
                  "type": "null"
                }
              ]
            },
            "lastReadMessageId": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "uuid"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "conversation",
            "lastReadAt",
            "lastReadMessageId"
          ]
        },
        {
          "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 (11)

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"
  ]
}
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"
  ]
}