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

Contact Created Webhook

Triggered when a contact is created.

Permissions

This webhook requires the Manage Members and Contacts - all permissions or the Read Members and Contacts - all read permissions or the Manage Contacts or the Read Contacts permission scope.

Was this helpful?

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

Event Body

json

1{
2 "data": {
3 "eventType": "wix.contacts.v4.contact_created",
4 "instanceId": "<app-instance-id>",
5 "data": "<stringified-JSON>"
6 }
7}

The parsed data will include:

Sample Data

json

1{
2 "id" : "52269077-05f2-4b59-ba4f-36ef8c4c1e11",
3 "entityFqdn" : "wix.contacts.v4.contact",
4 "slug" : "created",
5 "entityId" : "4b0133d5-7903-4411-bcc0-1817d1394028",
6 "createdEvent" : {
7 "entityAsJson" : "{\"id\":\"4b0133d5-7903-4411-bcc0-1817d1394028\",\"source\":{\"sourceType\":\"WIX_APP\",\"appId\":\"74bff718-5977-47f2-9e5f-a9fd0047fd1f\"},\"createdDate\":\"2020-10-18T13:40:57.803Z\",\"updatedDate\":\"2020-10-18T13:40:57.870Z\",\"lastActivity\":{\"activityDate\":\"2020-10-18T13:40:57.803Z\",\"activityType\":\"CONTACT_CREATED\"},\"primaryInfo\":{\"email\":\"johndoe@example.com\"},\"info\":{\"name\":{\"first\":\"John\",\"last\":\"Doe\"},\"emails\":{\"items\":[{\"id\":\"95606596-4006-4945-811d-61ba1fca629d\",\"email\":\"johndoe@example.com\",\"primary\":true}]},\"company\":\"Example\",\"jobTitle\":\"manager\",\"extendedFields\":{\"items\":{\"emailSubscriptions.effectiveEmail\":\"johndoe@example.com\",\"emailSubscriptions.subscriptionStatus\":\"NOT_SET\",\"contacts.displayByFirstName\":\"John Doe\",\"contacts.displayByLastName\":\"Doe John\"}}}}"
8 },
9 "eventTime" : "2020-10-18T13:40:58.304800Z",
10 "triggeredByAnonymizeRequest" : false
11}