curl --location --request POST '/platform/v1/webhook/subscribe' \
--header 'Authorization: "Bearer API_TOKEN"'\
--header 'Content-Type: application/json' \
--data-raw '{
"event": "client/updated",
"target_url": "URL"
}'
{
"entity_name": "client",
"event_type": "updated",
"data": {
"business_id": "s5ek7tfgp068i2st",
"client_id": "k7zcc3nhb1aijzms",
"first_name": "New",
"last_name": "Client",
"phone": "05544778899",
"email": "[email protected]",
"image": "http://www.meet2know.com/assets/img-avatar.gif",
"address": {
"main": "New York"
},
"custom_fields": {
"Birthday": "1985-10-15"
},
"visible": true,
"opt_in": null,
"created_at": "2019-10-29T07:29:30Z"
}
}
deleted will show as an updated