POST
Input Header Parameters
application-keyRequired
Input JSON Parameters
{}Object {}RequiredROOTnameStringRequiredIdentify this audio file.
descriptionStringOptionalDescription of audio file.
accountIdStringOptionalTo apply this record to an account by ID.
lineIdStringOptionalTo apply this record to a line by ID.
contentTypeStringRequiredThe audio content type. Ex: audio/x-wav
encodingStringRequiredEncoding of data parameter. Only base64 supported currently.
dataStringRequiredString encoded audio data.
On Success
Output JSON Parameters
{}Object {}ROOTaudioIdStringThe ID of the new audio file.
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