Upload IVR Prompt or Account Hold Music
This endpoint has two fairly distinct modes of operation.<br/> 1. IVR Prompts: requires a wav file and returns a Media object.<br/> 2. Hold Music: requires a jobUploadKey and returns a Job object.<span hidden><br/><br/> Please see <a href="media.html">here</a> for more information on how this endpoint is used for each case.</span>
Request
- Base URLhttps://api.alianza.com
- AuthAPI key in header X-AUTH-TOKEN
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
ID of account. Refer to <a href="#/~schema/Account">account.id</a>
ID of partition. Refers to <a href="#/~schema/Account">account.partitionId</a> which refers to <a href="#/~schema/PartitionX">partition.id</a>
Query parameters
(Use only for Hold Music) Provide an upload key which identifies music uploaded in a prior step. Refers to <a href="#/~schema/JobUpload">jobUpload.key</a>
Request body multipart/form-data
Response
This response type pertains when the endpoint is used for IVR prompt, and is supplied a file in the body. The provided audio file has been processed and uploaded.
Changes
No recorded changes to this operation across all 1 revision of this API.