Logo
api.video's Public API Documentation

Generate an upload token

POST {{baseUrl}}/upload-tokens

Generates an upload token that can be used to replace the API Key. More information can be found here

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status OK

{ "token": "<string>", "ttl": "<integer>", "createdAt": "<dateTime>", "expiresAt": "<dateTime>" }



Curl
curl -X POST 'https://ws.api.video/upload-tokens' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"ttl":0}'

ENDPOINTS