> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://developer.icepanel.io/api-reference/webhook-events/on-diagram/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developer.icepanel.io/_mcp/server. # Diagram POST Webhook event triggered when a diagram was modified Reference: https://developer.icepanel.io/api-reference/webhook-events/on-diagram ## Request ### Payload - `collection` (enum, required) - Allowed values: `diagram` - `operation` (enum, required) - Allowed values: `created`, `updated`, `deleted` - `organizationId` (string, required) - `resourceId` (string, required) - `subscriptionId` (string, required) - `after` (WebhooksOnDiagramPayloadContentApplicationJsonSchemaAfter, optional) - `before` (WebhooksOnDiagramPayloadContentApplicationJsonSchemaBefore, optional) ## Types ### WebhooksOnDiagramPayloadContentApplicationJsonSchemaAfter - `id` (string, required) - `landscapeId` (string, optional) - `versionId` (string, optional) ### WebhooksOnDiagramPayloadContentApplicationJsonSchemaBefore - `id` (string, required) - `landscapeId` (string, optional) - `versionId` (string, optional)