Debriefer

Update a webhook endpoint

PATCH
/api/v1/webhooks/{id}

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://loading/api/v1/webhooks/whk_1234567890abcdef" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "string",
  "organization_id": "string",
  "test_mode": true,
  "url": "string",
  "description": "string",
  "events": [
    "interview_run.created"
  ],
  "status": "active",
  "secret": "string",
  "metadata": {
    "property1": null,
    "property2": null
  },
  "created_at": "string",
  "updated_at": "string",
  "object": "webhook"
}
Empty