DMBridge API & webhooks
The DMBridge API lets you manage Instagram DM automations, contacts and broadcasts with a simple REST API and an API key, and receive real-time signed webhooks for leads, clicks, follows and orders. It works with Zapier, Make, n8n, Pabbly and your own code. Pro plan.
Authentication
Create an API key in DMBridge → Tools → Integrations → API, Zapier & Make (Pro). Send it as a Bearer token. Keys can be read-only or read & write, and are shown once.
curl https://app.dmbridge.co/api/v1/me \ -H "Authorization: Bearer dmbk_your_key"
Base URL: https://app.dmbridge.co/api/v1 · JSON in and out · up to 120 requests per minute per key. Errors return {"error": "…"} with a 4xx status.
Automations
/automationsList all automations.
/automations/{id}Get one automation.
/automationsCreate an automation. It is created paused unless you send "status": "live".
curl -X POST https://app.dmbridge.co/api/v1/automations \
-H "Authorization: Bearer dmbk_your_key" -H "Content-Type: application/json" \
-d '{"name":"Free guide","trigger":"comment","scope":"any","keywords":["guide"],
"links":[{"label":"Get the guide","url":"https://example.com/guide"}],"followGate":true}'/automations/{id}Change fields. Use "status": "live" or "paused" to switch it on or off.
/automations/{id}Delete an automation (can be undone in Tools → Connect your AI → Changes).
Main fields: name, trigger (comment, story_reply, story_mention, dm, live), scope (one, any), mediaId, keywords, match (contains, exact, any), message, links, action ({type: links, text, file, coupon, product, quiz, menu, carousel}), followGate, publicReply (on, off), collectEmail, followUp.
Contacts, stats, orders, products
/contacts?q=&tag=&page=Search contacts (username, name, email, tags).
/contacts/{igsid}Change tags or notes: add_tags, remove_tags, tags, notes.
{"add_tags": ["vip"]}/stats?days=30Triggers, DMs, clicks, emails, sales and follow-gate followers — totals, per automation and per day.
/ordersRecent orders.
/productsStore products.
/meAccount, plan and usage.
Broadcasts
/broadcastsMessage everyone active in the last 24 hours (optionally a tag).
{"text": "Live class starts in 1 hour!", "buttons": [{"label": "Join", "url": "https://example.com/live"}]}/broadcasts/{id}/cancelCancel a broadcast that is still sending.
Webhooks & instant triggers
Add webhooks in the dashboard, or subscribe programmatically (REST hooks — ideal for Zapier, Make, n8n and Pabbly instant triggers):
/hooksSubscribe a URL to events. Returns the hook id and its signing secret.
{"url": "https://hooks.zapier.com/hooks/catch/123/abc", "events": ["lead.email"]}/hooks/{id}Unsubscribe.
/eventsList event names.
/samples/{event}A sample payload (for setting up triggers).
Events
contact.created— someone interacts for the first timelead.email— an email is collectedautomation.delivered— an automation delivers its replylink.clicked— a link button is clickedfollow_gate.followed— someone follows through the follow gatequiz.completed— a quiz is finishedorder.paid— an order is paid
Payload
POST https://your-server.com/dmbridge
x-dmbridge-event: lead.email
x-dmbridge-signature: 5f0c… (HMAC-SHA256 of the raw body, hex, with the webhook's signing secret)
{"event":"lead.email","account":"yourbrand","ts":"2026-11-09T10:15:00.000Z",
"data":{"igsid":"1784…","username":"fan.account","email":"[email protected]","automation":"Free guide"}}
Verify the signature (Node.js)
const crypto = require("crypto");
const ok = crypto.createHmac("sha256", process.env.DMBRIDGE_SECRET).update(rawBody).digest("hex")
=== req.headers["x-dmbridge-signature"];
Respond with any 2xx within 10 seconds. Failed deliveries (timeouts, 5xx, 408, 429) are retried up to 5 times with increasing delays. Every delivery is listed in Tools → Integrations → Activity.
AI apps (MCP)
To use DMBridge from Claude, ChatGPT, Cursor or another AI app, add the remote MCP server https://app.dmbridge.co/mcp — sign-in is OAuth, no API key needed. Guide →
Frequently asked questions
Is there a Zapier app?
You can connect DMBridge to Zapier today with Webhooks by Zapier (instant trigger via a webhook or POST /hooks) and API calls. A native listing is coming.
Is the API free?
The API, webhooks and app integrations are included in DMBridge Pro.
Try DMBridge free
Connect Instagram in 30 seconds. 100 auto-DMs a month free — no card needed.
Continue with Instagram