Debriefer

Create a webhook endpoint

POST
/api/v1/webhooks

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://loading/api/v1/webhooks" \  -H "Content-Type: application/json" \  -d '{    "url": "http://example.com"  }'
{
  "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"
}