🚀 Get TikTok DMs and Ads in Wati Team Inbox and convert social engagement into revenue See TikTok on Wati

Instagram API

Instagram API: comments by REST, DMs through MCP.

Read new comments, answer in public, send a private reply and keep the conversation going in DMs. Made for builders and vibe coders. Prefer WhatsApp? Put a link to your number in the reply.

  • In the APIComments: list, reply, private reply, permissions

Last updated

What the Instagram API covers today

CapabilityHow you use itStatus
Comments: list posts and comments, reply in publicREST APILive
Private reply to a commentREST APILive
DM: send and receiveMCP serverLive via MCP
DMREST APIComing soon, waitlist

Not supported yet: hiding or deleting comments, and Instagram webhook events.

  • 16,000+businesses in 190+ countries
  • 4.6/5average rating on G2
  • OfficialMeta Business Partner and WhatsApp BSP
G2 Leader, ChatbotsG2 Leader Mid-Market, ChatbotsG2 Momentum Leader, ChatbotsG2 Most Implementable, WhatsApp MarketingISO 27001GDPR

One comment. One more conversation.

Answer in public, reply in private and keep talking in DMs. Or move the chat to WhatsApp.

  • Starts with a templateAn approved template opens the conversation, for one customer or 10,000.
  • Continues in chatText, media and buttons once the customer replies.
  • Ends with your teamWebhooks tell your code. The team inbox tells your people.
The product

Send. Reply. Hear back. Hand off.

InstagramInstagram comments and DMs

Build Instagram automation too.

List comments on your posts, reply in public or send a private reply.

Broadcasts

Personal messages, sent at scale.

Pick an approved template and pass up to 10,000 recipients. Each person gets their own variables, and each result comes back by number.

Messaging

Reply with more than text.

Inside the 24-hour window, send text, images, files, reply buttons and list pickers, with a typing indicator while you work.

Order updates and alerts

The right update, when it happens.

Your store, booking or billing system sends an approved template when something changes. Customers tap a button or reply.

Auto-reply and chatbots

Your code answers.

The message webhook brings each new message to your server. Reply with the send endpoints, or start a Wati chatbot on Pro and Business.

Webhooks

Every reply, the moment it lands.

Webhooks push new messages, read receipts, clicks and failures to your URL. No polling.

Team inbox

Code starts it. People finish it.

Replies land in the Wati team inbox. Assign an operator, set status and add tags by API, so the right person picks it up.

Contacts and segments

Your CRM, mirrored in Wati.

Create and update contacts with custom attributes, then preview a segment before you message it.

Get started

Live in three steps.

  1. Connect

    Connect your number

    Link your WhatsApp number through Meta's Embedded Signup inside Wati.

  2. Authenticate

    Get a token

    Create an API token in Wati and give it only the scopes you need. Keep it on your server.

  3. Send

    Make your first call

    Send an approved template with one request. Then add a webhook to follow delivery.

Your first request, explained

Here is what goes into one request, and where each part shows up in the message.

  1. Which comment

    The comment you are answering. You get its ID when you list a post's comments.

    comment_idin the URL path
  2. From which account

    Your Instagram account connected to Wati.

    channel
  3. To whom

    The person who wrote the comment, taken from the same comment.

    userIduserName
  4. What to send

    Plain text up to 1,000 characters, or a template with buttons.

    type = texttexttype = template
  5. What you get back

    A 200 with ok set to true means the private reply went through. Use the same Authorization header as every other call.

    ok: trueresult: success

POST /api/ext/v3/comments/{comment_id}/privateReply. The comment and reply text are examples. See the request in the docs

Copy-ready codeHide the code
POST/api/ext/v3/comments/{comment_id}/privateReply
curl -X POST "https://live-mt-server.wati.io/api/ext/v3/comments/$COMMENT_ID/privateReply" \
  -H "Authorization: Bearer $WATI_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "channel": "yourbrand",
    "userId": "17841400000000000",
    "userName": "maya",
    "type": "text",
    "text": "Hi Maya, yes we do. Chat with us on WhatsApp for shipping options."
  }'
200 Example responseResponse shape from the docs schema
{
  "ok": true,
  "result": "success"
}
Built in

What Wati handles so you don't have to.

Number onboarding

Connect through Meta's Embedded Signup. The WhatsApp Business Account is registered to your business.

Template status

Approval, quality and category changes arrive as webhooks, so you know before a send fails.

Webhook retries

Up to 144 retries, every 10 minutes. If your endpoint keeps failing, Wati emails you.

Rate limits and queueing

Go too fast and you get 429 with a Retry-After header. Accepted messages wait in a queue.

Human handoff

A shared team inbox for the conversations your code should not answer alone.

Scoped API tokens

v3 supports scoped tokens, so each integration gets only the access it needs.

Scheduled sends

Schedule a template send for later with one call. Wati sends it on time.

Cost estimate first

Estimate what a broadcast will cost before anything is sent.

Under the hood

The endpoints, by capability.

Templates

Start conversations with approved templates, now or scheduled.

Docs →
GET/messageTemplatesPOST/messageTemplates/sendPOST/messageTemplates/schedule

Broadcasts

Read campaign results and per-recipient status, and estimate cost first.

Docs →
GET/broadcastsGET/broadcasts/{broadcast_id}/recipientsPOST/broadcasts/estimate-cost

Messaging

Reply with text, media or buttons inside the 24-hour window.

