Every API endpoint requires your secret API key in the x-api-key header:x-api-key: sk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Get/regenerate your key in the PressOne dashboard → Developers
(requires the Manage API Keys permission). Regenerating reveals the new key
once — store it securely.
Keys are environment-prefixed: sk_live_… (production) or sk_test_… (non-production).
Keys are stored hashed at rest; PressOne cannot recover a lost key — regenerate instead.
If your organisation is disabled, the key stops working immediately.
Auth failures return 401 Unauthorized:| Condition | message |
|---|
| Header missing | Missing header: x-api-key |
| Key not recognised | Invalid API Key |
| Organisation disabled | This organisation has been disabled. Please contact support. |
{ "success": false, "message": "Invalid API Key" }
Modified at 2026-06-23 13:51:57