{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/affiliaterail-com/json-schema/affiliaterail-com-finder-webhook-endpoint-create-schema.json",
  "title": "FinderWebhookEndpointCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/affiliaterail-com-recruit-affiliates-webhooks-api-openapi.yml#/components/schemas/FinderWebhookEndpointCreate",
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2048,
      "description": "A public https:// address"
    },
    "kind": {
      "type": "string",
      "enum": [
        "webhook",
        "slack"
      ],
      "default": "webhook"
    },
    "event_types": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 100,
      "default": [],
      "description": "Event names from the catalogue on the webhooks docs page. Leave empty for every event."
    },
    "livemode": {
      "type": "boolean",
      "default": true,
      "description": "false makes a test endpoint"
    }
  },
  "required": [
    "url"
  ]
}