DocumentationAuthentication
Authentication
All API requests require an API key passed in the x-api-key header. For JSON requests, api_key or apiKey in the body also works.
API Key Required
All API endpoints require authentication using an API key.
Generate an API Key
Open Dashboard Settings, generate an API key, and keep it secret. Use the generated value as YOUR_API_KEY in requests.
Open Dashboard SettingsHeader Authentication
Send the API key in the x-api-key header:
x-api-key: YOUR_API_KEYBody Authentication (JSON only)
For JSON requests, you can also send api_key or apiKey in the request body:
{
"api_key": "YOUR_API_KEY",
"name": "My Video"
}Example Request
curl -X POST "https://theamplium.com/api/videos/uploads" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{ ... }'