Create a gist now

Instantly share code, notes, and snippets.

Particle Webhook Config File Template for Twilio Integration
{
"eventName": "[EVENT TO LISTEN FOR]",
"url": "https://api.twilio.com/2010-04-01/Accounts/[ACCOUNT SID]/Messages",
"requestType": "POST",
"auth": {
"username": "[ACCOUNT SID]",
"password": "[AUTH TOKEN]"
},
"form": {
"From" : "[YOUR TWILIO NUMBER]",
"To" : "[THE NUMBER TO SEND TEXT TO]",
"Body" : "{{PARTICLE_EVENT_VALUE}}",
"MediaUrl" : "[PATH TO IMAGE (OPTIONAL)]"
},
"mydevices": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment