SMS API Errors Codes

The Wavecell API uses the following error codes:

HTTP Status Code Reason
204 No Content, The request has succeeded, but there is no content to send as a response.
400 Bad Request, Request has invalid syntax.
401 Unauthorized, The client must provide the correct API key in the Authorization header.
403 Forbidden, The client is authenticated but does not have permissions to the content
500 Internal Server Error, The server has encountered a situation it doesn’t know how to handle.

  • Example of error JSON object returned by the API:
{
  "code": 0,
  "message": "string",
  "errorId": "string",
  "timestamp": "2016-11-28T10:32:42.881Z"
}