v1

latestSwagger 2.0Apache 2.02026-07-13123128517.6 KB
campaigns

Add sound via file

Create a campaign sound file via a supplied .mp3 or .wav file

post/campaigns/sounds/files

Query parameters

fieldsstring

Limit fields received in response. E.g. fields: id, name or fields items (id, name), see more at partial response page.

Response

successful operation

idinteger

An id of a sound file

namestring

A name of a sound file

createdinteger

The time when the given resource was created, formatted in unix time milliseconds (read only). Example: 1473781817000 for Sat, 05 Jan 1985 14:03:37 GMT

lengthInSecondsinteger

Length of a sound in seconds

status'UPLOAD' | 'RECORDING' | 'ACTIVE' | 'ACTIVE_SYSTEM' | 'FAILED' | 'ARCHIVED' | 'SCRUBBED'

A current status of a sound, available values: UPLOAD - uploading is in progress, RECORDING - recording of sound is in progress, ACTIVE - sound is ready, FAILED, ARCHIVED - sound was archived, SCRUBBED - sound was scrubbed

duplicateboolean

True if the same sound file exists in a sound library of account