{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/elastic-email/main/json-schema/elastic-email-post-v4-webhook-request-schema.json",
  "title": "PostV4WebhookRequest",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/elastic-email-openapi-generated.yml#/components/schemas/PostV4WebhookRequest",
  "type": "object",
  "properties": {
    "Name": {
      "type": "string",
      "description": "Webhook name"
    },
    "URL": {
      "type": "string",
      "description": "Endpoint URL (https://)"
    },
    "NotificationForSent": {
      "type": "boolean",
      "description": "Whether to receive sent notifications"
    },
    "NotificationForError": {
      "type": "boolean",
      "description": "Whether to receive error notifications"
    },
    "EnableSigning": {
      "type": "boolean",
      "description": "Enable request signing (default false)"
    },
    "DeliveryMethod": {
      "type": "string",
      "description": "Delivery method, either Get (default) or PostJson"
    }
  },
  "required": [
    "Name",
    "URL"
  ]
}