SparkPost Example Webhook Consumer (Target)

You can point a regular "outbound" webhook or a relay "inbound" webhook at a target just like this and each event will display in the logs, as an example of how to receive a webhook from SparkPost.

Wait what's inbound and relay and outbound anyway?

"Outbound" webhooks are our more popular, widely-used webhook flavor. These are sometimes called "outbound" because they are sent to your target URL whenever you send an outbound message via our Transmissions API.

"Inbound" webhooks, referred to as "relay webhooks" in our system, are lesser known but equally great. The "inbound" here means that these events are sent to your target URL whenever you receive an inbound message at any "".

Learn more about SparkPost webhooks