Testing Webhooks

Now that you’ve configured your local server, you might be interested in pushing your code to the limits. To that end, SocialGateway’s webhooks view provides some tooling for testing your deployed payloads.

Listing recent deliveries

Every webhook has its own “Recent Deliveries” section, which lists, at a glance whether a deployment was successful (green dot) or failed (red dot).

Recent Deliveries view

You can also identify when each delivery was attempted.

Digging into results

By expanding an individual delivery, you’ll be able to witness precisely what information SocialGateway is attempting to send to your server. This includes both the HTTP Request and Response.

Request

The webhook delivery view provides information on which Headers were sent by SocialGateway. It also includes details about the JSON payload.

Response

The response tab lists how your server replied once it received the payload from SocialGateway. This includes the status code, the headers, and any additional data within the response body.