curl --request POST \
--url http://localhost:3000/api/sms/send \
--header 'Content-Type: application/json' \
--data '
{
"contactId": "<string>",
"senderId": "<string>",
"messageTemplate": "Hello {{ $contact.firstName }}, your loyalty tier is {{ $contact.customAttributes.loyalty_tier }}."
}
'curl --request POST \
--url http://localhost:3000/api/sms/send \
--header 'Content-Type: application/json' \
--data '
{
"contactId": "<string>",
"senderId": "<string>",
"messageTemplate": "Hello {{ $contact.firstName }}, your loyalty tier is {{ $contact.customAttributes.loyalty_tier }}."
}
'UUID of the contact to send SMS to
UUID of the sender ID to use
Message template with optional {{ $contact.* }} placeholders
"Hello {{ $contact.firstName }}, your loyalty tier is {{ $contact.customAttributes.loyalty_tier }}."
SMS sent successfully