Authentication

The D-Caller API uses API keys to authenticate requests. You can view and manage your API keys in the Dashboard.

Security Warning

Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.

Using the API Key

You must include the API key in the Authorization header of every request:

http
Authorization: Bearer YOUR_API_KEY

Handling Errors

If the API key is missing or invalid, the API will return a 401 Unauthorized error.

json
{
  "error": {
    "code": "unauthorized",
    "message": "Invalid API Key provided."
  }
}