Webhooks let you receive real-time notifications when events occur in Plinqx. Configure webhooks to integrate with external systems or trigger automations.Documentation Index
Fetch the complete documentation index at: https://hypha-docs.plinqx.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Webhooks provide:- Real-time Notifications: Get notified immediately when events occur
- External Integration: Connect Plinqx to external systems
- Automation: Trigger workflows in other platforms
- Event History: Track all webhook deliveries
Supported Events
Plinqx emits webhook events for:| Event | Description |
|---|---|
| approval.requested | An approval request is created |
| approval.completed | An approval request is resolved |
| approval.expired | An approval request expires |
| tool.called | A tool is executed |
| tool.error | A tool execution fails |
| invocation.started | A tool invocation begins |
| invocation.completed | A tool invocation completes successfully |
| invocation.failed | A tool invocation fails |
| connection.health_changed | A connection health status changes |
| connection.credential_expiring | A connection credential is about to expire |
Creating Webhooks
Configure Webhook
Provide:
- Name: Descriptive name for the webhook
- URL: Endpoint URL to receive webhooks
- Events: Select which events to subscribe to
- Secret: Optional secret for signature verification
- Headers: Optional custom headers to include
Webhook Security
Signature Verification
Plinqx signs webhook payloads for verification:- Header:
X-Plinqx-Signature - Timestamp:
X-Plinqx-Timestamp - Event Type:
X-Plinqx-Event
Webhook Payload
Webhook payloads include:- Event Type: The event that triggered the webhook
- Timestamp: When the event occurred
- Data: Event-specific data
- Metadata: Additional context
Webhook Delivery
Delivery Status
Webhook deliveries have statuses:| Status | Description |
|---|---|
| PENDING | Queued for delivery |
| SUCCESS | Successfully delivered |
| FAILED | Delivery failed |
| RETRYING | Retrying after failure |
Retry Policy
Plinqx automatically retries failed deliveries:- Exponential Backoff: Increasing delays between retries
- Max Retries: Configurable maximum retry attempts
- Timeout: Configurable request timeout
Managing Webhooks
Viewing Deliveries
Retrying Failed Deliveries
Disabling Webhooks
Temporarily disable webhooks without deleting them:- Open the webhook
- Toggle Enabled OFF
- Webhook stops receiving events
Deleting Webhooks
- Open the webhook
- Click Delete
- Confirm deletion
Webhook Statistics
View webhook statistics:- Total Deliveries: Count of all delivery attempts
- Success Rate: Percentage of successful deliveries
- Average Response Time: Average time to receive response
- Failed Deliveries: Count of failed attempts
Best Practices
Verify Signatures
Always verify webhook signatures for security
Handle Idempotency
Use event IDs to handle duplicate deliveries
Respond Quickly
Respond to webhooks within timeout window
Monitor Failures
Set up alerts for webhook delivery failures
Next Steps
View Audit Logs
See webhook events in audit logs
Configure Policies
Set up policies that trigger webhook events