Test Webhooks

Ensure your webhook endpoint URL works as expected before you go live.

Before you take your integration live, you can test your webhook endpoint to ensure you receive the configured events and your webhook endpoint can handle different error scenarios.

You can test your webhooks by making API calls in the sandbox environment or triggering webhooks from the Dashboard. You can use any of the following as your webhook endpoint URL when testing your webhooks.

  • Any publically available HTTPS URL.
  • Request interceptor such as requestbin.com.
  • Receive events on your localhost. You can use tools such as ngrok or localtunnel to create a tunnel to your localhost to do this.

From the Dashboard

ZWITCH lets you trigger webhook events from the Dashboard. This lets you test webhooks without having to make API calls.

📘

Prerequisite

You should have a webhook endpoint set up before you can trigger events from the Dashboard.

Follow the below steps to trigger webhooks from the Dashboard.

  1. Log into your ZWITCH Dashboard.
  2. Select Sandbox Mode.
  3. Navigate to DevelopersWebhooks.
  4. Click Test Webhook.
  5. Select the webhook you want to trigger on the Test Webhook screen.
  6. Click Send test webhook.

Zwitch sends a sample event to the configured webhook endpoint URL.