Webhook & Send API for Custom Integrations
Bidirectional integration: receive inbound DM events (message received, lead captured, escalation, booking) via webhooks and send outbound messages via REST API. HMAC-SHA256 signed, 6-attempt retry with exponential backoff, dead-letter queue, and External Reply Mode to run your own AI.
$29/month add-on · Creator+ plans · 7-day free trial
How the API Works
Two directions, one integration — events in, messages out
Configure Your Endpoint
In your ChatGenius dashboard, enter your webhook URL. The system generates a per-client API key and HMAC webhook secret. Both are rotatable at any time.
Receive Inbound Events
When a DM arrives, a lead is captured, a conversation escalates, or a booking is created — ChatGenius sends a signed webhook to your endpoint with full event context.
Send Outbound Messages
Use the Send API to reply to conversations, send reactions, or resolve threads. Authenticate with your API key and include an idempotency key to prevent duplicates.
External Reply Mode
Optionally disable ChatGenius AI entirely. Your backend receives all inbound events and sends all replies — ChatGenius becomes a pure message relay with Meta API integration.
API Features
1,436 lines of production-grade integration infrastructure
Bidirectional Communication
Inbound webhooks forward DM events to your server. Outbound Send API lets you reply, react, and resolve conversations. Two services (541 + 895 lines) handle each direction independently.
HMAC-SHA256 Signing
Every webhook payload is signed with your per-client secret. Verify the X-ChatGenius-Signature header to ensure events are authentic and haven't been tampered with in transit.
6-Attempt Exponential Retry
Failed webhook deliveries retry at 30s, 1m, 5m, 15m, 1h, and 4h intervals. After 6 failures, events land in a dead-letter queue that you can replay from the dashboard.
Dead-Letter Queue
Events that exhaust all retry attempts are stored in a dead-letter queue. View failed deliveries in your dashboard, inspect payloads, and replay them once your endpoint is healthy.
Per-Client API Keys
Each client gets a unique API key for Send API authentication and a separate webhook secret for signature verification. Both support instant rotation without downtime.
Idempotency Keys
Include an idempotency key with Send API requests to prevent duplicate message delivery. If your server retries a failed request, ChatGenius recognizes the key and skips the duplicate.
Use Cases
Sync DMs to Your CRM
Every inbound DM and captured lead is forwarded to your webhook. Parse the event and create contacts, deals, or tickets in HubSpot, Salesforce, GoHighLevel, or any CRM with an API.
Run Your Own AI Agent
Enable External Reply Mode to disable ChatGenius AI. Your backend receives all messages via webhooks, processes them with your own model, and sends replies through the Send API.
Order Status Notifications
When an order ships, your backend sends a DM to the customer via the Send API with tracking info. No manual messaging needed — your fulfillment system triggers the notification automatically.
Plan Availability
Webhook & API Questions
Works Great With
Connect Your Stack to Instagram DMs
Start your 7-day free trial. No credit card required.
Start Free Trial