Send test webhook
Changed onSend a test webhook to verify your endpoint is configured correctly. The test payload includes event: "webhook.test" to distinguish it from real events.
Pass event to receive a sample payload of that event instead, so you can exercise the handler for an event that only fires on a real outage or lifecycle change (e.g. account.ads.sync_failed). The sample has the exact shape documented for the event under Webhook Events and is delivered like a real one (same X-Zernio-Event, X-Zernio-Event-Id and X-Zernio-Signature headers), with a top-level test: true and placeholder ids, never your data. The webhook does not have to be subscribed to the event, but a webhook that lists the event's resource group in its disabledResourceGroups answers 403, as does an API key with that group disabled. The delivery shows up in the webhook logs with test: true.
webhook.test belongs to the webhooks resource group, so a key with that group disabled is rejected with 403, as is a test fire on a subscription that lists webhooks in its own disabledResourceGroups (a 403, not a reported delivery failure). Replays of real events (redelivery, dead-letter requeue) run the same checks as live delivery, against both the key's groups and the subscription's.
Request
- Base URL: https://zernio.com/api
- URL: https://zernio.com/api/v1/webhooks/test
- Auth: HTTP bearer
Request body
Response
Test webhook sent successfully
Changes
- info
added the new
commerce.order.createdenum value to the request property - info
added the new
commerce.order.refundedenum value to the request property - info
added the new
commerce.order.updatedenum value to the request property
- info
- info
added the new optional request property
- info