Authorization header.
API access requires a Starter or Growth subscription plan. Requests from accounts on other plans receive a
403 Forbidden response.Get an API key
Create an API key in your account settings:
For more details on managing keys, see the API Keys guide.
Permission levels
Each API key has one of two permission levels:| Permission | Allowed methods |
|---|---|
read_only | GET only |
all_access | GET, POST, PUT, DELETE |
read_only keys when you only need to read data (for example, fetching video lists or stats). Use all_access keys when you need to generate or delete videos.
Authenticate a request
Pass your API key as a Bearer token in theAuthorization header:
Error responses
| Scenario | Status |
|---|---|
Authorization header is missing or malformed | 401 Unauthorized |
| API key is invalid or does not exist | 401 Unauthorized |
Key has read_only permission but request uses a write method | 401 Unauthorized |
| Account plan does not include API access | 403 Forbidden |
