Get supported TTS placeholders for purpose

Use this method to retrieve supported TTS placeholders for specified purpose.

Please log in to see full path URL. Learn why.
get
/ccaas/voice/2/tts/options/placeholders/{ttsPurpose}
path Parameters
ttsPurpose
required
string
Enum: "WAITING_STRATEGY_GREETING_MESSAGE" "WAITING_STRATEGY_ANNOUNCEMENT_MESSAGE" "WAITING_STRATEGY_MAXIMUM_WAIT_TIME_MESSAGE" "WORKING_HOURS_AWAY_MESSAGE" "TRANSFER_STRATEGY_MESSAGE" "ON_HOLD_MESSAGE" "CALLBACK_CONFIRMATION_MESSAGE"

Purpose for which placeholders will be used in text-to-speech.

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal Server Error

Request samples

Example
cURL
Copy
curl -L -g 'https://{baseUrl}/ccaas/voice/2/tts/options/placeholders/{ttsPurpose}' \
-H 'Authorization: {authorization}' \
-H 'Accept: application/json'

Response samples

Content type
application/json

Successful response

Copy
Collapse all
[
  • {
    • "type": "POSITION_IN_QUEUE",
    • "sayAs": "DEFAULT",
    • "placeholderValue": "{{QUEUE_POSITION_DEFAULT}}",
    • "placeholderPaddingSize": 0,
    • "requiresSSML": false
    },
  • {
    • "type": "POSITION_IN_QUEUE",
    • "sayAs": "ORDINAL",
    • "placeholderValue": "{{QUEUE_POSITION_ORDINAL}}",
    • "placeholderPaddingSize": 40,
    • "requiresSSML": true
    }
]

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.