> ## Documentation Index
> Fetch the complete documentation index at: https://docs.modawer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Responses

> Success and error responses shared by the queue message endpoints

## Success response

Queue message endpoints return `200 OK` when the request is accepted.

```json theme={null}
{
  "queued": true
}
```

<Tip>
  This response confirms the message was queued successfully. It does not
  confirm final delivery.
</Tip>

## Error format

All API errors follow the Problem Details specification.

## Common errors

| Status | Error                                  | Description                                                       |
| ------ | -------------------------------------- | ----------------------------------------------------------------- |
| `401`  | `Unauthorized`                         | No authenticated user and no valid `X-API-KEY`.                   |
| `400`  | `RecipientMissing`                     | The raw payload did not include `recipient`.                      |
| `400`  | `TemplateKeyRequired`                  | The raw payload did not include `template.name`.                  |
| `400`  | `WhatsAppBusinessIdRequired`           | The raw request did not include `whatsappBusinessId`.             |
| `400`  | `PhoneNumberIdRequired`                | The raw request did not include `phoneNumberId`.                  |
| `400`  | `WhatsAppBusinessIdDoesNotBelongToApp` | The WABA does not belong to the app token.                        |
| `400`  | `AppNotLinkedToWhatsAppBusiness`       | The app is not linked to a WhatsApp business account.             |
| `400`  | `TelegramChatNotLinked`                | A dev token was used but no Telegram chats are linked to the app. |
| `400`  | `RecipientRateLimitExceeded`           | The app's per-recipient rate limit was exceeded.                  |
| `400`  | `InsufficientBalance`                  | The account balance is too low to cover the message cost.         |
