Triggered when a group request is approved.
Unique event ID. Allows clients to ignore duplicate webhooks.
Fully qualified domain name of the entity associated with the event. Expected wix.social_groups.v2.group_request
.
Event name. Expected approved
.
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.social_groups.v2.group_request_approved",
"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
}
}
}
{
"id": "7df3de0d-146b-4569-8891-b3920386ba2e",
"entityFqdn": "wix.social_groups.v2.group_request",
"slug": "approved",
"entityId": "9893dfdc-a800-45dc-9595-dee6c418e035",
"actionEvent": {
"body": {
"groupRequest": {
"id": "9893dfdc-a800-45dc-9595-dee6c418e035",
"group": {
"id": "9893dfdc-a800-45dc-9595-dee6c418e035",
"slug": "roblox-community",
"privacyLevel": "PUBLIC",
"title": "Roblox Community",
"description": "Welcome to the group! You can connect with other members, get updates and share videos.",
"details": {
"logo": {
"mediaId": "47be17_98a29afdc5934fd284e247bb4989b133~mv2.png",
"width": 200,
"height": 200
}
},
"settings": {
"membersPermittedToInvite": true,
"membersPermittedToApprove": false,
"memberWelcomePostEnabled": true,
"groupDetailsChangedPostEnabled": true
},
"membersCount": 1,
"createdBy": {
"id": "d0a2ef39-d8fd-449d-9db2-7f8d015656d9",
"identityType": "MEMBER"
},
"createdDate": "2021-02-15T10:06:30Z",
"updatedDate": "2021-02-15T10:07:27Z",
"recentActivityDate": "2021-02-15T10:06:30Z"
}
}
}
},
"eventTime": "2021-02-15T10:12:34.521618Z",
"triggeredByAnonymizeRequest": false
}