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}
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

Example
cURL
Copy
curl -L -g 'https://{baseUrl}/ccaas/voice/2/waiting-strategies/{id}' \
-H 'Authorization: {authorization}' \
-H 'Accept: application/json'

Response samples

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"
}

Encountering issues

Contact our support

What's new? Check out

Release Notes

Unsure about a term? See

Glossary

Research panel

Help shape the future of our products
Learn more
Service status

Copyright @ 2006-2025 Infobip ltd.