Creating and rotating API keys
Create an API key for a project, choose its permissions, and rotate or revoke it safely.
API keys let your server, scripts and the SDKs use the PixViro API. Each key works for one project only. Owners, admins and developers can manage keys.
Create a key
- Open API keys in the sidebar (under Developers). Each project has its own section.
- Click New key, give it a name (for example "Production backend") and tick the Permissions it needs.
- Click Create key and copy the key right away. This is the only time the full key is shown.
Give each key only the permissions it needs, and keep keys on your server. Never put them in website code that runs in the browser; for uploads from the browser, use signed uploads or the upload widget instead (Uploading).
Rotate a key
Rotate creates a new key with the same name and permissions. Choose how long the old one keeps working (1 hour, 24 hours or 7 days) so you can deploy the new key first, or revoke the old one immediately if it has leaked.
Revoke a key
Revoke stops a key right away: any request using it fails. Each key shows when it was last used, which helps you spot keys you no longer need.
The same page links to the API reference and a Postman collection. To get started with code, see the Quickstart.