Webhooks response has changed

IncomingMessage is the standard object from Node.http (and by extension Express)

However, we did announce a change to the Webhook payload at the start of the year: 🚨 Warning: Breaking change in Webhooks

The implication of which is that you don’t need to JSON.Parse the payload.

If you log instead the req.body.payload you’ll see express is likely already returning a JS object.

4 Likes