Get an event
GET/v1/events/{id}
Returns one event. Use it to check a webhook you received against what unPLUG sent.
Permissions: Secret key with webhooks:manage.
Guide
WebhooksPath parameters#
idstring (uuid)Required
Response fields#
Returns 200 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 such event, or it's older than 30 days.
Any endpoint can also return the common errors.