Skip to content
Instagram API

API for Instagram: publish Reels, carousels and photos with one REST call

The official way to post to Instagram from code is Meta's Instagram Graph API: you create a media container, wait for it to process, then publish it. It works, but it needs a Business or Creator account linked to a Facebook Page, a Meta developer app with the right permissions, and your own polling and retry code. PostMyReels wraps that flow in one POST /posts call, so you send a video URL and a caption and read the result from a webhook. Live Instagram posting opens after Meta's review; test keys work now.

Business or Creator accounts · Test keys post nothing · Errors say how to fix them
Posts natively toTikTokInstagramYouTube
Before you connect

What Instagram needs

These are the platforms' rules, not ours. We check them before the login window opens.

Instagram
  • A Business or Creator account. Personal accounts can't be posted to by any app; switching is free and keeps your followers.
  • Linked to a Facebook Page (it can stay empty). You need to be the Page's admin.
  • Keep every permission box ticked in the Facebook login window.
Instagram step-by-step guide →

What the Instagram Graph API asks of you

This is a short, honest summary of Meta's own documentation, so you can decide whether to build on it directly. Read the source: Instagram content publishing in Meta's docs.

  • Account type. Only Instagram professional accounts (Business or Creator). Personal accounts cannot be posted to by any app. Switching to a professional account is free.
  • A Facebook Page. The Instagram account must be connected to a Facebook Page. If that Page requires Page Publishing Authorization, publishing is blocked until it is completed.
  • A Meta developer app and permissions. Depending on the login flow, publishing uses instagram_content_publish with instagram_basic (Facebook Login) or instagram_business_content_publish (Instagram Login). Meta's docs say each integration needs Advanced Access or Standard Access.
  • Access levels and review. Standard Access only works for people who have a role on your app. To post for outside users you need Advanced Access, which requires Business Verification and, per Meta, approval through App Review for each permission.
  • A public media URL. Your file must be on a publicly reachable server when you publish, or you use the resumable upload for large videos.

The container flow, step by step

  1. Create a container: POST /<IG_ID>/media with video_url or image_url and media_type (REELS, STORIES, or CAROUSEL with child containers). You get a container ID back.
  2. Wait for processing: poll GET /<CONTAINER_ID>?fields=status_code until it returns FINISHED. Other values are IN_PROGRESS, ERROR and EXPIRED. Meta suggests checking about once a minute, for no more than five minutes.
  3. Publish: POST /<IG_ID>/media_publish with creation_id set to the container ID.
  4. Watch the quota: Meta caps API-published posts per account in a 24-hour window. Read the current value from GET /<IG_ID>/content_publishing_limit instead of hard-coding a number.

If step 2 never reaches FINISHED, see our guide to the container not ready error. For a Reels-specific walkthrough with raw calls, read Instagram Graph API for Reels.

Your appPOST /api/v1/posts
PostMyReelsuploads, retries, per-platform options
TikTokPublished
InstagramPublished
YouTubePublished
Your apppost.published / post.failed
One request in, one webhook back. Errors come with a code, a message and a fix.

The same post through PostMyReels

PostMyReels connects the Instagram account through Meta's official login, then runs the container flow, polling and retries for you. Your code makes one request and gets 202 with a post_id. The result arrives as a post.published or post.failed webhook.

The same call can also publish to TikTok and YouTube, so a second platform is one more value in platform, not a second integration. The developer overview lists every endpoint.

curl -X POST https://api.postmyreels.com/api/v1/posts \
  -H "Authorization: Bearer pmr_test_xxx" \
  -H "Idempotency-Key: reel-2027-02-01-a" \
  -H "Content-Type: application/json" -d '{
    "profile": "bakery-kowalski",
    "platform": ["instagram"],
    "media": [{"url": "https://cdn.example.com/reel.mp4"}],
    "caption": "Fresh sourdough every morning",
    "scheduled_at": "2027-02-10T09:30:00",
    "timezone": "Europe/Warsaw",
    "instagram": {"media_type": "REELS", "share_to_feed": true}
  }'
One POST /posts call returns 202 with a delivery per platform
One POST /posts call returns 202 with a delivery per platform

What you get on Instagram

Reels, carousels, Stories, feed

Set instagram.media_type to REELS, STORIES, FEED or CAROUSEL. Send 2 to 10 photos in media for a carousel.

Scheduling built in

Send scheduled_at and a timezone, or add the post to a profile's queue. No cron job on your side.

Large uploads

Pass a public URL, or upload big files in parts with POST /media/uploads and send the returned media_id.

Plain-language errors

Every error returns a code, a message and a fix, for example when a video is 16:9 and Reels need vertical. Failed posts can be retried with POST /posts/{id}/retry.

Test-mode keys

Keys starting pmr_test_ validate the request and simulate delivery. Nothing is posted.

Client connect links

Building for clients? POST /profiles/{id}/connect-links returns a white-label link where they connect their own Instagram. No passwords shared.

Graph API directly vs PostMyReels

