Skip to main content
The Sync API turns up to 120 seconds of speech into one finished transcript, returned in the same HTTP call. No job to poll, no WebSocket to manage. This page gets you from a microphone to that transcript on the fastest path the API offers. The upload runs while the person is still speaking, so what you wait for at the end is only the last stretch of audio.

Before you begin

  • An API key. Copy it from API Keys and set it once:
  • The SDK.

Transcribe from a microphone

Open a session, hand it audio as you capture it, and read the result when the speaker stops.
Run it, say a sentence, stop the recording. You’ll see the transcript:
The result also carries per-word confidence, the overall confidence, the audio duration, and a session_id to quote if you contact support. Microphone audio is raw PCM with no header, which is why the config names the sample rate and channel count.

Where to next

  • Transcribe a short audio file: audio you already have in full, plus every request option: model, language, word timestamps, raw PCM, and calling the API without an SDK.
  • Transcribe live audio: hand transcribe_live() any source that produces audio over time, such as a call, a WebSocket, or an upload from a browser.
  • Connection pre-warming: call warm() the moment you know audio is coming to take the handshake off the critical path.
  • API reference: every header, part, and field.

Need help?

Contact support@assemblyai.com or open a support ticket. Include the session_id from the response.