cURL
curl --request POST \ --url https://api.soharhealth.com/v1/webhooks/{endpointId}/events \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "event": "sandbox.discovery.updated" }'
{ "url": "https://www.google.com", "endpointId": "ep_2pqPuj665SJeVw8DkU3pkZq1njL", "events": [ "sandbox.discovery.updated" ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
A webhook config
The response is of type object.
object