{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eztexting-com/json-schema/eztexting-com-webhook-schema.json",
  "title": "Webhook",
  "description": "Webhook",
  "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/Webhook",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Webhook id"
    },
    "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"
    },
    "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"
    }
  }
}