curl --location 'https://api.demo.getontop.com/webhooks/clients' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer xxxxxxxxxxxxxxxxxx' \
--data '{
    "event_types": [
        "KYC"    
]
}'

{
  "client_id": 999,
  "url": "api.demo.getontop.com/webhooks/events",
  "enabled": true,
  "headers": [{
  "name": "X-CUSTOM-HEADER-1",
  "value": "CUSTOM-VALUE"
  }],
  "event_types": [
    "KYC"
  ],
  "created_at": "2023-10-25T14:41:14.574712103Z",
  "updated_at": "2023-11-24T11:21:14.574713670Z"
}


Language
Click Try It! to start a request and see the response here!