Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save diegoserranoa/dd5bcb482e5a5d432474d60f1fb8f593 to your computer and use it in GitHub Desktop.
Save diegoserranoa/dd5bcb482e5a5d432474d60f1fb8f593 to your computer and use it in GitHub Desktop.
SMS API Examples
# Payload
{
"end_users": "[{ \"phone_number\":\"+17862927907\", \"external_id\": \"sms_external_id_1\", \"properties\": {\"name\": \"Diego\",\"role\": \"Developer\",\"city\": \"Ayampe\"}}, { \"phone_number\":\"+15126636854\", \"external_id\": \"sms_external_id_2\", \"properties\": {\"name\": \"Prabhat\",\"role\": \"CTO\",\"city\": \"San Jose\"}}]",
"survey_immediately": true,
"show_disclaimer": true,
"custom_disclaimer_message": "*SMS rates apply",
"intro": "Hi, please answer this survey.",
"survey_settings": {
"language" : "EN",
"product_name": "Wootric"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment