Media

The media endpoint supports storing media that may not have been attained via the Sift API’s telephony features. This allows external audio to be associated with a Conversation and processed as such.

For an example on its use, see the related guide

Upload media

Upload and store media

Request

url:https://api.gridspace.com/v0/media/upload
method:POST
content-type:multipart/form-data

The request body should contain the file to be uploaded

Property Type Description
audio .wav file The audio file to be uploaded

Response

The response contains a JSON object with the id of the uploaded audio under the audio_id field

Example

{
    "audio_id": "2aa34721cbe2e013"
}