Triggered when a badge is created.
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 created
.
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_created",
"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": "666fdd77-5fb8-468b-ae8d-73c56ad17093",
"slug": "created",
"id": "6728cb19-c2b6-4bd1-9ce8-cd44705b1498",
"createdEvent": {
"entity": {
"backgroundColor": "#099A97",
"icon": "https://static.wixstatic.com/shapes/867978b790cc4e9eb32874d02266ab81.svg",
"textColor": "#FFFFFF",
"slug": "beastmode",
"id": "666fdd77-5fb8-468b-ae8d-73c56ad17093",
"permissionsEnabled": false,
"title": "Beastmode",
"updatedDate": "2022-09-21T03:47:21.842Z",
"createdDate": "2022-09-21T03:47:21.842Z"
}
},
"entityFqdn": "wix.badges.v3.badge",
"eventTime": "2022-09-21T03:47:21.969740Z",
"triggeredByAnonymizeRequest": false
}