Skip to content

Instantly share code, notes, and snippets.

@tshuck
Last active January 29, 2018 15:26
Show Gist options
  • Save tshuck/eb6b2b34b7b67b74b4d7231d4cc300b7 to your computer and use it in GitHub Desktop.
Save tshuck/eb6b2b34b7b67b74b4d7231d4cc300b7 to your computer and use it in GitHub Desktop.
Hatch Webhook -- Basic Structure
{
"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
}
}
}
@sisk
Copy link

sisk commented Jan 29, 2018

IMO, event should be event_type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment