{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/karbonhq/json-schema/karbonhq-get-webhook-subscriptions-schema.json",
  "title": "GetWebhookSubscriptions",
  "description": "The details of a specific Webhook Subscription",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/karbonhq-webhook-subscriptions-api-openapi.yml#/components/schemas/GetWebhookSubscriptions",
  "type": "object",
  "properties": {
    "@odata.context": {
      "type": "string",
      "description": "The information about Karbon controllers generating this response"
    },
    "TargetUrl": {
      "type": "string",
      "description": "The URL to your server that is waiting to receive information about the `WebhookType` from Karbon",
      "maxLength": 2000
    },
    "WebhookType": {
      "type": [
        "string",
        "null"
      ],
      "description": "The type of Karbon entity, which the Webhook Subscription is associated with. `Multi` on the response to the `POST` that created a multi-type subscription; `null` when that same subscription is retrieved afterwards via `GET` — use `WebhookTypes` instead.",
      "enum": [
        "Contact",
        "CustomField",
        "Work",
        "Note",
        "User",
        "IntegrationTask",
        "Invoice",
        "EstimateSummary",
        "Multi",
        null
      ]
    },
    "WebhookTypes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Present on a multi-type subscription. The set of resource types this subscription receives notifications for."
    },
    "BatchSize": {
      "type": "integer",
      "description": "The number of notifications accumulated before delivery as a single batch."
    },
    "BatchMaxDelaySeconds": {
      "type": "integer",
      "description": "The additional delay, in seconds, applied on top of the standard 60-second dispatch window before a batch is sent."
    }
  }
}