Overview
TheconfirmUpload mutation confirms that a file has been successfully uploaded to the pre-signed URL and triggers the transcription process. This is the second step in the direct upload flow.
Upload Flow:
- Call createUploadUrl to get a pre-signed upload URL
- Upload your file directly to the URL using an HTTP PUT request
- Call
confirmUploadto confirm the upload and start transcription
Arguments
ConfirmUploadInput
required
Response
Boolean
Indicates whether the confirmation was successful and transcription has been queued.
String
The meeting ID for the confirmed upload.
String
A message describing the result of the confirmation.
Usage Example
Complete Upload Flow Example
Here’s a complete example showing the entire upload flow:Error Codes
object_not_found (UploadSession)
object_not_found (UploadSession)
The upload session was not found or has expired. Upload sessions expire after 1 hour. You need to call
createUploadUrl again to get a new upload URL.object_not_found (Audio/Video)
object_not_found (Audio/Video)
The file was not found in storage. Make sure you have successfully uploaded the file to the signed URL before calling this mutation.
Important Notes
- Upload sessions expire after 1 hour. If you don’t confirm within this time, you’ll need to start over with a new
createUploadUrlcall. - Make sure the file upload to the signed URL completes successfully before calling
confirmUpload. - The
meeting_idmust match the one returned fromcreateUploadUrl. - Only the user who created the upload session can confirm it.
Additional Resources
Create Upload URL
Generate a pre-signed URL for uploads
Webhooks
Receive notifications when transcription completes
Transcript
Query the transcript after processing
Upload Audio (URL)
Alternative: Upload audio via public URL