List events
GET/v1/events
Returns events from the last 30 days, newest first, whether or not any endpoint was subscribed to them.
Permissions: Secret key with webhooks:manage.
Guide
WebhooksQuery parameters#
typestringOnly events of this type, for exampleorder.credited.Show valuesHide values
member.createdmember.updatedmember.deletedpoints.changedtier.changedreward.issuedreward.redeemedreward.expiringorder.creditedorder.refundedcommunication_preferences.updatedwebhook.testpoints.expiringchallenge.joinedchallenge.progressedchallenge.completedreferral.completed
limitinteger1 to 100. Default 25.Min 1Max 100Default 25cursorstringnext_cursorfrom the previous page.
Response fields#
Returns 200 with list of Event
dataarray of EventShow attributesEvent
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
has_morebooleanTrue when another page exists.next_cursorstringNullablePass ascursorto get the next page.
Error descriptions#
400Bad request
invalid_param
Unknown event type.
Any endpoint can also return the common errors.