Media
Retrieve Media. Will return a 302 redirect to the actual file location
Use to retrieve a media File, related to either HoldMusic or IVR, depending on the mediaType query parameter.<br/><br/> You will need the mediaId. <span hidden>For more info, see <a href="media.html#getMediaFile">here.</a></span>
get/v2/partition/{partitionId}/account/{accountId}/media_2/{id}
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
accountIdstring required
ID of account. Refers to <a href="#/~schema/Account">account.id</a>
idstring required
ID of media. Refers to <a href="#/~schema/MediaX">media.id</a>
partitionIdstring required
ID of partition. Refers to <a href="#/~schema/Account">account.partitionId</a> which refers to <a href="#/~schema/PartitionX">partition.id</a>
Query parameters
mediaType'HoldMusic' | 'IvrPrompt' required
Type of Media
Response
Successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.