Search.../
  1. REST
Generate a test token to explore our APIs

Category Updated Webhook

Developer Preview

An existing category was updated.

Permissions

This webhook requires the Read Forums permission scope.

Event Body

Event data is received as a JSON Web Token (JWT). It may be delayed. Be sure to verify the data was sent by Wix.

Event Data

NAME
TYPE
DESCRIPTION
id
string

Unique event ID.

entityFqdn
string

Expected wix.forum.v1.category. Fully Qualified Domain Name.

slug
string

Expected updated. Event name.

updatedEvent
object

Event Info

entityId
string

Category ID associated with this event.

eventTime
string

Event timestamp.

triggeredByAnonymizeRequest
boolean

Whether this event was triggered as a result of a privacy regulation application (e.g., GDPR).

Was this helpful?

The data payload will include the following as an encoded JWT:

Event Body

json

1{
2 "data": {
3 "eventType": "wix.forum.v1.category_updated",
4 "instanceId": "<app-instance-id>",
5 "data": "<stringified-JSON>"
6 }
7}

The parsed data will include:

Sample Data

json

1{
2 "id" : "0ec75a41-ae29-4e5e-8063-46f5a5d925d9",
3 "entityFqdn" : "wix.forum.category",
4 "slug" : "updated",
5 "entityId" : "5cacd5fe04976c0015f35362",
6 "updatedEvent" : {
7 "currentEntityAsJson" : {
8 "id" : "5cacd5fe04976c0015f35362",
9 "parentId" : "001005fe04976c0015f35362",
10 "name" : "Discussion corner",
11 "headerTitle" : "Discussion corner",
12 "description" : "Share stories, ideas, pictures and more!",
13 "headerType" : "IMAGE",
14 "headerImage" : {
15 "id" : "image.jpg",
16 "url" : "https://static.wixstatic.com/media/image.jpg",
17 "height" : 760,
18 "width" : 2100
19 },
20 "rank" : 0,
21 "postCount" : 2,
22 "postViewCount" : 17,
23 "slug" : "discussion-corner",
24 "noMemberPosting" : true,
25 "categoryAccess" : "PUBLIC",
26 "createdDate" : "2019-04-09T17:27:26.171Z",
27 "updatedDate" : "2019-04-09T17:27:26.171Z",
28 "postTypes" : [ "DISCUSSION", "QUESTION" ],
29 "commentInteraction" : "REACTION",
30 "url" : {
31 "base" : "https://wix.com",
32 "path" : "/forum/discussion-corner"
33 }
34 }
35 },
36 "eventTime" : "2021-08-30T08:44:20.629071Z",
37 "triggeredByAnonymizeRequest" : false
38}