Send a test event
POST/v1/webhook_endpoints/{id}/test
Sends a webhook.test event to this endpoint only, signed like any other event. Works on disabled endpoints too, so you can check a fix before you turn the endpoint back on. The response is the event; follow its delivery with List deliveries.
Permissions: Secret key with webhooks:manage.
Guide
WebhooksRequest 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
Path parameters#
idstring (uuid)Required
Response fields#
Returns 202 with Event
idstring (uuid)The event's id. Same value as thewebhook-idheader, on every attempt and redelivery.typestringFor examplepoints.changed. The list may grow.Show valuesHide values
member.createdmember.updatedmember.deletedpoints.changedtier.changedreward.issuedreward.redeemedreward.expiringorder.creditedorder.refundedcommunication_preferences.updatedwebhook.testpoints.expiringchallenge.joinedchallenge.progressedchallenge.completedreferral.completed
created_atstring (date-time)When the change happened. Use it to order events.api_versionstringv1.livemodebooleantruein production,falsein the sandbox.brand_idstring (uuid)Your brand.dataobjectShow attributesHide attributes
objectobjectSnapshot of the resource.previous_attributesobject
Error descriptions#
404Not found
not_found
No endpoint with this id in this environment.
Any endpoint can also return the common errors.