Skip to main content
POST
/
v1
/
webhooks
Create Webhook
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

Body

application/json
url
string<string>
required
Example:

Response

url
string<string>
required
Example:
endpointId
string<string>
required
Example:
events
string[]
required
Example: