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

Category Created Webhook

Developer Preview

A new category was created.

Permissions

This webhook requires the Read Forums permission scope.

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_created",
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" : "created",
5 "entityId" : "5cacd5fe04976c0015f35362",
6 "createdEvent" : {
7 "entityAsJson" : {
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}