What are Webhooks?
Webhooks allow you to receive real-time HTTP notifications when events occur in your Gu1 organization. Instead of polling the API repeatedly, Gu1 sends automatic POST requests to your configured endpoint whenever something important happens.Why Use Webhooks?
Real-Time Updates
Get instant notifications as events happen
Efficient
No need to poll the API repeatedly
Automated Workflows
Trigger actions automatically based on events
Scalable
Handle high volumes without performance impact
How Webhooks Work
- Configure a webhook in your Gu1 dashboard
- Subscribe to specific event types
- Receive HTTP POST requests when events occur
- Process events in your application
Available Event Types
Gu1 supports webhooks for the following categories:Entity Events
Track changes to persons, companies, and other entities:entity.created- New entity createdentity.updated- Entity data updatedentity.status_changed- Entity status changedentity.deleted- Entity deleted (coming soon)
KYC Events
Monitor identity verification processes:kyc.validation_created- KYC validation startedkyc.validation_in_progress- User began verificationkyc.validation_approved- Verification approvedkyc.validation_rejected- Verification failedkyc.validation_abandoned- User abandoned processkyc.validation_expired- Validation session expired
Rule Events
Track compliance and business rule executions:rule.triggered- Rule matched and executed
Transaction Events (Coming Soon)
Monitor transaction activity:transaction.created- New transaction recordedtransaction.updated- Transaction updatedtransaction.flagged- Transaction flagged as suspicious
Alert Events (Coming Soon)
Track investigations and alerts:alert.created- New alert createdalert.resolved- Alert resolvedalert.status_changed- Alert status changed
Key Features
Organization-Level Configuration
Webhooks are configured at the organization level, not per-request. One configuration applies to all matching events in your organization.Environment Support
Create separate webhooks for different environments:- Sandbox - For testing and development
- Production - For live operations
Advanced Filtering
Filter which events trigger webhooks:- Entity types - Only persons, only companies, etc.
- Status changes - Only when changing from/to specific statuses
- Custom filters - Additional criteria based on event data
Security
- HMAC SHA-256 signatures - Verify requests are from Gu1
- HTTPS required - All webhooks must use secure endpoints
- Secret rotation - Regenerate secrets anytime
Reliability
- Automatic retries - Failed requests are retried with exponential backoff
- Configurable retry policy - Customize retry behavior per webhook
- Delivery logs - Track all delivery attempts and responses
Monitoring
- Execution history - View all webhook deliveries
- Statistics - Success/failure rates and timing
- Error tracking - Detailed error messages for debugging
Quick Start
Get started with webhooks in 3 steps:Configure Webhook
Go to Settings β Webhooks and create a new webhook with your endpoint URL.Configuration Guide β
Implement Endpoint
Create an HTTPS endpoint that receives POST requests and verifies signatures.Security Guide β
Common Use Cases
Automated Customer Onboarding
Automated Customer Onboarding
Scenario: Automatically activate customer accounts when KYC is approved.Events:
kyc.validation_approvedActions:- Update customer status in your database
- Send welcome email
- Enable account features
- Notify internal teams
Real-Time Compliance Monitoring
Real-Time Compliance Monitoring
Scenario: Track entity status changes for compliance reporting.Events:
entity.status_changed, rule.triggeredActions:- Log status changes for audit trail
- Trigger compliance workflows
- Send alerts to compliance team
- Update risk scores
Transaction Risk Alerts
Transaction Risk Alerts
Scenario: Get notified when high-risk transactions are detected.Events:
transaction.flagged, alert.createdActions:- Notify fraud team immediately
- Pause related transactions
- Request additional verification
- Log for investigation
Multi-System Integration
Multi-System Integration
Scenario: Keep multiple systems synchronized with Gu1 data.Events: All entity and KYC eventsActions:
- Update CRM with verification status
- Sync with payment processor
- Update analytics platform
- Trigger marketing automation
Webhook Structure
All webhooks follow a standard format:event- Event type identifiertimestamp- When the event occurred (ISO 8601)organizationId- Your organization IDpayload- Event-specific data (varies by event type)
Best Practices
Verify Signatures
Always verify HMAC signatures to ensure requests are from Gu1
Respond Quickly
Return 200 status within 30 seconds, process asynchronously
Handle Idempotency
Use event IDs to prevent duplicate processing
Monitor Failures
Track webhook delivery failures and investigate issues
Performance & Limits
- Timeout: 30 seconds per delivery attempt
- Max Retries: 3 (configurable)
- Retry Delay: 1s, 2s, 4s (exponential backoff)
- Payload Size: Up to 1MB per webhook
- Rate Limit: No enforced limit (best effort delivery)
Getting Help
Configuration Guide
Step-by-step setup instructions
Security Guide
Implement signature verification
Event Reference
All available event types
Troubleshooting
Common issues and solutions
Next Steps
Read Configuration Guide
Learn how to set up webhooks in your dashboardConfiguration Guide β
Explore Event Types
Implement Security
Add signature verification to your endpointSecurity Guide β