Files

Upload a media file which can be transcribed

POST
Upload your media file directly to the AssemblyAI API if it isn't accessible via a URL already.

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
$curl -X POST https://api.assemblyai.com/v2/upload \
> -H "Authorization: <apiKey>" \
> -H "Content-Type: application/octet-stream" \
> -d "data:application/octet-stream;base64,SGVsbG8gd29ybGQh"
Response
1{
2 "upload_url": "string"
3}