Skip to main content
POST
/
v2
/
upload
Upload a media file
curl --request POST \
  --url https://api.assemblyai.com/v2/upload \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/octet-stream' \
  --data '"<string>"'
{
  "upload_url": "https://cdn.assemblyai.com/upload/f756988d-47e2-4ca3-96ce-04bb168f8f2a"
}

Documentation Index

Fetch the complete documentation index at: https://assemblyai.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Body

application/octet-stream

The body is of type file.

Response

Media file uploaded successfully

upload_url
string<url>
required

A URL that points to your audio file, accessible only by AssemblyAI's servers