Skip to content

Instantly share code, notes, and snippets.

@khromov
Created July 12, 2019 08:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save khromov/918f22d27b6db5fdc9a5373e0c008aa1 to your computer and use it in GitHub Desktop.
Save khromov/918f22d27b6db5fdc9a5373e0c008aa1 to your computer and use it in GitHub Desktop.
Amazing Marvin webhook

Webhook for Amazing Marvin

In order for this to work you need to fetch your Zapier token from Marvin Settings > Strategies > Zapier integration > Settings.

However, you don't actually need a Zapier for this to work, just send the request from your favourite framework.

curl -X POST \
'https://marvin-165117.appspot.com/api/addTask?=' \
-H 'Content-Type: application/json' \
-H 'X-Zapier-Token: <YOUR-ZAPIER-TOKEN>' \
-d '{
"title": "Example title 123 #Work +today",
"note": "Testing",
"timeEstimate": 60000,
"isReward": false,
"isStarred": 1,
"isFrogged": 1
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment