Adds a voicemail greeting for the user, from an uploaded file, a base64 file, or text to speech. It takes the next free index unless you send index; index0 replaces the user's recorded name. Any user can change its own greetings. Office Manager, Call Center Supervisor, Route Manager, Reseller, and Super User can change any user's in the domain, and Site Manager those of users at its own site.
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
🟢200OK
🟠400Bad Request
🟠401Authentication Required
🟠403Forbidden
🟠404Record not found
🔴507Insufficient Storage
🔴500Internal Server Error
🔴503Service Unavailable
Request Request Example
Shell
JavaScript
Java
Swift
curl--location'https://awqacore01.crexendocloud.com/ns-api/v2/domains//users//greetings' \
--header'Authorization: Bearer <token>' \
--form'file=@""' \
--form'index="3"' \
--form'file-script-text="Hi, you have reached extension 1001. Please leave a message after the tone."' \
--form'synchronous="yes"'