Authentication
All API requests require a Bearer token in the Authorization header.
Create an API key
- Go to Settings > API Keys in your Prism dashboard.
- Click Create Key and give it a name.
- Copy the key immediately — it is only shown once.
Using your API key
Include the key in every request as a Bearer token:
curl https://prismvideos.com/api/templates \
-H "Authorization: Bearer prism_sk_your_key_here"
Scopes
API keys are issued with scopes that control what they can access:
| Scope | Access |
|---|
templates:read | List and fetch templates |
All keys include templates:read by default.
Key management
You can create multiple keys and revoke them independently. Revoking a key immediately prevents any further requests using that key.
Treat your API keys like passwords. Do not share them in client-side code, public repositories, or insecure channels.