Triggered when a member receives a badge.
Unique event ID. Allows clients to ignore duplicate webhooks.
Fully qualified domain name of the entity associated with the event. Expected wix.badges.v3.badge
.
Event name. Expected badge_assigned
.
ID of the entity associated with the event.
Event timestamp.
Whether the event was triggered as a result of a privacy regulation application (for example, GDPR).
If present, indicates the action that triggered the event.
Event information.
The data payload will include the following as an encoded JWT:
{
"data": {
"eventType": "wix.badges.v3.badge_badge_assigned",
"instanceId": "<app-instance-id>",
"data": "<stringified-JSON>",
// The identity field is sent as a stringified JSON
"identity": {
"identityType": "<identityType>", // ANONYMOUS_VISITOR, MEMBER, WIX_USER, APP
"anonymousVisitorId": "<anonymousVisitorId>", // in case of ANONYMOUS_VISITOR
"memberId": "<memberId>", // in case of MEMBER
"wixUserId": "<wixUserId>", // in case of WIX_USER
"appId": "<appId>" // in case of APP
}
}
}
{
"entityId": "16393a50-ed14-49f0-94f0-1251a5a9a7e1",
"actionEvent": {
"body": {
"memberId": "fac761ea-e6f1-4e3d-8b30-a4852f091415"
}
},
"slug": "badge_assigned",
"id": "1bce590b-5f67-42f5-b47f-b7d6cecd077c",
"entityFqdn": "wix.badges.v3.badge",
"eventTime": "2022-09-21T03:33:04.836235Z",
"triggeredByAnonymizeRequest": false
}