Turuq Onboarding

Response Status Codes

Even with careful requests, errors can occur. The Turuq API returns HTTP status codes to indicate success or the type of failure.

CodeMeaningDescription
200SuccessThe request was successful. Relevant data will be available in the data field of the JSON response.
201CreatedThe request was successful. Relevant data will be available in the data field of the JSON response.
400Bad RequestMissing or malformed parameter. Check the documentation and your request, then try again.
401UnauthorizedNo or invalid API key provided, or the account does not have access to this resource.
403ForbiddenAuthentication valid but server refuses to fulfill the request (e.g., lack of permissions).
404Not FoundThe endpoint or resource does not exist.
429Too Many RequestsRate limit exceeded. See the Rate Limits section for details.
500Internal Server ErrorAn unexpected error occurred on Turuq’s side. You may retry, but if it persists, contact support.

Note: Additional details about errors may be provided in the message property at the root level of the JSON response body.