Get Subscription
API Endpoints
Get Subscription
Get a specific webhook subscription by ID.
Authentication: Requires X-API-Key header with valid API key.
Args:
subscription_id: Subscription UUID
identity: Authenticated API key identity
repository: Repository for accessing subscriptions (injected)
Returns:
WebhookSubscriptionResponse with subscription details
Raises:
401: If API key missing or invalid
403: If subscription belongs to different workspace
404: If subscription not found
Example:
GET /api/v1/integrations/webhooks/subscriptions/550e8400-e29b-41d4-a716-446655440000
Response (200):
{
"id": "550e8400-...",
"workspace_id": "660e8400-...",
"endpoint_url": "https://example.com/webhooks",
"secret": "whsec_...",
"event_types": ["asset.processing.completed"],
"description": "Production webhook",
"enabled": true,
"created_at": "2026-04-09T12:00:00Z",
"updated_at": "2026-04-09T12:00:00Z"
}
GET
Get Subscription
Authorizations
Workspace-scoped API key. Format: sk_live_{64 hex chars}
Path Parameters
Response
Successful Response
Response model for webhook subscription (GET/LIST/PATCH operations).
Subscription ID
Workspace ID
Webhook endpoint URL
Subscribed event types
Whether subscription is active
Creation timestamp
Last update timestamp
Subscription description