Webhook

You can always be up to date with your contacts. Receive the response below whenever a contact or his consents change.

To use the Web SDK please install the snippet first.

Response:

{
"UserId":"string",
"CustomId":"string",
"Name":"string",
"Phone": {
"CallingCode":"string",
"Number":"string"
},
"PersonalEmail":"string",
"BusinessEmail":"string",
"Birthday": {
"Day":"byte", // nullable
"Month":"byte", // nullable
"Year":"int" // nullable
},
"Gender":"string",
"Address": {
"Line1":"string",
"Line2":"string"
},
"Country":"string",
"City":"string",
"ZipCode":"string",
"ProjectId":"string",
"Consents":[
{
"Id":"long",
"Version":"int", // nullable
"Type":"string",
"Name":"string",
"Grant":"bool" // true - accepted, false - not accepted, null - no response
"Date":"DateTime"
}
]
}

In the Header you can find the field "x-signature" which is generated in the webhook creation is sent to verify the authenticity of the request