{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/postman/main/json-schema/postman-create-webhook-schema.json",
  "title": "createWebhook",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/postman-webhooks-api-openapi.yml#/components/schemas/createWebhook",
  "type": "object",
  "properties": {
    "webhook": {
      "$ref": "#/$defs/CreateWebhookWebhook"
    }
  },
  "$defs": {
    "CreateWebhookWebhook": {
      "type": "object",
      "properties": {
        "collection": {
          "type": "string",
          "format": "uid",
          "description": "The unique ID of the collection to trigger when calling this webhook."
        },
        "environment": {
          "type": "string",
          "format": "uid",
          "description": "The unique ID of the environment to trigger when calling this webhook."
        },
        "name": {
          "type": "string",
          "description": "The webhook's name. On success, the system creates a new monitor with this name in the **Monitors** tab."
        }
      },
      "required": [
        "collection",
        "name"
      ],
      "title": "CreateWebhookWebhook"
    }
  }
}