Browse documentation
Create, rotate, and revoke API keys
Keys authenticate every v1 request. Manage them in your workspace.
Overview
Create a key
Name it and store it in your secret manager.
Authentication
Header format, rotation, and auth errors.
Bearer token
Sent in the Authorization header.
Server-side
Keep keys in server environment variables.
5 active keys
Use one key per environment.
GET /api/v1/status
curl https://turnitpass.com/api/v1/status \
-H "Authorization: Bearer tp_live_your_api_key"
Key lifecycle
Name the key
Use names like Production or Staging so usage stays easy to read.
Copy it once
The full key is shown only once, when you create it.
Check status
Call GET /api/v1/status to confirm the key and balance.
Rotate
Deploy a new key, then revoke the old one.