{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eztexting-com/json-schema/eztexting-com-webhook-create-request-schema.json",
  "title": "WebhookCreateRequest",
  "description": "WebhookCreateRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eztexting-com-webhooks-api-openapi.yml#/components/schemas/WebhookCreateRequest",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "Webhook type: inbound_text.received, keyword.opt_in",
      "enum": [
        "inbound_text.received",
        "keyword.opt_in",
        "contact.created"
      ]
    },
    "callbackUrl": {
      "type": "string",
      "description": "Callback url",
      "minLength": 1
    },
    "secret": {
      "type": "string",
      "description": "Shared secret for authenticating requests, see guide on webhooks for details"
    },
    "insecureSsl": {
      "type": "boolean",
      "description": "Whether to allow self signed SSL certificate for callback url, default is false"
    }
  },
  "required": [
    "callbackUrl",
    "type"
  ]
}