Skip to main content

Structure

Webhook requests are application/json POST requests with the following data structure:

  • id: idempotent key for the webhook request.
  • created_at: date time in UTC when the event was generated.
  • event: type of event that triggered the webhook.
  • resource_url: api url of the resource affected by the change.
  • payload: the changed resource.

It is good practice to make clients idempotent in case webhooks are sent more than once. You can track ids of already processed requests to not execute tasks more than once.