Skip to content
Create an account

Authentication

Authentication #

The API uses HTTP Basic authentication. Every request must carry an Authorization header with your credentials, encoded in base64.

Your credentials

Each API key comes with two values: access_key, a public identifier, and access_secret, which you must keep secret. You will find both in the dashboard, at /api-keys.

Header format

Join the two values with a colon, then encode the result in base64:

Authorization: Basic <base64(access_key:access_secret)>

cURL example

With cURL, the -u option does the encoding for you:

curl -u 'ak_xxx:sk_xxx' https://api.callistosignal.com/v1/sms/balance