Custom Message — Sends a personalized message if customMessage is specified; otherwise uses the main message.
{ "channel": "ivr", "webhookInstanceName": "Webhook", "userIdentityType": "resolve", "content": { "type": "text", "value": "Hello! Your order has been shipped." }, "identities": [ { "email": "user@example.com", "customMessage": "Hi John, your package is on the way!" }, { "email": "user@example.com" } ]}
Parameterized Message — Personalizes the message using dynamic parameters.
Identity key depending on the channel: ivr uses email, hangouts uses spaceId, whatsapp uses phoneNumber. Note: Other channels (for example, msteams, slack) aren’t yet supported in public API v2.
customMessage
string
Optional
Overrides the default message for this recipient. Supports placeholders like {name}, {refId}.
parameters
object
Optional
Key-value map where each key corresponds to a placeholder in customMessage. If no customMessage is provided, this field is ignored for that identity.