Authentication

In order to authenticate with the Kaddy API you should use an Authorization header with a Bearer token and an X-Tenant header to identify the tenant. Here's how to add the request headers using cURL:

Example request with Bearer token and X-Tenant header

curl https://api.kaddy.cloud/v1/orders \
  -H "Authorization: Bearer {token}" \
  -H "X-Tenant: {tenant ID}"

If one of both headers is missing, the Bearer token is invalid or the tokens user is not associated with the tenant a 401 Unauthorized response will be returned.

Response

   {
       "error": "Unauthenticated"
   }

Contact us at to get your token and Tenant ID.