Get waiting strategy
Use this method to retrieve a waiting strategy by its Id. More info.
Please log in to see full path URL. Learn why.
get
/ccaas/voice/2/waiting-strategies/{id}
Authorizations:
Scopes:
path Parameters
id required | string Id of the Waiting Strategy to get. |
Responses
200
OK
401
Unauthorized
403
Forbidden
404
Not Found
429
Too Many Requests
500
Internal Server Error
Request samples
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
Example
cURL
Copy
curl -L -g 'https://{baseUrl}/ccaas/voice/2/waiting-strategies/{id}' \ -H 'Authorization: {authorization}' \ -H 'Accept: application/json'
Response samples
- 200
- 401
- 403
- 404
- 429
- 500
Content type
application/json
Successful response
Copy
Collapse all {- "id": "e2cea358-0347-4d23-9d82-af00f8f5c5b2",
- "didNumbers": [ ],
- "applications": [ ],
- "name": "Test Waiting Strategy",
- "maximumWaitTime": {
- "unit": "SECONDS",
- "value": 5
}, - "greetingMessage": {
- "enabled": true,
- "audioSourceType": "TTS",
- "ttsAudioSource": {
- "text": "Greetings!",
- "language": "en-gb",
- "voice": {
- "name": "Emma",
- "gender": "FEMALE"
}, - "speechRate": 1
}, - "fileAudioSource": null
}, - "musicOnHold": {
- "enabled": false,
- "fileAudioSource": null
}, - "announcementMessage": {
- "enabled": true,
- "audioSourceType": "TTS",
- "ttsAudioSource": {
- "text": "Greetings!",
- "language": "en-gb",
- "voice": {
- "name": "Emma",
- "gender": "FEMALE"
}, - "speechRate": 1
}, - "fileAudioSource": null,
- "repeatInterval": {
- "unit": "SECONDS",
- "value": 3
}
}, - "maximumWaitTimeMessage": {
- "enabled": true,
- "audioSourceType": "TTS",
- "ttsAudioSource": {
- "text": "Greetings!",
- "language": "en-gb",
- "voice": {
- "name": "Emma",
- "gender": "FEMALE"
}, - "speechRate": 1
}, - "fileAudioSource": null
}, - "createdAt": "2022-12-10T13:45:00.777+0000",
- "updatedAt": "2022-12-10T13:45:00.777+0000"
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See