Client ('created', 'updated')

Client updated subscribe example:

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"
}'

Client updated response example:

{
  "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",
    "updated_at": "2023-04-24T18:28:10.000+03:00",
    "spam": false
  }
  "custom_fields_status": "Customer"
}

Note: deleted client will show as updated