Webhooks

Create Event

post/v1/webhooks/{endpointId}/events

Request

  • Base URL
    https://api.soharhealth.com
  • Auth
    HTTP bearer

Request body

eventstring string required

The event name for webhook to react

Example request

{
  "event": "sandbox.discovery.updated"
}

Response

A webhook config

urlstring string required

The URL to which webhook would send requests

endpointIdstring string required

Internal ID of endpoint

eventsstring[] required

Example response

{
  "url": "https://www.google.com",
  "endpointId": "ep_2pqPuj665SJeVw8DkU3pkZq1njL",
  "events": [
    "sandbox.discovery.updated"
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.