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

Site Properties Updated Webhook

Developer Preview

Triggered when site properties are updated

Permissions

This webhook requires the Manage Your App 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
metasiteId
string

ID of the Wix site that has been updated.

event
object

Update details.

Was this helpful?

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

Event Body

json

1{
2 "data": {
3 "eventType": "<event-type>",
4 "instanceId": "<app-instance-id>",
5 "data": "<stringified-JSON>"
6 }
7}

The parsed data will include:

Sample Data

json

1{
2 "metasiteId" : "884aa31e-c73e-40c7-94b2-c67db9f0ee5c",
3 "event" : {
4 "version" : "12",
5 "fields" : {
6 "paths" : [ "locale", "language", "paymentCurrency", "timeZone" ]
7 },
8 "properties" : {
9 "locale" : {
10 "languageCode" : "en",
11 "country" : "US"
12 },
13 "language" : "en",
14 "paymentCurrency" : "USD",
15 "timeZone" : "America/New_York"
16 }
17 }
18}