Instagram Graph API directlyPostMyReels API
Meta developer appYou create and maintain itNot needed on your side
Advanced Access / App ReviewNeeded to post for users outside your app rolesHandled in our app. Meta is still reviewing it, so Instagram posting opens after that review
Container, polling, publishThree steps you code and monitorOne request, async result via webhook
Other platformsSeparate integrationsTikTok and YouTube through the same call
ControlEvery Graph API field and edgeThe fields in our API reference. Instagram analytics, comments and DMs are outside it
CostFree to call, your engineering timeSee pricing

If you need comments, insights or messaging, or you want to own the Meta relationship, build on the Graph API directly. If you only need to publish, an API that does the publishing is less code to run.

Reading results: webhooks, not polling

Publishing is always asynchronous. POST /posts returns 202 with a post_id and a delivery for each target. Each delivery moves from queued through uploading and processing to published or failed. Register a webhook with POST /webhooks and you receive post.published, post.failed and delivery.updated, signed with an HMAC header (X-PMR-Signature) so you can verify the sender. If you prefer pulling, GET /posts/{id} returns the same statuses.

Send an Idempotency-Key header on every POST. If your worker retries after a timeout, the same key returns the original response for 24 hours instead of creating a duplicate Reel.

Limits to plan around

Instagram applies its own rules to every API-published post: media type and ratio, a per-account daily publishing quota, and a processing window. We validate what we can before queueing and surface the rest as a failed delivery with a fix. Our own API rate limit is 60 requests a minute on the free plan and 300 on paid plans, with X-RateLimit-* headers on every response.

Who uses it this way

Developers

Posting from your own app or backend. Start from the API overview.

Automation builders

Call the API from n8n, Make or Zapier with their HTTP Request module. See social media automation.

Agencies

Many client accounts, one key, branded connect links. See agencies.

No code and just want a calendar? Use the Instagram scheduler.

Free plan, no card: sign in with Google and start now. YouTube works today. TikTok posts publish as private ("Only me") until TikTok’s audit of our app passes. Instagram opens after Meta’s review.

See it in 40 seconds

One caption in. Three native posts out.

How it works

Three steps. The first one takes half a minute.

  1. Connect your accounts

    We show what each platform needs (Business account, linked Page, right channel) before the login window opens, then run a private test post so you know it works.

  2. Upload once, write once

    Drop a video or photos. We check ratio, length and size on upload, and only ask for platform extras that are really required.

  3. Schedule or post now

    One button: "Schedule to 3 accounts". Track every platform in one row. If one fails, you see why and retry in one click.

Developers and automations

Your first post is one request.

The same posts, from code. Test keys validate everything and post nothing.

</>Read the API docs
curl https://api.postmyreels.com/api/v1/posts \
  -H "Authorization: Bearer pmr_test_…" \
  -H "Content-Type: application/json" \
  -d '{
    "profile": "bella-bakery",
    "platform": ["tiktok", "instagram", "youtube"],
    "media": [{ "url": "https://cdn.example.com/autumn.mp4" }],
    "caption": "Autumn menu is here",
    "title": "Autumn menu at Bella Bakery",
    "tiktok": { "privacy_level": "PUBLIC_TO_EVERYONE" },
    "scheduled_at": "2026-11-20T09:30:00Z"
  }'

# 202 → { "post_id": "post_01J5", "status": "queued", "deliveries": [3] }
Pricing

Pay per brand, not per click.

Compare plans and limits →
Free$01 profile · 3 accounts · 10 posts a month
Creator$19/ mo3 profiles · 15 accounts · 1,000 posts
AgencyWhite-label$49/ mo25 profiles · 150 accounts · 10,000 posts
Business$149/ mo250 profiles · 1,500 accounts · 100,000 posts

Every plan: all platforms, scheduling, queue, API. Extra profiles from $3 down to $1 a month each, 5 more accounts per profile. Yearly: save 17%.

FAQ

Straight answers

Is there an official API for Instagram?

Yes. Meta's Instagram Graph API supports publishing to Instagram professional (Business or Creator) accounts. It needs a connected Facebook Page, a Meta developer app and approved permissions for use beyond your own app roles. Meta's docs describe the flow.

Can I post to a personal Instagram account through an API?

No. Instagram's API only supports professional accounts, and no app can post to personal accounts. Switching to a Business or Creator account is free.

How does posting a Reel through the Instagram API work?

You create a media container with the video URL and media type REELS, wait until its status is FINISHED, then call media_publish with the container ID. PostMyReels runs these steps for you behind one POST /posts request.

Is the Instagram API free?

Calling Meta's Graph API has no per-call fee, but you build and maintain the integration and pass Meta's review. PostMyReels has a free plan with no card; see the pricing page for plan limits.

Do I need Meta app review to use PostMyReels?

No, you do not run your own Meta app. Our own Meta review is still in progress, so Instagram posting opens after it passes. You can create test keys on the Free plan today.

Can I test without posting to a real account?

Yes. Keys starting with pmr_test_ validate every request and simulate deliveries, so nothing is posted.

Start free today.

Free plan, no card: sign in with Google and start now. YouTube works today. TikTok posts publish as private ("Only me") until TikTok’s audit of our app passes. Instagram opens after Meta’s review.

Start freeAsk your AI