Files

Upload a media file

POST
Upload a media file to AssemblyAI's servers.

Request

This endpoint expects binary data of type application/octet-stream.

Response

This endpoint returns an object
upload_url
string
A URL that points to your audio file, accessible only by AssemblyAI's servers
POST
1curl -X POST https://api.assemblyai.com/v2/upload \
2 -H "Authorization: <apiKey>" \
3 -H "Content-Type: application/octet-stream"
200
Successful
1{
2 "upload_url": "string"
3}