Use the audio transcription API for files up to 95 MB
Send the recording in a part named file. language, diarize, source and webhook_url are optional form fields. The one-shot upload documentation specifies the multipart request. Add a completion webhook to receive the result status.
Multipart upload is a convenient starting point for a server-side integration that already has a small recording on disk. Let your HTTP client set the multipart boundary. Pass the actual file bytes, not a local path string in a JSON field. An empty file and an unsupported extension are validation errors rather than jobs worth repeatedly retrying.
File size and duration are different limits. A highly compressed recording can be below 95 MB and still exceed the five-hour speech-to-text limit. A short high-resolution video may be too large for multipart even though its audio is brief. Select the upload protocol using bytes, then check the recording duration separately.
curl -X POST "https://api.transcript1.com/v1/transcriptions?wait=60" \
-H "Authorization: Bearer $TRANSCRIPT1_API_KEY" \
-F [email protected] \
-F language=autoResumable upload for larger audio and video files
For a file up to 2 GB, reserve the upload with its name and size. The response lists the chunks and an X-Upload-Token for this one upload. Follow the chunked upload protocol for the complete request sequence.
Treat the returned chunk plan as authoritative. Each entry specifies an index, byte offset and size; read that exact range from the file. The last chunk can be shorter. The upload token authenticates the binary PUT requests and expires after one hour. It is scoped to this upload rather than being your general API key.
Use a stable Idempotency-Key for a reservation you may need to retry. If the upload token expires, repeat the reservation with the same key and parameters to obtain a fresh token for the existing upload. Creating a new reservation on every interruption leaves unnecessary open jobs and makes progress harder to reconcile.
curl -X POST "https://api.transcript1.com/v1/transcriptions" \
-H "Authorization: Bearer $TRANSCRIPT1_API_KEY" \
-H "Idempotency-Key: interview-2026-10-13" \
-H "Content-Type: application/json" \
-d '{"upload":{"filename":"interview.m4a","size":48210334,"mime_type":"audio/mp4"}}'Send chunks, then complete
PUT each chunk to its URL with the upload token, then complete the upload. transcript1 checks every chunk and queues the transcription. The upload endpoint reference lists the progress and completion routes.
Before resuming, read GET /v1/transcriptions/:id/upload and compare received_chunks with the original plan. Send only missing chunks. Sending a chunk again replaces it, but the body must still match the planned size. A 401 on a chunk request can mean the token expired; it is not a reason to regenerate the media file.
Completion verifies that every chunk arrived. A 409 upload_incomplete response identifies missing indexes so you can repair the upload. Once the job is queued, poll the transcription endpoint or wait for your webhook. Keep upload progress and transcription progress as separate states in your interface.
curl -X PUT "https://api.transcript1.com/v1/transcriptions/tr_8fK2Lm0PqRsTuVwXyZaBcD/upload/chunks/0" \
-H "X-Upload-Token: t1u_..." \
-H "Content-Type: application/octet-stream" \
--data-binary @chunk-0.bin
curl -X POST "https://api.transcript1.com/v1/transcriptions/tr_8fK2Lm0PqRsTuVwXyZaBcD/upload/complete" \
-H "Authorization: Bearer $TRANSCRIPT1_API_KEY"Keep transfer, processing and retention states separate
An awaiting_upload reservation is not a transcription already running in the background. The file is queued only after completion succeeds. Design progress messages around that distinction: bytes transferred, upload verified, then media processing. If a client loses its connection after completion, read the job before assuming that another completion request is needed.
A team can have up to 20 open upload reservations. Unfinished reservations are canceled after 24 hours and their chunks are deleted. Once processing reaches a final status, uploaded media is deleted after another 24 hours. The transcript remains until you delete it, so keep your original file separately if your product promises later audio playback.
For a user-facing upload tool, the audio-to-text guide describes recording preparation and review. For a research integration, interview transcription covers participant mapping and source-linked analysis. Those steps complement the transport protocol: successfully moving bytes is only the beginning of a useful transcript workflow.