> ## Documentation Index > Fetch the complete documentation index at: https://docs.mapp.com/llms.txt > Use this file to discover all available pages before exploring further. # Find webhook by id > Returns a single webhook subscription owned by the company.

Behavior:
- Returns 404 when the webhook does not exist for this company.
- For security, secret is returned only during registration and secret rotation.
- In find responses, secret is intentionally sanitized and returned as null. ## OpenAPI ````json GET /api/webhooks-management/webhooks/{id} { "openapi": "3.0.1", "info": { "title": "Product Catalog API", "version": "1.0.0", "x-source-versions": { "upc": "1.0.3", "webhooks": "1.0.0" } }, "servers": [ { "url": "https://api.mapp.com" } ], "security": [ { "Keycloak": [] } ], "tags": [ { "name": "Variant Data Bulk Operations", "description": "Endpoints for variant data bulk operations" }, { "name": "Variant Data Operations", "description": "Endpoints for variant data operations" }, { "name": "Catalog Metadata Operations", "description": "Endpoints for catalog metadata operations" }, { "name": "Product Data Operations", "description": "Endpoints for product data operations" }, { "name": "Webhooks Management", "description": "Manage webhook subscriptions. See Register webhook for delivery headers and signature verification." } ], "paths": { "/api/webhooks-management/webhooks/{id}": { "get": { "tags": [ "Webhooks Management" ], "summary": "Find webhook by id", "description": "Returns a single webhook subscription owned by the company.

Behavior:
- Returns 404 when the webhook does not exist for this company.
- For security, secret is returned only during registration and secret rotation.
- In find responses, secret is intentionally sanitized and returned as null.", "operationId": "findById", "parameters": [ { "name": "id", "in": "path", "description": "Webhook subscription identifier.", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Webhook subscription returned successfully.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WebhookSubscriptionDTO" }, "example": { "id": 1, "creatorId": 300, "url": "https://api.yoursite.com/webhook", "eventTypes": [ "variant.added" ], "status": "ACTIVE", "secret": null, "failuresCount": 0 } } } }, "404": { "description": "Webhook subscription was not found for this company.", "content": { "text/plain": { "schema": { "type": "string" }, "example": "Webhook not found" } } } } } } }, "components": { "schemas": { "WebhookSubscriptionDTO": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "creatorId": { "type": "integer", "format": "int64" }, "url": { "type": "string" }, "eventTypes": { "type": "array", "items": { "type": "string" } }, "status": { "type": "string" }, "secret": { "type": "string" }, "createdAt": { "type": "string", "format": "date-time" }, "updatedAt": { "type": "string", "format": "date-time" }, "failuresCount": { "type": "integer", "format": "int64" }, "firstFailureAt": { "type": "string", "format": "date-time" }, "lastFailureAt": { "type": "string", "format": "date-time" }, "lastSuccessAt": { "type": "string", "format": "date-time" } } } }, "securitySchemes": { "Keycloak": { "type": "http", "scheme": "bearer", "bearerFormat": "JWT" } } } } ````