Docs →
POST/conversations/messages/textPOST/conversations/messages/fileViaUrlPOST/conversations/messages/interactivePOST/conversations/typingIndicator

Chatbots Pro+

List your Wati chatbots and start one for a contact.

Docs →
GET/chatbotsPOST/chatbots/start

Webhooks

Manage subscriptions and list the event types you can receive.

Docs →
GET/webhooksGET/webhooks/event-typesPUT/webhooks/{id}

Contacts & segments

Sync contacts and attributes from your CRM, then target segments.

Docs →
POST/contactsPUT/contactsPOST/segments/evaluate

Team inbox

Assign an operator, change status, add or remove tags.

Docs →
PUT/conversations/{target}/operatorPUT/conversations/{target}/statusPOST/conversations/{target_conv}/tags

Instagram

List posts and comments, reply in public or in private, check permissions.

Docs →
GET/posts/{post_id}/commentsPOST/comments/{comment_id}/repliesPOST/comments/{comment_id}/privateReplyGET/channels/{channel}/permissions

Paths are relative to https://live-mt-server.wati.io/api/ext/v3. Creating a webhook uses the legacy path POST /{tenantId}/api/v2/webhookEndpoints.

For AI agents, the Wati MCP server covers the same WhatsApp actions, and can reply to Instagram DMs and Messenger chats with text.

See all 19 WhatsApp webhook event types

Messages

  • message
  • newContactMessageReceived
  • sessionMessageSent_v2
  • templateMessageSent_v2

Delivery status

  • sentMessageDELIVERED_v2
  • sentMessageREAD_v2
  • sentMessageREPLIED_v2
  • templateMessageFailed

Templates and account

  • templateReviewed
  • templateQualityUpdated
  • templateCategoryUpdated
  • wabaStatusReviewUpdate
  • PhoneNumberQualityUpdatedEvent
  • accountUpdated
  • accountDeleted
  • phoneNumberDeleted

Engagement and calls

  • chatbotTriggered
  • ctaUrlClicked
  • call.status

BSUID versions of several events are also available. Webhook docs

Limits and plans

Clear limits. Published.

30 to 100 per 10 s

Template sends

Calls to send templates, depending on your plan (Growth, Pro or Business).

10,000 recipients

Per v3 send call

One template, up to 10,000 people, each with their own variables.

24 h window

Free-form replies

Text, media and buttons need an open customer service window. Outside it, send a template.

429 Retry-After

When you go too fast

Wati tells you how long to wait. Accepted messages are processed in a queue.

Rate limits and plan availability in detail
Documented rate limits by plan
EndpointGrowthProBusiness
/addContact, /getContacts10 / 10 s10 / 10 s10 / 10 s
/getMessages10 / 10 s10 / 10 s10 / 10 s
/sendTemplateMessage30 / 10 s60 / 10 s100 / 10 s
/sendTemplateMessages30 / 10 s60 / 10 s100 / 10 s

Limits as published on Errors & Rate Limits, listed by endpoint name. The v1 bulk call takes up to 1,000 contacts. Core messaging, template and contact endpoints are on every plan. Team assignment, chat status, chatbots and custom segments need Pro or Business. Updating attributes for many contacts at once needs Business. Endpoint availability by plan. For higher limits, talk to Wati about your use case.

FAQ

Questions people ask

The full API reference is public. Read the docs

What can the Wati Instagram API do?

Today the API lists your Instagram posts and their comments, returns unread comment counts, replies to comments in public, sends the commenter a private reply, and checks your account's comment permissions. Public replies can be up to 2,200 characters and private text replies up to 1,000.

Can I build Instagram automation without a big engineering team?

Yes. The comment endpoints are plain REST calls with a bearer token, so an AI app builder can write them from a short description. A good first build: check for new comments, reply in public, then send a private reply. If you already use an AI agent, the Wati MCP server can reply to Instagram DMs with text.

How do I check my Instagram permissions before replying?

Call GET /channels/{channel}/permissions with your connected Instagram channel. The response tells you whether comment permissions are granted and lists any missing scopes, so your automation can stop before a reply fails.

Do I need to know how to code?

Less than you used to. AI app builders can write the API calls from plain-English instructions, and the examples on this page show each call.

You still need a WhatsApp number connected to Wati, an API token, and a template that Meta has approved before you can start a conversation. If an AI tool writes the code, check that your token stays on the server.

What are the API rate limits?

Contact and message-history calls are limited to 10 requests per 10 seconds on every plan. Template sends are limited to 30, 60 or 100 requests per 10 seconds on Growth, Pro and Business. When you hit a limit you get HTTP 429 with a Retry-After header. For higher limits, contact Wati.

Can I message a customer at any time?

On WhatsApp, free-form text, media and interactive messages need an open 24-hour customer service window. Outside that window, start the conversation with a template that Meta has approved.

What is the difference between the WhatsApp Business app and the API?

The Business app is for manual chats on a phone, with up to 5 linked devices and broadcast lists capped at 256 contacts. The API connects WhatsApp to your own systems. You can send approved templates at volume, automate replies, receive webhooks and share one number across a team inbox.

Which endpoints are on my plan?

Core messaging, template and contact endpoints are on every plan. Team assignment, chat status, chatbots and custom segments need Pro or Business. The docs list endpoint availability by plan.

Your first message is one request away.

Start free, connect your WhatsApp number in Wati and make your first call.