cURL
curl --request GET \ --url https://api.example.com/webhooks/{id} \ --header 'Authorization: <authorization>'
{ "id": "<string>", "apiKeyId": "<string>", "url": "<string>", "name": "<string>", "description": "<string>", "headers": [ {} ], "events": [ {} ], "isActive": true, "maxRetries": 123, "timeoutMs": 123, "consecutiveFailures": 123, "circuitOpenedAt": "<string>", "createdAt": "<string>", "updatedAt": "<string>" }
read:webhooks
curl -X GET https://api.instaview.sk/webhooks/550e8400-e29b-41d4-a716-446655440000 \ -H "Authorization: Bearer sk_your_key_here"
{ "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" } }
404 - Webhook Not Found
{ "success": false, "error": { "code": "RESOURCE_NOT_FOUND", "message": "Webhook configuration not found", "details": { "resourceType": "WebhookConfig", "resourceId": "invalid-uuid" } } }
403 - Access Denied
{ "success": false, "error": { "code": "RESOURCE_ACCESS_DENIED", "message": "Access denied to this webhook configuration" } }