Authentication
Every request carries your API key as a bearer token.
On the Agency plan
Send your key
Put your key in the Authorization header of every request.
Authorization:The headerBearerThis word, as writtenYOUR_API_KEYFrom API keys
Terminal
curl -H "Authorization: Bearer $CLEARREADOUT_KEY" https://app.clearreadout.com/api/v1/meKeep it safe
- Keep it out of your codeUse a variable or a secrets store.
- Name every keySo you know where each one is used.
- Revoke what you don't needRevoke a key on API keys and it stops working at once.