POST
/
v1
/
webhooks
curl --request POST \
  --url https://api.soharhealth.com/v1/webhooks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "https://www.google.com"
}'
{
  "url": "https://www.google.com",
  "endpointId": "ep_2pqPuj665SJeVw8DkU3pkZq1njL",
  "events": []
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

201
application/json

A webhook config

The response is of type object.