/mcpVoice Name GET for 7.x and 8.0.x First get the greeting stream file object for the greeting type and language, then use the voice files URI to get the greeting audio contents: GET http://<connection-server>/vmrest/handlers/callhandlers/<call handler object id>/greetings /<greeting type>/greetingstreamfiles/<language id> GET http://<connection-server>/vmrest/voicefiles/<stream file> The response will return the audio/wav data for the greeting. Setting Greetings Setting a Greeting in 8.5 and Later PUT the audio data directly to the standard greeting stream file URI: PUT http://<connection-server>/vmrest/handlers/callhandlers/<call handler object id>/greetings /<greeting type>/greetingstreamfiles/<language id>/audio content is audio/wav data The response is a 204 indicating that the content has been accepted and copied into the temporary file. Setting a Greeting in 7.x and 8.0.x To create a greeting for a resource is a three step process. Step 1: A place-holder for the WAV file must be created with a POST. This is a temporary file place-holder that can be used for up to 30 minutes. If it is not used within 30 minutes (assigned to a resource), the file is assumed to be abandoned and gets automatically cleaned. POST /vmrest/voicefiles The response code is 201 and the content is the name of the newly created temporary file. Step 2: Use the temporary file name to PUT the new audio data. The HTTP content type is "audio/wav" and the payload content is the audio data. PUT /vmrest/voicefiles/<temporary file name> The response is a 204 indicating that the content has been accepted and copied into the temporary file. Step 3: Set the greeting stream file of the target resource to the temporary file name. See the following example PUT http://<connection-server>/vmrest/handlers/callhandlers/<call handler object id>/greetings /<greeting type>/greetingstreamfiles/<language id> Only the stream file field needs to be filled out for PUT. All the other greeting stream file fields are derived from the URI: Cisco Unity Connection Provisioning Interface (CUPI) API 514 Cisco Unity Connection Provisioning Interface (CUPI) API -- Call Handler Settings Voice Name GET for 7.x and 8.0.x