API keys
API keys authenticate requests to the Prudra API. Each organisation has separate test and live keys.Key formats
| Format | Environment | Example |
|---|---|---|
prv_test_sk_... | Test (sandbox) | prv_test_sk_abc123... |
prv_live_sk_... | Live (production) | prv_live_sk_abc123... |
Create an API key
- Dashboard
- cURL
Go to Settings → API Keys and click Create key.
List API keys
Revoke an API key
Best practices
- Store keys in environment variables, never in code
- Use separate keys per deployment (staging vs production)
- Rotate keys regularly — create new, update servers, revoke old
- Revoke keys immediately if they may have been exposed
Related
- Authentication — how to use API keys in requests
- Members — control who can create keys
- Security overview — key custody model

