Skip to content

Base URL & Errors ​

Base URL ​

All API endpoints are served from:

https://whatsapp-backend.developnetwork.net/api/v1

Request format ​

  • All request bodies must be JSON (Content-Type: application/json).
  • All responses are JSON.

HTTP status codes ​

CodeMeaning
200Success
201Resource created
401Unauthorized — missing or invalid API key
404Resource not found (e.g. account_id doesn't belong to you)
422Validation error or message send failure
429Rate limit exceeded — slow down and retry
500Internal server error — contact support

Error response shape ​

When a request fails, the response body always includes an error field and optionally a human-readable message:

json
{
  "error": "Unauthorized",
  "message": "Provide your API key via Authorization: Bearer <key>."
}

Validation errors (422) ​

Validation failures include a errors map keyed by field name:

json
{
  "message": "The to field is required.",
  "errors": {
    "to": ["The to field is required."]
  }
}

Retry guidance ​

StatusRetry?
401No — fix your API key
404No — fix the resource ID
422No — fix the request body
429Yes — wait 60 s then retry
5xxYes — use exponential back-off

Built with ❤️ on top of the WhatsApp Business API.