Overview
Register a webhook endpoint to receive real-time notifications about events in your Kakiyo campaigns. Webhooks enable seamless integration with your CRM, analytics tools, and custom applications.Use Cases
- CRM Integration: Sync qualified prospects to your CRM automatically
- Analytics Tracking: Send campaign events to analytics platforms
- Notification Systems: Alert team members about important events
- Workflow Automation: Trigger automated workflows based on prospect actions
Supported Events
- prospect.qualified - Prospect marked as qualified
- prospect.responded - Prospect responded to outreach
- campaign.completed - Campaign reached completion
- message.sent - Message sent to prospect
- connection.accepted - LinkedIn connection accepted
- agent.status_changed - Agent status changed
Security
Webhooks support optional secret-based authentication. Include a secret to verify webhook authenticity using HMAC-SHA256 signatures.Testing Example
Webhook Handler Example
Best Practices
- HTTPS Only: Always use HTTPS URLs for webhook endpoints
- Signature Verification: Implement signature verification for security
- Idempotency: Handle duplicate webhook deliveries gracefully
- Error Handling: Return appropriate HTTP status codes
- Timeout Handling: Respond within 30 seconds to avoid retries
- Event Filtering: Subscribe only to events you need
Testing Your Webhook
Use the webhook test endpoints to validate your integration:- Get Available Events:
GET /webhooks/test/events - Get Event Examples:
GET /webhooks/test/example/{event} - Send Test Event:
POST /webhooks/test
Authorizations
Body
application/json