Search.../
  1. Home
  2. Getting Started
  3. Overview
Generate a test token to explore our APIs

Contact Changed Webhook

Sent when a contact is updated

Permissions

This webhook requires the Read Contacts 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
contact

object

Updated contact

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{"contact": {
3 "id": "8046df3c-7575-4098-a5ab-c91ad8f33c47",
4 "firstName": "Some",
5 "lastName": "One",
6 "emails": [ {
7 "tag": "MAIN",
8 "email": "email@test.rocks"
9 }],
10 "phones": [
11 {
12 "tag": "HOME",
13 "phone": "2075556300"
14 },
15 {
16 "tag": "MOBILE",
17 "phone": "2075555217"
18 }
19 ],
20 "addresses": [ {
21 "tag": "HOME",
22 "street": "1772 Fantages Way",
23 "city": "Richmond",
24 "region": "ME",
25 "country": "US",
26 "postalCode": "04357"
27 }],
28 "metadata": {
29 "createdAt": "2019-10-30T17:22:10.299Z",
30 "updatedAt": "2019-11-13T20:14:49.458Z"
31 }
32}}