Search...
Generate a test token to explore our APIs
Post Created Webhook
Developer Preview
A new post 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.post_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.post",4 "slug" : "created",5 "entityId" : "5cacd5fe04976c0015f35363",6 "createdEvent" : {7 "entityAsJson" : {8 "id" : "5cacd5fe04976c0015f35363",9 "categoryId" : "5cacd5fe04976c0015f35362",10 "ownerId" : "a27d2491-90b0-4a3a-87d9-7a9de00bf17a",11 "title" : "Welcome to the Forum!",12 "contentText" : "It’s good to have you here! Feel free to share anything - stories, ideas, pictures or whatever is on your mind.",13 "bestAnswerCommentId" : "5ce7bb354f055300a4b7f945",14 "pinned" : false,15 "closed" : true,16 "commentCount" : 3,17 "likeCount" : 0,18 "viewCount" : 11,19 "createdDate" : "2019-04-09T17:27:26.171Z",20 "updatedDate" : "2019-04-09T17:27:26.171Z",21 "lastActivityDate" : "2019-05-24T11:55:29.339Z",22 "slug" : "welcome-to-the-forum",23 "postType" : "DISCUSSION",24 "commentInteraction" : "REACTION",25 "url" : {26 "base" : "https://wix.com",27 "path" : "/forum/discussion-corner/welcome-to-the-forum"28 }29 }30 },31 "eventTime" : "2021-08-30T08:44:20.629071Z",32 "triggeredByAnonymizeRequest" : false33}