WasenderApi - Low Cost WhatsApp API for Developers Error Responses - API Documentation - WasenderApi - Low Cost WhatsApp API for Developers
WasenderApi API

API Documentation

WasenderApi WhatsApp API

Error Responses

Responses & Errors

Common error responses returned by the API.

Error Responses

If an API request fails, the response will contain an error message and a relevant HTTP status code. Common error scenarios are listed below.

The error response body typically follows this structure:

{
  "message": "Error description",
  "errors": { // Optional: More specific field errors
    "field_name": ["Error details"]
  }
}

Response Examples

{
    "success": false,
    "message": "Validation failed",
    "errors": {
        "to": [
            "The to field is required."
        ],
        "text": [
            "The text field is required when no media is present."
        ]
    }
}