Errors
whatsapp_number_not_connected
No connected WhatsApp number.
| HTTP status | Type | Code |
|---|---|---|
| 409 | conflict_error | whatsapp_number_not_connected |
What it means
Your workspace has no WhatsApp Business number that can send, or the phoneId you sent is not one of your connected numbers. Finish connecting a number in the console (WhatsApp → Numbers), or leave phoneId out to send from your default number.
How to handle it
Fetch the resource again to see its current state, then decide whether to retry.
Example response
{
"detail": "No connected WhatsApp number.",
"error": {
"type": "conflict_error",
"code": "whatsapp_number_not_connected",
"message": "No connected WhatsApp number.",
"param": null,
"docUrl": "https://docs.callmitra.ai/errors/whatsapp_number_not_connected",
"requestId": "req_3f9c2a7d1b8e4c6a9f0e2d4b6a8c0e1f"
}
}Branch on error.code; it never changes once published. The message text can change. See Errors for the envelope.
Returned by
POST /api/v1/whatsapp/messages— Send a WhatsApp message