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

Contact Created Webhook

Sent when a contact is created

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

Contact data

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 "tag": "HOME",
12 "phone": "2075556300"
13 }],
14 "addresses": [],
15 "metadata": {
16 "createdAt": "2019-10-30T17:22:10.299Z",
17 "updatedAt": "2019-10-30T17:22:10.299Z"
18 }
19}}