List Audio

Endpoint

https://line.cammsoft.com/v1/application/audio/list.api

Info

This endpoint returns audio records based on provided filters.

Audio data is not included with records.

Warning

This resource is only accessible to authorized applications.

Repeated authentication failures will result in the banning of the offending IP address.

GET, POST

Input Header Parameters
application-keyRequired

GET
Input Query String Parameters
accountIdOptionalFilter results by account ID.
lineIdOptionalFilter results by line ID.
POST
Input JSON Parameters
{}Object {}RequiredROOT
accountIdStringOptionalFilter results by account ID.
lineIdStringOptionalFilter results by line ID.

On Success
Output JSON Parameters
{}Object {}ROOT
audioArray []Array of audio records
{}Object {}Audio Record
applicationIdStringApplication ID
accountIdStringAccount ID
lineIdStringLine ID
nameStringIdentifying name
descriptionStringDescription of audio file.
contentTypeStringAudio content type. Ex: audio/x-wav
encodingStringString encoding of audio data. Ex: base64
stampCreatedNumberDateTime of creation of audio record.

On Failed
Output JSON Parameters
{}Object {}Root parameter type.
errorObject {}
codeStringError short code string.
messageStringGreater description of error.

Codes: METHOD_NOT_ALLOWED, BAD_REQUEST, INTERNAL_ERROR, ACCESS_DENIED, BANNED, INVALID_ACCOUNT_ID, INVALID_LINE_ID