Last active
January 29, 2018 15:26
-
-
Save tshuck/eb6b2b34b7b67b74b4d7231d4cc300b7 to your computer and use it in GitHub Desktop.
Hatch Webhook -- Basic Structure
This file contains 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
{ | |
"data": { | |
"type": "webhook", | |
"id": "uuid for the webhook request", | |
"attributes": { | |
"event": "one of a set of predefined event types, e.g., 'password_reset'", | |
"payload": { | |
// A collection of event-specific objects that provide | |
// details on the event and its surrounding context | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
IMO,
event
should beevent_type
.