Submit an Interaction
Declare an Audio Interaction

Upload an Audio File

// Overview

Leveraging the unique interactionIdentifier provided upon successfully declaring the audio interaction, this endpoint enables you to upload a valid audio for processing directly from the host machine as a multipart/form-data request.

Pro tip: Providing access to audio files via the downloadUri is highly recommended for fastest processing times.

When this POST request successfully executes, an HTTP status is returned to indicate the request was successful and the file is in the process of being uploaded by the Service.

If an error occurs when requesting to upload interaction, a standard HTTP response code is retuned to indicate the request was unsuccessful, along with a JSON response containing additional details to assist in troubleshooting.

Remember: You can easily retrieve the processing status of your interaction at any time!



// Request Parameters & Code Examples

POST
Request
Header Parameters
X-API-Token
required
String
Valid API key associated with your account for authentication and usage tracking
Form Parameters
filename.{extension}
required
String
Parameter name will include the file type extension (example: 'filename.wav') with key providing path to local file
Curl
Node.js
JS
Python
Ruby
C#
PHP
Responses
201
400
401
409
413