Start a direct upload
/v1/projects/{projectId}/calls/upload-urlReturns a short-lived URL to PUT the audio file to, with exactly the given Content-Type and Content-Length headers. Size, format, access and allowance are checked first, so a file that couldn't be processed isn't uploaded. Finish with POST /upload-complete.
Authorization
ApiKeyAuth Organization API key. Format: X-API-Key: at_live_...
In: header
Path Parameters
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
*/*
*/*
curl -X POST "https://example.com/v1/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/calls/upload-url" \ -H "Content-Type: application/json" \ -d '{ "filename": "string", "contentType": "string", "sizeBytes": 0 }'{ "uploadId": "string", "uploadUrl": "string", "expiresAt": "2019-08-24T14:15:22Z"}Upload audio for transcriptionPOST
Accepts an audio file and queues it for async processing. Returns 202 Accepted with a job ID that can be used to track progress. Optional 'language' selects the processing language (pl or en); omitted means the project's defaultLanguage.
Queue a direct upload for transcriptionPOST
Call after the PUT to the upload URL succeeded. Returns 202 Accepted with a job ID (the upload ID). A duplicate returns 409 and keeps the file, so it can be completed again with force=true without re-uploading.