Returns a single webhook configuration by ID.
Overview
Retrieve detailed information about a specific webhook configuration, including its health status, subscribed events, and configuration details.
Authentication
Bearer token with read:webhooks scope
Path Parameters
The webhook configuration ID (UUID v4)
Response
Unique identifier for the webhook
The API key ID this webhook belongs to
The endpoint URL receiving webhook notifications
Human-readable name for the webhook
Description of the webhook’s purpose
Custom headers configured for this webhook. Sensitive header values are masked.
Array of subscribed event type labels
Whether the webhook is currently active
Maximum retry attempts for failed deliveries
Request timeout in milliseconds
Current count of consecutive delivery failures
ISO 8601 timestamp when circuit breaker was triggered (null if closed)
ISO 8601 timestamp when webhook was created
ISO 8601 timestamp when webhook was last updated
Example Request
curl -X GET https://api.instaview.sk/webhooks/550e8400-e29b-41d4-a716-446655440000 \
-H "Authorization: Bearer sk_your_key_here"
Example Response
{
"success": true,
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"apiKeyId": "api-key-uuid",
"url": "https://api.example.com/webhooks/instaview",
"name": "Production Webhook",
"description": "Receives interview completion notifications",
"headers": [
{ "name": "Authorization", "isMasked": true },
{ "name": "X-Custom-Header", "isMasked": false }
],
"events": ["interview.completed", "analysis.completed"],
"isActive": true,
"maxRetries": 3,
"timeoutMs": 30000,
"consecutiveFailures": 0,
"circuitOpenedAt": null,
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}
}
Error Responses
{
"success": false,
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Webhook configuration not found",
"details": {
"resourceType": "WebhookConfig",
"resourceId": "invalid-uuid"
}
}
}
{
"success": false,
"error": {
"code": "RESOURCE_ACCESS_DENIED",
"message": "Access denied to this webhook configuration"
}
}
List Webhooks
List all webhook configurations
Update Webhook
Update webhook configuration