Post to Instagram via API: the Graph API requirements (and the shortcut)

Yes, you can post to Instagram via API using the Instagram Graph API — but only from a Business or Creator account linked to a Facebook Page, with a Meta app approved for instagram_content_publish via App Review. Publishing is a two-step container flow. PostWire abstracts all of it into one REST or MCP call.

Last updated June 2026 · PostWire (postwire.io)

Why "post to Instagram via API" is harder than it looks

Instagram has no casual posting API. The only sanctioned path is the Instagram Graph API, and Meta gates it heavily. Before a single photo goes out programmatically, you have to clear every one of these:

The two-step container flow

Even once approved, publishing isn't a single call. The Graph API uses a container model: first you create a media container that references your image or video URL, then you publish that container by its ID. Videos and Reels add an asynchronous processing step you have to poll before publishing. Rate limits cap you at 50 published posts per 24 hours per account.

How PostWire abstracts the Instagram Graph API

PostWire is the social media posting API built for AI agents. Instead of standing up your own Meta app, surviving App Review, and writing the container two-step, you call one endpoint with a brand and a list of platforms. PostWire holds the approved Meta app, manages the OAuth tokens, runs the create-then-publish flow, and polls video processing for you.

TaskRaw Instagram Graph APIPostWire
Meta app + App ReviewYou build & submitHandled
OAuth / token refreshYour codeHandled
Create container → publishTwo calls + pollingOne call
Multi-platform in one callNoYes
Native MCP for AI agentsNoYes

Honest status: Instagram is in review

To be straight with you: as of June 2026, PostWire's Instagram support is in platform review — along with TikTok, YouTube, X and LinkedIn. Live and posting today are Bluesky, Telegram, Mastodon and Discord. The point of the review process is exactly the App Review gauntlet described above; we go through it once so you never have to. The REST and MCP calls below are the final shape — write them now against the live platforms, and Instagram lights up the moment review clears, with no code change on your end.

Posting to Instagram with PostWire (REST)

One request posts to one or more platforms for a brand. Once Instagram is live, adding "instagram" to platforms is all it takes:

curl -X POST https://postwire.io/api/v1/post \
  -H "Authorization: Bearer $POSTWIRE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "brand": "acme",
    "platforms": ["instagram", "bluesky"],
    "text": "Launch day. New build is live.",
    "media": ["https://cdn.acme.com/launch.jpg"]
  }'

No media container, no token refresh, no App Review — PostWire runs the create-then-publish flow against the Graph API for you.

Posting to Instagram from an AI agent (MCP)

PostWire ships a first-class MCP server — not docs, an actual server your agent can call. Add it to your MCP client config and the agent gets a real post tool:

{
  "mcpServers": {
    "postwire": {
      "url": "https://postwire.io/mcp",
      "headers": { "Authorization": "Bearer $POSTWIRE_API_KEY" }
    }
  }
}

Then the agent simply calls the tool:

postwire.post({
  "brand": "acme",
  "platforms": ["instagram", "discord"],
  "text": "Ship log: v2.1 is out.",
  "media": ["https://cdn.acme.com/ship.jpg"]
})

Pricing: flat per brand

PostWire charges per brand, not per locked-down enterprise seat. The Agency tier alone undercuts the competition by a wide margin.

PlanPrice / moBrands
Free$01 brand · 30 posts
Starter$9Solo
Pro$29Growing
Agency$9950 brands
Scale$299High volume

For 50 brands, PostWire's Agency plan is $99 versus roughly $779 on Ayrshare — and Ayrshare's MCP is docs-only, meaning it can't actually post. See the full PostWire vs Ayrshare breakdown.

FAQ

Can I post to Instagram via API?
Yes. Instagram supports publishing through the Instagram Graph API, but only for Instagram Business or Creator accounts connected to a Facebook Page, and only after your app passes Meta's App Review for the instagram_content_publish permission. PostWire abstracts all of this behind one REST/MCP call.
What do I need to post to Instagram with the Graph API?
You need an Instagram Business or Creator account, a linked Facebook Page, a Meta developer app, a long-lived access token, and approval of the instagram_content_publish permission through Meta App Review. Publishing is a two-step process: create a media container, then publish it.
Is PostWire's Instagram posting live yet?
Not yet. As of June 2026 Instagram is in platform review at PostWire, alongside TikTok, YouTube, X and LinkedIn. Bluesky, Telegram, Mastodon and Discord are live now. The same REST and MCP call you write today will work for Instagram the moment review clears.
How does an AI agent post to Instagram with PostWire?
PostWire ships a first-class MCP server, so an AI agent calls a single post tool with the brand and platforms. No OAuth dance, no media-container two-step, no App Review for each agent — PostWire holds the approved Meta app and tokens.
How much does PostWire cost compared to Ayrshare?
PostWire uses flat per-brand pricing: Free $0 (1 brand/30 posts), Starter $9, Pro $29, Agency $99 for 50 brands, Scale $299. The Agency tier covers 50 brands for $99 versus roughly $779 on Ayrshare, and Ayrshare's MCP is docs-only and cannot actually post.
Start posting free →