Webhook event data is sent as JSON in a POST body. The payload represents a single event with attributes based on the event type. Events may contain additional data attributes that are useful in processing the event.

Your webhook might need to fetch the associated record using data.id before performing a relevant action.

If you need to verify that a webhook was sent from Swell's servers, you can check that it originates from one of the following IP addresses:

  • 52.52.111.237
  • 54.219.85.17
  • 54.241.235.166