Dojah APIs return standard HTTP status codes with structured JSON responses. Use the status
, message
, and reference_id
fields to determine the outcome and take appropriate action.
200 OK
β Request Successful400 Bad Request
β Invalid Request401 Unauthorized
β Invalid API Keyapi-key
header is present and correct
402 Payment Required
β Top-Up Your Balance403 Forbidden
β Access Denied404 Not Found
β Resource Not Found405 Method Not Found
β Invalid Method408 Request Timeout
β Request Timed Out424 Failed Dependency
β Third-party Failure429 Too Many Requests
β Rate Limit Exceeded500 Internal Server Error
β Unexpected Error504 Gateway Timeout
β Request Timed Out