Skip to content

API keys

Create an API key and use it to call the app's API from scripts and other apps.

An API key lets a script or another app call the API as you, without signing in.

Create a key

  1. Open API keys in the sidebar and choose Create key.
  2. Give it a name (and a description if you like) and choose when it expires. You can’t change the expiry later.
  3. Copy the key. It starts with csb_ and is shown only once: if you lose it, create a new one.

Treat a key like a password. Anyone who has it can do what you can through the API.

Use it

Send the key in the Authorization header:

curl -H "Authorization: Bearer csb_…" https://sandbox.richaisolutions.com/api/me

Each key can make 120 requests a minute; past that you get 429 Too Many Requests until the minute is up. You can have up to 25 keys.

The full list of endpoints, with their requests and responses, is in the app at /api/docs.

Turn a key off

From API keys, disable a key to stop it working for a while, or delete it for good. Keys also stop working if your account is removed or blocked.

Type to search…

↑↓ navigate↵ selectEsc close