This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
A new post was created.
Unique event ID. Allows clients to ignore duplicate webhooks.
Fully qualified domain name of the entity associated with the event. Expected wix.forum.post
.
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.forum.post_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
}
}
}
{
"id": "0ec75a41-ae29-4e5e-8063-46f5a5d925d9",
"entityFqdn": "wix.forum.post",
"slug": "created",
"entityId": "5cacd5fe04976c0015f35363",
"createdEvent": {
"entity": {
"id": "5cacd5fe04976c0015f35363",
"categoryId": "5cacd5fe04976c0015f35362",
"ownerId": "a27d2491-90b0-4a3a-87d9-7a9de00bf17a",
"title": "Welcome to the Forum!",
"contentText": "It’s good to have you here! Feel free to share anything - stories, ideas, pictures or whatever is on your mind.",
"bestAnswerCommentId": "5ce7bb354f055300a4b7f945",
"pinned": false,
"closed": true,
"commentCount": 3,
"likeCount": 0,
"viewCount": 11,
"createdDate": "2019-04-09T17:27:26.171Z",
"updatedDate": "2019-04-09T17:27:26.171Z",
"lastActivityDate": "2019-05-24T11:55:29.339Z",
"slug": "welcome-to-the-forum",
"postType": "DISCUSSION",
"commentInteraction": "REACTION",
"markedComments": ["5ce7bb354f055300a4b7f945"],
"recentActivity": {
"entityId": "5ce7bb354f055300a4b7f945",
"type": "COMMENT",
"memberId": "0933513a-fcd7-459e-b76e-508d4806d908",
"activityDate": "2022-05-20T11:33:34.147Z"
},
"totalReactionCount": 0,
"reactionCounts": [],
"reactedIdentities": [],
"url": {
"base": "https://wix.com",
"path": "/forum/discussion-corner/welcome-to-the-forum"
}
}
},
"eventTime": "2021-08-30T08:44:20.629071Z",
"triggeredByAnonymizeRequest": false
}