Skip to main content
Pre-recorded audio upload is supported by: Ambient APIs, Form filling APIs
Use this flow when your product already has a WAV recording and does not need to capture the visit live. Common cases include telephony archives, device recordings, and repeatable staging fixtures. You still authenticate, create a session, and seed context when your product needs it. Instead of opening /ws/stream, you ask Suki for a one-time upload URL, PUT the WAV once, and wait. When the upload finishes, Suki starts processing. Do not call end session for this flow. Ambient and Form filling share the upload URL endpoint under /api/v1/ambient/.... Pass the Ambient ambient_session_id for Ambient, or the Form filling ambient_session_id for Form filling. Do not mix those IDs. For when to choose upload versus live streaming or finished transcript text, refer to Session input types and Provide a pre-recorded audio file.

Shared rules

  • Create with input_type audio_file before you mint the upload URL.
  • Mint with GET /api/v1/ambient/audio/file-uploadurl/{ambient_session_id}, then PUT one WAV to presigned_url_response.url.
  • Required PUT headers: Content-Type: audio/wave and x-goog-if-generation-match: 0.
  • One WAV per session, at most 500 MB. Do not call end session. Do not open /ws/stream.
  • Wrong option for the session returns ING_SDK_005. A second submit returns ING_SDK_006. Option disabled returns 403.

Flow

The shared upload path is the same on Ambient and Form filling. Product-specific create, context, and retrieve steps live in the how-tos below. Flowchart: Yes, No, Create session input_type audio_file, Seed context?, POST session context, GET file-uploadurl, PUT WAV with signed headers, AI processing starts, Webhook configured?, Receive notification, Poll session status, Retrieve content transcript structured data. Flowchart: Yes, No, Create session input_type audio_file, Seed context?, POST session context, GET file-uploadurl, PUT WAV with signed headers, AI processing starts, Webhook configured?, Receive notification, Poll session status, Retrieve content transcript structured data.

Build the shared upload flow

These steps are the same on Ambient and Form filling. Open the product how-to for create, context, and retrieve details.
1

Create the Session with Audio File Input

Create on Ambient or Form filling with input_type set to audio_file. Store the returned ambient_session_id for that product.
2

Seed Session Context

Seed visit context for Ambient, or seed at least one template or schema for Form filling, before you mint the upload URL when your product needs those fields.
3

Get the Upload URL

Call GET Get audio file upload URL with the session id from create.Read presigned_url_response.url and finish the upload before the URL expires.
4

PUT the WAV File

Upload one WAV with both signed headers:
Do not call end session. The successful PUT starts processing.
5

Wait for Processing, Then Retrieve Outputs

Poll status or wait for your webhook on the same product. Retrieve Ambient note content or Form filling structured data when status is completed.

Pick your product how-to

Ambient APIs

Ambient create, visit context, WAV upload, then note content.

Form Filling APIs

Form filling create, template context, WAV upload, then structured data.

Troubleshooting

Shared upload usually fails when the session was not created as audio_file, when you mix Ambient and Form filling session IDs, or when you treat a second mint or overwrite PUT as a retry.
The session was not created with input_type audio_file. Create a new session with that value on the same product, then mint again.
Input was already submitted for this session, or you tried to overwrite the uploaded object. Upload one WAV per session. Create a new session for another file.
Audio file upload is disabled for the environment. Contact support if you need the path enabled.
Pass the Ambient id for Ambient flows, or the Form filling id for Form filling flows. Do not mix those identifiers on the shared upload endpoint.

Next steps

Upload pre-recorded audio - Ambient create, upload, and retrieve steps. Upload pre-recorded audio - Form filling create, upload, and structured-data steps. Provide a pre-recorded audio file - When to choose WAV upload over live stream. Get audio file upload URL - Request, upload contract, and error ids.
Last modified on November 24, 2026