Methods
Objects
The base URL for all REST API endpoints is https://api.callr.com/rest/v1.1/
To access our REST API, you have to use HTTP Basic authentification.
Login credentials are sent base64 encoded in a "Authorization" HTTP header, as follows:
Authorization: Basic bG9naW46cGFzc3dvcmQ=
bG9naW46cGFzc3dvcmQ= is login:password base64 encoded.
Note: In HTTP, Basic authentication can also be used in the following form:
https://login:password@api.callr.com/rest/v1.1/
When you subscribed to our products on our website, you should have automatically received your credentials (login and password) via email. If that's not the case, please contact our support team.
REST API responses will always be in the following format.
The HTTP response code will be 200.
{
"status": "success",
"data": ...
}
The HTTP response code will be 4xx or 5xx depending if your request is malformed of if there is a server issue.
{
"status": "error",
"data": {
"code": 400,
"message": "Error message"
}
}