Generating API Keys

Your API keys can be found in the API Keys section of the dashboard. If you don’t have an account yet, you’ll need to create one.

Using Auth Tokens

Your APIs are authenticated through Basic Authentication. This takes the form of a base64-encoded client ID and client secret, joined by a colon:

client_id:client_secret

You can encode the auth tokens yourself, or copy a code-snippet generated for you in the dashboard.

import base64
credential_string = my_client_id + ':' + my_client_secret
auth_token = base64.b64encode(credential_string.encode()).decode()

Authenticating Requests

A proper auth header will look like this:

Authorization: Basic ZGVtbzpwQDU1dzByZA==

And an authenticated cURL request will look something like:

curl -X POST --compressed "https://apps.beam.cloud/kajru" \
   -H 'Authorization: Basic [YOUR_AUTH_TOKEN]'

Was this page helpful?