Successful send
{
"success": true,
"message": "OTP отправлен через WhatsApp",
"expires_in": 300
}
Successful verify
{
"success": true,
"message": "Номер подтверждён"
}
Error
{
"success": false,
"message": "Недостаточно токенов рассылки. Пополните баланс."
}
Laravel validation responses may include an errors object — handle it alongside message.
API message strings are always Russian, whatever the docs language is. Branch on error_code / HTTP status, not on the text.
See errors, statuses, documentation, blog.