cURL
curl --request POST \ --url https://api.assemblyai.com/v2/upload \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/octet-stream'
{ "upload_url": "https://cdn.assemblyai.com/upload/f756988d-47e2-4ca3-96ce-04bb168f8f2a" }
Upload a media file to AssemblyAI’s servers.
The body is of type file.
file
Media file uploaded successfully
The response is of type object.
object