/v1/webhook

Register a webhook subscription

Register a webhook subscription to receive events from Counsel.

post/v1/webhooks/

Request

  • Base URL
    https://api.counselhealth.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Headers

Idempotency-Keystring
Example:550e8400-e29b-41d4-a716-446655440000

Optional idempotency key. Repeat requests with the same key and body return the original result.

Request body

namestring nullable required
destinationstring starts_with required

Example request

{
  "destination": "https://www.google.com"
}

Response

Default Response

idstring uuid required

Changes

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