Ready to Automate Your Growth?
Join 30,000+ creators and brands using InstantDM today.
Get Started NowAny support required, we're just one click away.
Short answer
Yes, you can trigger an automation or send an Instagram DM through an API. In InstantDM, click API & MCP on Home, open API and click Generate New Key. Your app can then send a DM (POST /send_message) or start a flow (POST /trigger_flow) at openapi.instantdm.com. The API is on Trendsetter, Trendsetter Pro and the Multi plans, and on Free for the first 8 days. Instagram still only lets you message people who contacted you first.
People usually ask this when they want their own website, CRM or a tool like Make, n8n or Zapier to start an Instagram conversation. That works, with one limit that applies to every tool: Instagram's official API only lets a business message people who contacted it first. A person must have sent you a DM, replied to your story or commented on your post. After their last message you have 24 hours to send normal messages. See the Instagram 24-hour window. A comment allows one private reply.
So an API can't send a cold DM to a list of usernames. What it can do is answer people who already reached out, from your own system, and start your automations for them.
If Generate New Key can't be clicked, your plan doesn't include the API. It works again as soon as you move to an eligible plan.
No. Instagram's API only lets a business message people who messaged it or commented, and normal messages only within 24 hours of their last message. The API passes Instagram's error back to you when a send is refused.
No. Legend Pro has no API access. You need Trendsetter, Trendsetter Pro or a Multi plan. New Free accounts can try it during their first 8 days.
Reading data is free. Each DM or reply sent through the API uses 1 credit. A flow started with trigger_flow uses credits for the messages the flow sends.
No. An API key belongs to one InstantDM account. Switch to each account and generate its own key there. Each account needs an eligible plan.
Yes. The same API & MCP page has an MCP connection that AI assistants can use to send DMs and start flows for you.