API authentication
Skip to Content
Sraraa docs

API authentication

Create, scope, store and rotate workspace API tokens.

Create a token

Open Workspace → Integrations and create a token with the smallest scope that supports your automation.

Send the token

Use a Bearer authorization header over HTTPS.

curl https://api.example.com/api/v1/monitors \
  -H "Authorization: Bearer srk_..."

Rotate and revoke

Create a replacement before a planned rotation, update the consumer, verify it, then revoke the old token. Revoke immediately if exposure is suspected.