Skip to main content
POST
Get upload URL
For cases when your file is not public accessible, you can upload your file to the pyannoteAI servers using this endpoint. For a complete guide on uploading files, see the How to Upload Files tutorial.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
url
string
required

The url should be in the form media://object-key where the object-key can be any alpha-numeric string. The object-key is unique to your account API token so there is no risk of collision with other users.

Maximum string length: 255
Pattern: /^media:\/\/[a-zA-Z0-9\-_\.\/]+$/

Response

url
string
required