Webhooks

Create a webhook

Register a webhook subscription. The full signing secret is returned exactly once in the response — store it before the response is closed.

post/api/orgs/{slug}/webhooks

Request

  • Base URL
    https://trydock.ai
  • Auth
    HTTP bearer

Path parameters

slugstring required

Request body

urlstring uri required
eventsstring[]

Response

Created.

Example response

{
  "webhook": {
    "id": "wh_01J5Z…",
    "secretPreview": "whsec_a1…",
    "secret": "whsec_…"
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.