> ## 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 all webhooks by company with optional status filter
> Returns webhook subscriptions owned by the company.
Behavior:
- If webhookStatus is provided, only webhooks with that status are returned.
- If no webhook matches the filter, the endpoint returns 200 with an empty list.
- 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
{
"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": {
"get": {
"tags": [
"Webhooks Management"
],
"summary": "Find all webhooks by company with optional status filter",
"description": "Returns webhook subscriptions owned by the company.
Behavior:
- If webhookStatus is provided, only webhooks with that status are returned.
- If no webhook matches the filter, the endpoint returns 200 with an empty list.
- For security, secret is returned only during registration and secret rotation.
- In find responses, secret is intentionally sanitized and returned as null.",
"operationId": "findAll",
"parameters": [
{
"name": "webhookStatus",
"in": "query",
"description": "Optional webhook status filter.",
"required": false,
"schema": {
"type": "string",
"enum": [
"ACTIVE",
"FAILING",
"PAUSED",
"ARCHIVED"
]
}
}
],
"responses": {
"200": {
"description": "Webhook subscriptions returned successfully.",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/WebhookSubscriptionDTO"
}
},
"example": [
{
"id": 1,
"creatorId": 300,
"url": "https://api.yoursite.com/webhook",
"eventTypes": [
"variant.added"
],
"status": "ACTIVE",
"secret": null,
"failuresCount": 0
}
]
}
}
},
"400": {
"description": "Invalid status filter value.",
"content": {
"text/plain": {
"schema": {
"type": "string"
},
"example": "Invalid value for webhookStatus"
}
}
}
}
}
}
},
"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"
}
}
}
}
````