API Responses

HTTP response codes

Response codes

Conexim DNS returns JSON response data.

In addition to call-specific responses, HTTP response codes are used to signify status. The following response codes have been implemented:

HTTP Response Description
200 Successful API call.
401 Request is not properly authenticated.
404 Returned if the object is not found.
500 Malformed request – check the parameters passed.
501 The API call is not recognised.

When developing your application, it can be assumed that response code 200 (successful API call) will return valid JSON as the response. Response codes other than 200 will represent a HTML error response.

Authorization API Calls