Error Response Codes

The Mobile Text API returns HTTP status codes and JSON-based error codes and messages.

HTTP Status Codes

Each request to the API will return an HTTP status code, a three-digit code that indicates the outcome of the request.

Code
Description

200

Success

Indicates a successful request and will contain response headers with addition details about the request.

400

BadRequestError

Indicates that the request was malformed or invalid.

401

UnauthorizedError

Indicates that the client is not authorized to access the requested resource. Make sure you are including a valid API Key in the request header.

403

ForbiddenError

Indicates the client is authenticated but not authorized to access the requested resource.

429

RateLimitError

Indicates too many requests to the server within a window of time, exceeding the allowed rate limit for that endpoint.

500

InternalServerError

Indicates the server encountered an unexpected error that prevented it from fulfilling the request. This usually means there is an issue with the server, not the request.

Last updated

Was this helpful?