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:
1
{
2
"UserId":"string",
3
"CustomId":"string",
4
"Name":"string",
5
"Phone": {
6
"CallingCode":"string",
7
"Number":"string"
8
},
9
"PersonalEmail":"string",
10
"BusinessEmail":"string",
11
"Birthday": {
12
"Day":"byte", // nullable
13
"Month":"byte", // nullable
14
"Year":"int" // nullable
15
},
16
"Gender":"string",
17
"Address": {
18
"Line1":"string",
19
"Line2":"string"
20
},
21
"Country":"string",
22
"City":"string",
23
"ZipCode":"string",
24
"ProjectId":"string",
25
"Consents":[
26
{
27
"Id":"long",
28
"Version":"int", // nullable
29
"Type":"string",
30
"Name":"string",
31
"Grant":"bool" // true - accepted, false - not accepted, null - no response
32
"Date":"DateTime"
33
}
34
]
35
}
36
Copied!
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
Last modified 1yr ago
Copy link