-
-
Save Fenytestver/196233c25fc11445ee7015622b9275c1 to your computer and use it in GitHub Desktop.
Particle Webhook Config File Template for Twilio Integration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "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