An API key lets a script or another app call the API as you, without signing in.
Create a key
- Open API keys in the sidebar and choose Create key.
- Give it a name (and a description if you like) and choose when it expires. You can’t change the expiry later.
- 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/meEach 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.