{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/veradial/main/json-schema/veradial-post-hooks-request-schema.json",
  "title": "PostHooksRequest",
  "x-generated": "2026-09-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/veradial-openapi-generated.yml#/components/schemas/PostHooksRequest",
  "type": "object",
  "properties": {
    "targetUrl": {
      "type": "string",
      "description": "Public HTTPS endpoint URL for webhook delivery"
    },
    "kind": {
      "type": "string",
      "description": "Event type: call.screened, voicemail.received, sms.reply_sent, or appointment.booked"
    },
    "lineId": {
      "type": "string",
      "description": "Optional VeraDial line UUID; null or empty means all lines"
    }
  },
  "required": [
    "targetUrl",
    "kind"
  ]
}