Skip to main content
Errors return a stable JSON shape:

Plan restrictions

A valid, correctly signed request can still return 403 when a feature is unavailable on the company’s current plan.

State conflicts

Ticket mutations can return 409 if another request changes the chat or ticket while the operation is being processed. Refresh the ticket state before deciding whether to retry. Assignment and status mutations have different queue rules. Use the assignee endpoint to enter or leave pending_assignment. Trying to activate or close a queued ticket through the status endpoint returns 400 (40042); pending_assignment itself is not an accepted status request value. Removing the assignee of an already queued ticket, or changing the assignee of a new or inactive ticket, returns 400 (40043). Assigning an AI employee from the queue is rejected with 403 (40311). GET /v1/attachments/{attachmentId}/external-url supports stored VK video attachments. Code 4041501 means the attachment was not found for the API key company; 4041502 means it does not support this external-link operation. Code 5031502 means provider access is unavailable. Request a fresh URL once provider access is restored.

Embed sending restrictions

The iframe can prevent sending when a channel is disconnected, an account has sending restrictions or a cooldown, file storage is unavailable, or an attachment exceeds the channel’s limits. Capabilities grant access to an action; they do not guarantee that the action can complete in the channel’s current state. A send with an unresolved outcome is not a confirmed delivery failure. Avoid sending the same message again while its outcome remains unknown. See Telegram Account and attachment limits. A queued request must be assigned before sending. WhatsApp also enforces its reply permissions and template requirement for new outbound conversations; attachment upload alone does not grant permission to send.