Error Messages
The list below indicates possible errors you might encounter while integrating and using the api. It includes the error response as well as a description of how you can resolve the error.
Missing credentials
No API key was sent, either as a basic authorization header or as username and password query parameters.
Status code: 401
{
"success": false,
"message": "Unauthorized. Authentication required.",
"recipients": []
}Invalid credentials
The API key username or secret is wrong, or the key has been deleted. Check that you are using a key created for the environment you are calling.
Status code: 401
{
"success": false,
"message": "Unauthorized. Invalid API credentials.",
"recipients": []
}Both 401 responses include the header WWW-Authenticate: Basic realm="SMSLeopard API".
Temporary server error
The API could not check your credentials because of a problem on our side. Retry the request.
Status code: 500
{
"success": false,
"message": "Unable to perform request, please retry.",
"recipients": []
}