Skip to main content
GET
cURL
Use this endpoint when you need to upload a pre-recorded WAV for an Ambient or Form filling session created with input_type set to audio_file. Suki returns a one-time that you use to upload the recording with an HTTP PUT request. Include both signed headers specified below. After Suki receives the file successfully, it starts processing automatically. You do not need to call end session for audio_file sessions.

Choose the correct session ID

This endpoint supports both Ambient and Form filling:
  • Ambient: Pass the ambient_session_id of the Ambient session.
  • Form filling: Pass the ambient_session_id of the Form filling session.
Create the session with input_type: "audio_file" before requesting the upload URL. Calling this endpoint when the session input_type is not audio_file returns ING_SDK_005.
Do not use an ID created during an Ambient session for a Form filling session, or vice versa.
This endpoint is available only while the session is in the created state. After a successful upload, the session leaves this state. You cannot request another upload URL or overwrite the uploaded file for that session.

Upload contract

Upload the WAV file to presigned_url_response.url using an HTTP PUT request before the URL expires. The response includes presigned_url_response.expiry_in_minutes, which specifies how long the URL remains valid. For example, the URL may expire after 15 minutes. Include both signed headers in the PUT request: The following restrictions apply to the upload:
  • One file per session: Upload exactly one WAV file. Other audio formats are not supported.
  • Maximum file size: The WAV file must not exceed 500 MB.
  • No overwrites: The upload URL cannot be reused to overwrite the uploaded object. An overwrite attempt returns HTTP 412. Uploaded files are immutable.
  • No second upload: Once the file has been submitted successfully, you cannot mint another upload URL for the same session.
After the PUT request succeeds, poll status for the same product you created, or wait for your configured webhook. Use Get ambient session status for Ambient, or Form filling session status for Form filling. Once processing completes, retrieve content the same way you do for a streamed session on that product.

Upload response fields

Use the following fields from the response to complete and track the upload:

Errors for this endpoint

The following errors are specific to the audio file upload flow: For shared authentication and session errors, refer to Error messages. To use the correct ambient_session_id for Ambient and Form filling transcript input and audio file uploads, refer to How should developers handle ambient_session_id for transcript input and audio file upload?.

Code examples

Authorizations

sdp_suki_token
string
header
required

Suki access token (suki_token) from Login or Register. Expires after one hour.

Headers

sdp_provider_id
string

Optional for standard partners.

Required for:

  • Bearer authentication. Use the same provider_id returned by the Login or Register API.
  • Single Auth Token authentication. Include the same provider_id on every request as sdp_provider_id.
Example:

"provider-123"

Path Parameters

ambient_session_id
string
required

Session ID from create. For Ambient, use the Ambient ambient_session_id. For Form filling, use the Form filling ambient_session_id. Do not mix the two.

Response

Request succeeded.

Response body for GET /api/v1/ambient/audio/file-uploadurl/{ambient_session_id}.

presigned_url_response
object

Presigned PUT URL and object location for an audio_file upload.

Last modified on November 24, 2026