/mcpVoice Name GET for Connection 7.x and 8.0.x First get the primary resource to find out the voice file URI, then use the VoiceFileURI to get the file: GET http://<connection-server>/vmrest/voicefiles/<voice file name> The response will return the audio/wav data for the voice name. Setting Voice Names Setting a Voice Name in Connection 8.5 and Later PUT the audio data directly to the standard resource voice name URI: PUT /vmrest/<object>/<object id>/voicename 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 Voice Name in Connection 7.x and 8.0.x To create a voice name for a resource is a three step process. 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 is automatically cleaned. POST /vmrest/voicefiles The response code is 201 and the content is the name of the newly created temporary file. 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. 3. Set the voicename field of the target resource to the temporary file name. See the example for a user below: PUT /vmrest/users/<user object id> <?xml version="1.0" encoding="UTF-8"?> <User> <VoiceName>temporary file name</VoiceName> </User> Cisco Unity Connection Provisioning Interface (CUPI) API 20 Cisco Unity Connection Provisioning Interface (CUPI) API -- Voice Names Voice Name GET for Connection 7.x and 8.0.x