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:1
Open Settings
Navigate to Settings > API Keys in the Demomatic dashboard.
2
Create a new key
Click New API Key, give it a name, and choose a permission level.
3
Copy the key
Copy the key immediately — it is only shown once. Store it securely (for example, as an environment variable).
Permission levels
Each API key has one of two permission levels:
Use
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
See Errors for full details on error response shapes.
