Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sgassmann-skedulo/7c742f0d7cdca428f640c54b8acdc696 to your computer and use it in GitHub Desktop.
Save sgassmann-skedulo/7c742f0d7cdca428f640c54b8acdc696 to your computer and use it in GitHub Desktop.
curl --request POST \
--url https://api.skedulo.com/webhooks \
--header 'Authorization: Bearer $Your_API_Token' \
--header 'Content-Type: application/json' \
--data '{
"name": "NewUnavailability",
"url": "REPLACE_WITH_YOUR_ZAPIER_URL",
"type": "graphql",
"query": "\n subscription {\n schemaAvailabilities(operation: INSERT, filter: \"IsAvailable == false\" ) {\n operation\n timestamp\n data {\n UID\n Notes\n Type\n IsAvailable\n Start\n Finish\n ResourceId\n }\n previous {\n UID\n }\n }\n }\n "
}
'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment