Skip to content

Instantly share code, notes, and snippets.

@samt
Forked from trottier/webhook template
Last active August 25, 2019 18:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samt/ca401c8a18140819dc938c319e54ba21 to your computer and use it in GitHub Desktop.
Save samt/ca401c8a18140819dc938c319e54ba21 to your computer and use it in GitHub Desktop.
{
"event": "hckrpt",
"responseTopic": "hook-response/hckrpt/{{{PARTICLE_DEVICE_ID}}}",
"errorResponseTopic": "hook-error/hckrpt/{{{PARTICLE_DEVICE_ID}}}",
"url": "https://api.hackerpet.com/v1/webhook?sheet_id=<ADD_YOUR_SHEET_ID_HERE>",
"requestType": "POST",
"noDefaults": true,
"rejectUnauthorized": true,
"responseTemplate": "",
"json": {
"event": "{{{PARTICLE_EVENT_NAME}}}",
"data": "{{{PARTICLE_EVENT_VALUE}}}",
"coreid": "{{{PARTICLE_DEVICE_ID}}}",
"published_at": "{{{PARTICLE_PUBLISHED_AT}}}"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment