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.
ZWITCH lets you trigger webhook events from the Dashboard. This lets you test webhooks without having to make API calls.
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.
- Log into your ZWITCH Dashboard.
- Select Sandbox Mode.
- Navigate to Developers → Webhooks.
- Click Test Webhook.
- Select the webhook you want to trigger on the Test Webhook screen.
- Click Send test webhook.
Zwitch sends a sample event to the configured webhook endpoint URL.