{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eztexting-com/json-schema/eztexting-com-page-response-webhook-schema.json",
  "title": "PageResponseWebhook",
  "description": "Page",
  "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/PageResponseWebhook",
  "type": "object",
  "properties": {
    "content": {
      "type": "array",
      "description": "The paged collection of elements",
      "items": {
        "$ref": "#/$defs/Webhook"
      }
    },
    "number": {
      "type": "integer",
      "format": "int32",
      "description": "The requested page number"
    },
    "size": {
      "type": "integer",
      "format": "int32",
      "description": "The requested page size"
    },
    "totalElements": {
      "type": "integer",
      "format": "int64",
      "description": "The total number of elements available"
    },
    "totalPages": {
      "type": "integer",
      "format": "int32",
      "description": "The total number of pages available"
    },
    "numberOfElements": {
      "type": "integer",
      "format": "int32",
      "description": "The number of elements in the current page"
    }
  },
  "$defs": {
    "Webhook": {
      "type": "object",
      "description": "Webhook",
      "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"
        }
      }
    }
  }
}