Send events with webhooks and retry a failed delivery
Register a receiver, check signatures, and follow delivery results in Zwely.
A webhook sends a message to your app when something happens in Zwely. For example, it can tell your event system when a submission is received. Your app handles the event on its own server.
Add an endpoint
- Set up a public HTTPS address on a server you control. Copy its final address. Zwely will not follow a redirect to another URL.
- Open Settings → Webhooks. Under Create webhook, enter the address and pick the events your app needs. Start with one event, such as Submission received, if you only need new entries.
- Create the webhook and save the signing secret when Zwely shows it. On your server, use the webhook signature guide to verify the request before acting on it. Check the signature against the raw request body and check the timestamp.
- Have your receiver record the delivery ID so it recognizes repeated delivery attempts. Return a success response after the event is accepted for work.

Check delivery and retry a failure
- Use a test campaign you control to create the event you selected. Open View deliveries from the webhook screen.
- Read the delivery state. If it failed, check the receiver’s logs for the request time or delivery ID. Confirm the route accepts POST, the HTTPS address is correct, and the receiver has the current secret.
- After you fix the receiver, use Redeliver. Check that the receiver handles the event once even if it sees another attempt.

Use Rotate secret when the secret changes or may have been exposed, and update your receiver to use the new value. Use Disable on an endpoint that should stop receiving events.
