Instagram Posting API (2026)
The Instagram post API is Meta's content-publishing API: it publishes to Business and Creator accounts in three calls. Create a media container, poll its status_code until it is FINISHED, then call media_publish. Meta's guide allows 100 API-published posts per 24 hours, but its carousel section and two reference pages say 50, so plan for 50.
Reviewed 2026-11-29 · Reeling product team
Quick Reference — TL;DR Summary
Business and Creator accounts only. Create a container with a public video_url, wait for status_code FINISHED, then publish. Standard Access covers accounts you own or manage; other accounts need Advanced Access. Reeling folds the calls into one REST or MCP request for Reels; Instagram currently needs tester access.
Instagram publishing API at a glance (checked 2026-11-29)
| Topic | What Meta documents |
|---|---|
| Accounts | Instagram Business or Creator accounts; personal profiles are not covered. |
| Access modes | Unified Login (recommended), Instagram Login or Facebook Login. |
| Flow | Create a container, poll its status_code, then call media_publish. |
| Reel media | MP4 or MOV at a public URL; H.264 or HEVC; 23 to 60 fps; 1,920 pixels wide, 25 Mbps VBR, 15 minutes and 300 MB at most. |
| Limits | 100 posts per 24 hours in Meta's guide; 50 in its carousel section and two references; 400 containers per 24 hours. |
| Review | Standard Access is automatic for people with a role on your app; Advanced Access needs App Review and Business Verification. |
What you need before the first call
You need an Instagram Business or Creator account, a Meta app and a token with your access mode's permissions.
Three rules can break a correct request. A Page that requires Page Publishing Authorization must complete it first, a Page that requires two-factor authentication needs a Facebook user who has used it, and video_url must be public and US-ASCII because Meta fetches the video itself.
Pick an access mode and permissions
Meta recommends Unified Login for new integrations; Facebook Login is the only mode that needs a linked Facebook Page.
| Mode | Host | Token | Permissions |
|---|---|---|---|
| Unified Login | graph.facebook.com | Business Integration System User | instagram_basic, instagram_content_publish |
| Instagram Login | graph.instagram.com | Instagram User | instagram_business_basic, instagram_business_content_publish |
| Facebook Login | graph.facebook.com | Facebook User or Page | instagram_basic, instagram_content_publish, pages_read_engagement; plus ads_management or ads_read for Business Manager Page roles |
Upload and publish a Reel with the Instagram API in three steps
Create the container with media_type=REELS and a public video_url, check it, then publish it with creation_id. Meta's media reference shows graph.facebook.com and v27.0 today; Instagram Login uses graph.instagram.com. share_to_feed=false keeps the Reel to the Reels tab; true also allows the Feed.
# 1. Create the container
curl -X POST "https://graph.facebook.com/v27.0/$IG_USER_ID/media" \
-d "media_type=REELS" \
-d "video_url=https://example.com/reel.mp4" \
-d "caption=Test Reel" \
-d "share_to_feed=false" \
-d "access_token=$ACCESS_TOKEN"
# 2. Poll until status_code is FINISHED
curl "https://graph.facebook.com/v27.0/$CONTAINER_ID?fields=status_code,status&access_token=$ACCESS_TOKEN"
# 3. Publish
curl -X POST "https://graph.facebook.com/v27.0/$IG_USER_ID/media_publish" \
-d "creation_id=$CONTAINER_ID" \
-d "access_token=$ACCESS_TOKEN"Check the container before you publish
Video uploads are asynchronous, so a container ID does not mean the file was accepted. Poll status_code once a minute for at most 5 minutes and publish only on FINISHED.
If media_publish returns no media ID, read the container's status before retrying. A publish can also succeed with config_issue CAPTION_NOT_ATTACHED or USER_TAGGING_FAILURE: the Reel is live without that part, so reconcile it rather than publish again.
| status_code | What to do |
|---|---|
| IN_PROGRESS | Still processing; poll again in a minute, up to 5 minutes |
| FINISHED | Ready; call media_publish |
| PUBLISHED | Already live; never publish it twice |
| ERROR | Failed; read status (an error subcode), fix it, create a new container |
| EXPIRED | Not published within 24 hours; create a new container |
Stay inside the publishing limits
Meta's guide allows 100 API-published posts per account in a 24-hour moving period. Its carousel section and the media_publish and content_publishing_limit references say 50, so plan for 50 until your own quota_total says otherwise.
An account can create 400 containers in a rolling 24 hours, and each expires after 24 hours. Meta enforces the post limit at media_publish and advises schedulers to check it first, so hold the video yourself and create the container shortly before publish time.
# since: a Unix timestamp at most 24 hours old
curl "https://graph.facebook.com/v27.0/$IG_USER_ID/content_publishing_limit?fields=quota_usage,config&since=$SINCE&access_token=$ACCESS_TOKEN"Fix media Instagram rejects
If a container ends in ERROR, check the file against Meta's Reel specification. Beyond the limits in the table at the top, Meta requires no edit lists, the moov atom at the front, progressive scan, a closed GOP, 4:2:0 chroma and AAC audio at 48 kHz or less.
Our export guide has a tested FFmpeg command for this spec and the ffprobe checks to run before you upload.
Send the same Reel with the Reeling API (REST + MCP)
Reeling's POST /publish folds the container and publish calls into one request and returns a post_id. Poll GET /posts/{id} rather than resubmitting, because a timeout is an unknown result. With several Instagram accounts in a project, pass channel_ids from GET /channels.
The MCP tool takes the caption as content and has no share_to_feed field, so use REST to turn it off.
# REST
curl --fail-with-body -X POST https://api.reeling.app/api/v1/publish \
-H "X-API-Key: $REELING_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"project_id": "YOUR_PROJECT_UUID",
"channel_ids": ["YOUR_INSTAGRAM_CHANNEL_UUID"],
"platforms": ["instagram"],
"video_url": "https://example.com/reel.mp4",
"caption": "Test Reel",
"instagram": { "share_to_feed": false },
"scheduled_for": "2027-01-12T15:00:00Z"
}'
# MCP tools/call parameters
{
"name": "reeling_publish_post",
"arguments": {
"project_id": "YOUR_PROJECT_UUID",
"platforms": ["instagram"],
"content": "Test Reel",
"video_url": "https://example.com/reel.mp4",
"scheduled_at": "2027-01-12T15:00:00Z"
}
}What a unified API cannot do for Instagram
It cannot remove Meta's rules: the account must be professional, Meta's limits count per Instagram account, and whoever owns the Meta app owns its review status. In Reeling, Instagram publishing covers Reels for Business or Creator accounts you own or manage and currently needs tester access, so check Connect Channels before promising anyone a public post.
Reeling also narrows the input: Reels only, MP4 or MOV up to 100 MiB (Meta accepts 300 MB), no feed photos, carousels, Stories or first comments. API and MCP access start on Creator ($19 a month, 5,000 requests a month); Agency ($39) allows 50,000; Starter has none.
Primary sources read on 2026-11-29
Every Meta figure above was read on these pages on 2026-11-29. They disagree on the daily cap.
Frequently Asked Questions
Can you post on Instagram via API?
Yes. Meta's Instagram Platform lets an app publish Reels and other posts to Business and Creator accounts in three calls: create a container, check its status_code, then call media_publish. Personal profiles are not covered. Standard Access works for accounts you own or manage; other accounts need Advanced Access.
How do I create posts for Instagram through the API?
Send POST /{ig-user-id}/media with media_type=REELS and a public video_url, poll GET /{container-id}?fields=status_code until it returns FINISHED, then send POST /{ig-user-id}/media_publish with creation_id set to the container ID. Use a token with your access mode's content-publish permission, and keep to Meta's daily post limit.
Is the Instagram API free to use for posting?
Meta's content-publishing and reference pages, read on 2026-11-29, list no per-call fee. The real costs are build time, a Meta app and, for other people's accounts, App Review plus Business Verification. Expect a cap of 50 to 100 API posts per account per day.
Why is my Instagram container stuck on IN_PROGRESS or ERROR?
Video processing is asynchronous, so IN_PROGRESS is expected at first; Meta advises polling once a minute for at most 5 minutes. ERROR means processing failed, and status holds an error subcode. Check that video_url is public and the file meets the Reel specification, then create a new container.
Can Reeling post Instagram photos or carousels?
No. Reeling publishes Instagram Reels only: a public video_url, a caption and the share_to_feed option. Feed photos, carousels, Stories and first comments are not supported, and Instagram publishing currently needs tester access. REST and MCP access need the Creator or Agency plan.
Try it with your own workflow
Start with the offline examples, check the intended account and choose the next action deliberately.
Open the runnable examplesCreate a Reeling workspace