Adds a hold message for the domain, from an uploaded file, a base64 file, or text to speech. It takes the next free index unless you send index. Requires Office Manager, Call Center Supervisor, Route Manager, Reseller, or Super User scope. Site Manager can read domain hold messages but not change them.
Request
Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params
Body Params
multipart/form-data
Required
Responses
🟢202Accepted
application/json
The change is accepted and applied shortly after. Read the file with GET on the collection.
Bodyapplication/json
🟠404
🟠400
🟠401
🟢200OK
🟠403Forbidden
🔴507Insufficient Storage
🔴500Internal Server Error
🔴503Service Unavailable
Request Request Example
Shell
JavaScript
Java
Swift
curl--location'https://awqacore01.crexendocloud.com/ns-api/v2/domains//msg' \
--header'Authorization: Bearer <token>' \
--form'file=@""' \
--form'index="3"' \
--form'file-script-text="Thank you for holding. Visit example.com for our current offers."' \
--form'synchronous="yes"'