DMBridge API & webhooks

Updated 28 November 2026 · by the DMBridge team
Quick answer

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

GET/automations

List all automations.

GET/automations/{id}

Get one automation.

POST/automations

Create 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}'
PATCH/automations/{id}

Change fields. Use "status": "live" or "paused" to switch it on or off.

DELETE/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

GET/contacts?q=&tag=&page=

Search contacts (username, name, email, tags).

PATCH/contacts/{igsid}

Change tags or notes: add_tags, remove_tags, tags, notes.

{"add_tags": ["vip"]}
GET/stats?days=30

Triggers, DMs, clicks, emails, sales and follow-gate followers — totals, per automation and per day.

GET/orders

Recent orders.

GET/products

Store products.

GET/me

Account, plan and usage.

Broadcasts

POST/broadcasts

Message 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"}]}
POST/broadcasts/{id}/cancel

Cancel 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):

POST/hooks

Subscribe a URL to events. Returns the hook id and its signing secret.

{"url": "https://hooks.zapier.com/hooks/catch/123/abc", "events": ["lead.email"]}
DELETE/hooks/{id}

Unsubscribe.

GET/events

List event names.

GET/samples/{event}

A sample payload (for setting up triggers).

Events

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
Start free — 100 DMs/month