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

Contact Deleted Webhook

Triggered when a contact is deleted.

If a contact is deleted as part of a merge, the originatedFrom property is sent as merge. Otherwise, originatedFrom is omitted.

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.

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.contacts.v4.contact. Fully Qualified Domain Name.

slug
string

Expected deleted. Event name.

deletedEvent
object

Event Info

entityId
string

Contact 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).

originatedFrom
string

If present, indicates the action that triggered the event.

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_deleted",
4 "instanceId": "<app-instance-id>",
5 "data": "<stringified-JSON>"
6 }
7}

The parsed data will include:

Sample Data

json

1{
2 "id" : "1d186ed0-e111-4405-accd-9bc5eaa9173b",
3 "entityFqdn" : "wix.contacts.v4.contact",
4 "slug" : "deleted",
5 "entityId" : "4b0133d5-7903-4411-bcc0-1817d1394028",
6 "deletedEvent" : { },
7 "eventTime" : "2020-10-18T13:42:41.068589Z",
8 "triggeredByAnonymizeRequest" : false
9}