Meta API & Compliance·6 min read·

Instagram Comment-to-DM API Guide: Official Rules, Limits & Setup

Sending automated Instagram DMs safely requires using Meta's official Graph API private reply endpoint—never password sharing or browser scraping. Here is how the workflow, permissions, and rate limits work in production.

1. Official Private Reply Semantics (comment_id)

When a follower comments on your Instagram Business or Creator post or reel, Meta sends a comments webhook payload containing the media ID and comment ID.

Instead of initiating a cold DM, official tools call the Messaging API using that comment_id to deliver a one-time private reply. Meta enforces a strict one-private-reply-per-comment rule.

  • ✓Works only on Instagram Professional (Business or Creator) accounts.
  • ✓Triggered strictly by comments on your own posts or reels.
  • ✓Deduplicating comment_id + campaign_id in Redis/BullMQ prevents duplicate sends.

2. Required Meta Permissions

If you run your own Meta App for yourself or testers, you can test immediately in Development mode. To onboard external users publicly, Meta App Review checks three core permissions:

  • ✓instagram_business_basic — Identifies the connected professional account.
  • ✓instagram_business_manage_comments — Receives comment webhooks and posts optional public replies.
  • ✓instagram_business_manage_messages — Sends the one-time private reply and manages 24h inbox threads.

3. Rate Limits, Burst Smoothing & Error 368 Protection

Viral Reels can generate hundreds of comments in minutes. Firing unthrottled API requests triggers transient throttles (HTTP 429, Meta codes 613 / 80001) or anti-spam blocks (Error 368).

ReplyGo uses Redis-backed sliding windows and separate cooldown buckets to keep accounts healthy:

  • ✓Private replies: 680/hour cushion (below Meta's 750/hour ceiling) and 30/minute burst cap.
  • ✓Open-window DMs (Story replies & postbacks): 1,500/hour and 40/minute burst cap.
  • ✓Transient rate limits pause briefly (3 minutes), while Error 368 pauses the account for 30 minutes.

Frequently asked questions

Do I need Meta App Review to automate my own Instagram account?

No. If you self-host ReplyGo for your own accounts (or test accounts listed as App Testers), you can run campaigns without completing public App Review—or use Zernio as a managed provider.

Can personal Instagram accounts use comment-to-DM automation?

No. Meta only exposes webhooks and private reply APIs for Instagram Business and Creator (Professional) accounts.

Related features in ReplyGo