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

Moved Webhook

Developer Preview

An existing post was moved to a different category.

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.post. Fully Qualified Domain Name.

slug
string

Expected moved. Event name.

actionEvent
object

Event Info

entityId
string

Moved 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.post_moved",
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" : "moved",
5 "entityId" : "5cacd5fe04976c0015f35363",
6 "actionEvent" : {
7 "bodyAsJson" : {
8 "oldCategoryId" : "5c0a4f6d6a567600403281bb",
9 "currentCategoryId" : "5c1ca26ea0843a001ca6622f",
10 "postId" : "612c7083301bb900165cbf95"
11 }
12 },
13 "eventTime" : "2021-08-30T08:44:20.629071Z",
14 "triggeredByAnonymizeRequest" : false
15}