Update transfer strategy
Use this endpoint to update an already existing Transfer Strategy. More info.
Authorizations:
Scopes:
Request Body schema:
application/jsonmusicOnHold | object File audio source information. | ||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
announcementMessage | object File audio source or TTS audio source information with repeat interval. | ||||||||||||||||||||||||||||||||||||||
|
Responses
OK
Bad Request
Unauthorized
Forbidden
Too Many Requests
Internal Server Error
Request samples
- Payload
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
{- "id": "642bf5f4ff5dd177aeb00889",
- "musicOnHold": {
- "enabled": true,
- "useDefault": false,
- "fileAudioSource": {
- "fileDescriptor": "f829e911-8439-4321-aa25-23b321e1a9cb"
}
}, - "announcementMessage": {
- "enabled": true,
- "audioSourceType": "TTS",
- "ttsAudioSource": {
- "text": "You're are being transferred...",
- "language": "en",
- "voice": {
- "name": "Joanna",
- "gender": "FEMALE"
}, - "speechRate": 1
}, - "fileAudioSource": null,
- "repeatInterval": {
- "unit": "SECONDS",
- "value": 5
}
}, - "createdAt": "2023-04-04T10:03:32.729Z",
- "updatedAt": "2023-04-06T11:22:18.149Z"
}
Response samples
- 200
- 400
- 401
- 403
- 429
- 500
Successful response
{- "id": "642bf5f4ff5dd177aeb00889",
- "musicOnHold": {
- "enabled": true,
- "useDefault": false,
- "fileAudioSource": {
- "fileDescriptor": "f829e911-8439-4321-aa25-23b321e1a9cb"
}
}, - "announcementMessage": {
- "enabled": true,
- "audioSourceType": "TTS",
- "ttsAudioSource": {
- "text": "You're are being transferred...",
- "language": "en",
- "voice": {
- "name": "Joanna",
- "gender": "FEMALE"
}, - "speechRate": 1
}, - "fileAudioSource": null,
- "repeatInterval": {
- "unit": "SECONDS",
- "value": 5
}
}, - "createdAt": "2023-04-04T10:03:32.729Z",
- "updatedAt": "2023-04-06T11:22:18.149Z"
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See