Skip to content

Instantly share code, notes, and snippets.

@diegoserranoa
Last active November 26, 2018 23:14
Show Gist options
  • Save diegoserranoa/e51a1e77197d48657062a1c060eed1c0 to your computer and use it in GitHub Desktop.
Save diegoserranoa/e51a1e77197d48657062a1c060eed1c0 to your computer and use it in GitHub Desktop.
SMS API sample request
curl -H "content-type: application/json" \
-H "Authorization: Bearer <your_token>" \
"http://api.wootric.com/v1/sms_survey" \
-d {
"end_users": "[{\"phone_number\":\"+17862960233\", \"properties\": {\"country\": \"USA\"}}]",
"survey_immediately": true,
"show_disclaimer": true,
"custom_disclaimer_message": "*disclaimer message",
"intro": "test intro",
"survey_settings": {"product_name": "Custom Product", "language": "FR"}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment