Table
| HTTP | Meaning and examples |
|---|---|
200 |
Successful operation, success: true |
401 |
API token missing or invalid |
402 |
Insufficient funds or a top-up is required. Codes insufficient_balance, insufficient_paid_balance, sms_payment_required |
403 |
Access restricted. Codes domain_required, domain_mismatch, account_suspended, repeat_blocked |
409 |
A request with this Idempotency-Key is still in progress |
422 |
Invalid input, wrong or expired code, a disabled channel, or a body conflict with an Idempotency-Key |
429 |
Resend cooldown or too many send or verify requests |
503 |
The channel is unavailable or the send failed. Codes channel_unavailable and delivery_failed |
On 429, use Retry-After or retry_after when present. Validation responses may contain an errors object.
Example messages
Live API returns these strings in Russian:
- «Неверный формат номера телефона»
- «Недостаточно токенов рассылки. Пополните баланс.»
- «Подождите перед повторной отправкой OTP»
- «WhatsApp не подключён. Обратитесь к администратору.»
- «Неверный или просроченный код»
Branch on error_code / HTTP status, not on message wording.
See rate-limits, top-up, FAQ, documentation.