Send a test webhook
POST/v1/test/webhooks
Sends one event of any type, with sample data, to every enabled endpoint subscribed to that type. Use it to build and test your handler for events that are hard to cause, such as tier.changed or member.deleted. Deliveries are signed like real ones.
Permissions: Sandbox secret key.
Guide
SandboxRequest headers#
Idempotency-KeystringAny string up to 255 characters; use a UUID v4. Kept 24 hours per key (or member) and endpoint. Same key and body replays the first response withIdempotent-Replayed: true.Max Length 255
Request body#
typestringRequiredAny event type from Webhook event types.Show valuesHide values
member.createdmember.updatedmember.deletedpoints.changedtier.changedreward.issuedreward.redeemedreward.expiringorder.creditedorder.refundedcommunication_preferences.updatedwebhook.testpoints.expiringchallenge.joinedchallenge.progressedchallenge.completedreferral.completed
id is the event id. It arrives at your endpoints as webhook-id, and you can look up its deliveries in the event log. The sample data is not a real member, so don't let your handler write it to production tables.
Response fields#
Returns 202 with object
idstring (uuid)typestring
Error descriptions#
400Bad request
invalid_param
type isn't a known event type.
404Not found
not_found
Called on production.
Any endpoint can also return the common errors.