Skip to content
Black Friday: 40% off the first year, until December 1
Instagram REST APIInstagram Business and Creator accounts

Instagram API without Meta Graph plumbing

Meta’s Instagram Graph API makes you juggle Page-linked tokens, two-step media containers, carousel child IDs, status polling loops and strict aspect-ratio rejections. PostSyncer turns Reels, Stories, mixed carousels, collaborators, people tags and live comments into one REST API.

  • Feed photos, Reels, Stories and mixed photo/video carousels up to 20 items
  • Invite up to 3 collaborators, tag up to 20 users with (x, y) coordinates and set audio_name
  • Real-time incoming comments, replies, hide/unhide and timed first comments
Free plan: 2 accounts, 20 posts a month, no cardNeed AI agents? Instagram MCP
  • Cancel anytime
  • Unlimited posts on paid plans
curl -X POST "https://postsyncer.com/api/v1/posts" \
  -H "Authorization: Bearer $POSTSYNCER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "workspace_id": 4815,
    "schedule_type": "schedule",
    "schedule_for": {
      "date": "2026-12-08",
      "time": "11:00",
      "timezone": "America/Los_Angeles"
    },
    "content": [
      {
        "text": "Behind the espresso bar: dialing in our spring Guji harvest.",
        "media": [
          "https://cdn.postsyncer.com/examples/rosetta-pour.mp4"
        ],
        "cover_image": {
          "thumbnail": "https://cdn.postsyncer.com/examples/rosetta-cover.jpg"
        }
      },
      {
        "text": "Full tasting notes and brew recipe linked in bio.",
        "is_first_comment": true,
        "first_comment_delay": 1
      }
    ],
    "accounts": [
      {
        "id": 16235,
        "settings": {
          "post_type": "REELS",
          "share_to_feed": true,
          "collaborators": [
            "millstreetbakery"
          ],
          "audio_name": "Morning Pour Ambient",
          "ai_generated": false
        }
      }
    ]
  }'

PostSyncer orchestrates Meta’s container creation, video processing polls, cover thumbnail upload and delayed first comment automatically.

01 Quick start

Live on Instagram in three steps

  1. 1

    Connect Instagram accounts

    Link Instagram Business or Creator accounts inside PostSyncer or send clients a 7-day OAuth URL from POST /accounts/connect-links.

  2. 2

    Send Reels, Stories or carousels in one POST

    Choose post_type (POST, REELS or STORIES), attach up to 20 media URLs or library IDs, and pass collaborators, user_tags or a delayed first comment.

  3. 3

    Automate comments and track analytics

    Instagram pushes new comments to PostSyncer as they arrive. Reply, hide, unhide or delete via /comments and read reach, saves and profile_visits via /analytics.

02 Endpoints

Instagram endpoints on one REST API

Every Instagram operation runs on https://postsyncer.com/api/v1 with Bearer API keys and resource:action permissions.

Instagram endpoints on one REST API
EndpointPermissionWhat it does
POST/api/v1/postsposts:create / schedule / publishPublish or schedule Instagram feed photos, mixed carousels (up to 20), Reels, Stories and timed first comments.
PUT/api/v1/posts/{id}posts:update / schedule / publishUpdate a post: send workspace_id and the whole content, which replaces the old one, plus any collaborators, user_tags, post_type or publish time to change.
GET/api/v1/commentscomments:readRead live Instagram comments pushed by Meta webhooks without waiting for scheduled polling.
POST/api/v1/commentscomments:createReply to an Instagram comment directly from the connected Business or Creator account.
PATCH/api/v1/comments/{id}/hidecomments:updateHide spam comments on Instagram or pass hidden: false to show them again.
GET/api/v1/analytics/posts/{id}analytics:readFetch impressions, likes, comments, shares, saves, reach and profile_visits.

Read the full Instagram reference

03 Media and text specs

What you can publish to Instagram

Verified media limits, text caps and platform behaviors PostSyncer enforces when sending to Instagram.

Instagram media and text limits
TypeFormatsLimitNotes
Carousel / filesJPG, PNG, GIF, WebP, MP4, MOV, WebMUp to 20 filesCarousels can mix photos and videos; every photo matches the first photo’s crop ratio.
Feed / Story photoJPG, PNG, GIF, WebPUp to 8 MBConverted to JPEG; feed photos auto-crop to 4:5, 1:1 or 1.91:1 at 1080px wide. Stories are not cropped.
Reel videoMP4, MOV, WebM3s–15 min · 300 MBAuto re-encoded to H.264/HEVC MP4 + AAC when outside 1920px, 23–60 fps or 25 Mbps.
Story videoMP4, MOV, WebM1 file · 3s–60s · 100 MBStories accept exactly one photo or video; multiple files are refused.
Caption & first commentPlain text2,200 charactersFirst comments are text only; media on an Instagram first comment returns 422.

Platform behavior

Instagram at a glance

platform key
instagram
Media required
Yes — every Instagram post needs at least one photo or video.
First comment
Supported as a text-only comment posted first_comment_delay minutes after publish (default 1).
Deleting posts
Instagram’s API does not delete live posts; DELETE /posts/{id} removes PostSyncer’s copy only.
Comments API
Live webhook push from Instagram; reply (text), hide, unhide (hidden: false) and delete supported.
Analytics metrics
impressions, likes, comments, shares, saves, reach and profile_visits.

04 Capabilities and settings

Everything the Instagram API handles for you

Beyond basic image publishing, PostSyncer exposes Instagram’s native growth and collaboration controls without forcing you to manage Meta Graph container states.

  • Smart aspect-ratio cropping & tag preservation

    Feed and carousel photos automatically crop to 4:5, 1:1 or 1.91:1 at 1080px wide, and PostSyncer recalculates (x, y) people tag coordinates so tagged users stay inside the frame.

  • Mixed 20-item carousels

    Combine photos and 3–60 second videos in a single carousel with per-item user_tags pinned by media_id or 1-based item index so tags survive reordering.

  • Collaborators & non-follower Reel distribution

    Invite up to 3 Instagram collaborator usernames on feed posts, carousels and Reels, or enable reel_trial_enabled with graduation_strategy (MANUAL or SS_PERFORMANCE) to test Reels with non-followers first.

  • Custom Reel covers & audio naming

    Set a Reel cover image via cover_image.thumbnail or a frame via video_cover_timestamp_ms, toggle share_to_feed and name original audio with audio_name.

  • Delayed first comments

    Add a second content[] object with is_first_comment: true and first_comment_delay to keep hashtags, credits or calls to action cleanly out of the main caption.

  • Live comment webhooks & moderation

    New comments stream into PostSyncer in real time from Instagram so your app can reply, hide, unhide or delete comments through /comments endpoints.

Instagram per-post settings keys

Pass any of these optional keys inside accounts[].settings on POST /posts or PATCH /posts/{id}. Keys for other networks are ignored when cross-posting.

Instagram accounts[].settings keys
Setting keyValueWhat it controls
post_type"POST" | "REELS" | "STORIES"Selects feed/carousel (POST), Reels (REELS) or Stories (STORIES). Aliases like REEL and STORY are accepted.
captionstring (cut at 2,200 chars)Instagram-specific caption overriding the shared post text.
collaboratorsstring[] (max 3)Up to 3 Instagram usernames to invite as post or Reel collaborators (not available on Stories).
user_tagsobject[] (max 20/file)Tag accounts with username plus optional photo coordinates (x, y from 0 to 1) and carousel item or media_id.
share_to_feedbooleanReels only. Set false to publish only in the Reels tab; defaults to true.
audio_namestringReels only. Custom name for the Reel’s original audio track.
reel_trial_enabledbooleanPublish a single video Reel to non-followers first before expanding to followers.
graduation_strategy"MANUAL" | "SS_PERFORMANCE"Controls whether a non-follower Reel graduates manually or automatically on performance.
ai_generatedbooleanMarks the post, Reel or carousel with Instagram’s Made with AI label.
medianumber[]Use Instagram-specific media library IDs instead of the shared post media.

Eliminating Meta Graph container loops and token headaches

Publishing a 10-slide mixed carousel or a Reel directly against the Instagram Graph API requires creating individual child containers, polling each container’s status_code until FINISHED, creating a parent carousel container, polling again, and finally calling media_publish — all while managing Facebook Page linkages and 60-day token refreshes.

PostSyncer collapses that entire choreography into one POST /api/v1/posts call. Your server sends the final creative URLs or library IDs and the desired schedule_for timestamp; PostSyncer creates containers, transcodes WebM or over-spec videos to compliant H.264 MP4 with AAC audio, and retries transient Meta API hiccups automatically.

Coordinate-safe people tagging and carousel validation

Instagram rejects feed photos with unsupported aspect ratios and drops user tags whose coordinates fall outside the final frame. PostSyncer center-crops feed and carousel photos to the nearest supported ratio (4:5, 1:1 or 1.91:1) and shifts each user_tags (x, y) coordinate to match the crop, clamping edge tags cleanly so nobody disappears from the photo.

In carousels, pin tags by media_id instead of numeric item index whenever your app supports drag-and-drop slide reordering. If Instagram declines a specific username at publish time, the post still goes live and PostSyncer records a setting_not_applied note naming the skipped handle.

Real-time Instagram comments and full funnel metrics

Unlike networks that require scheduled polling, Instagram pushes new comments directly to PostSyncer as they happen. Your application can subscribe to comment webhooks, list threads via GET /comments, post text replies via POST /comments, toggle visibility with PATCH /comments/{id}/hide (including hidden: false to unhide), or permanently remove comments via DELETE /comments/{id}.

For reporting dashboards, GET /analytics/posts/{id} returns impressions, likes, comments, shares, saves, reach and profile_visits in a consistent JSON envelope alongside your other connected networks.

05 Response and MCP

Same Instagram rules over REST and MCP

Use the REST API from your backend or connect an AI agent to the Instagram MCP server using the same accounts, permissions and rate limits.

AI agent alternative

Run Instagram Reels, carousels and comments from an AI agent

Connect ChatGPT, Claude, Claude Code, Cursor or Codex to PostSyncer’s MCP server so your agent can schedule Reels, add collaborators, answer live Instagram comments and check saves and reach.

“Schedule our latte pour video as an Instagram Reel for Tuesday at 11 AM, invite @millstreetbakery as a collaborator and add the tasting notes as a first comment.”

PostSyncer MCP server

https://postsyncer.com/mcp

Cross-posting

Ship Instagram plus all 12 networks from one schema

Add more account IDs to the same POST /posts request to publish to Instagram, Instagram, YouTube, LinkedIn, X and the rest together. Each account reads its own settings block while sharing the media upload and schedule.

Limits and plans

What each plan allows

The Instagram REST API is available on every PostSyncer plan, Free included. Paid plans remove the monthly post cap; every plan shares 60 requests a minute.

Limits by plan
PlanSocial accountsPostsAPI posts a day, per network
Free220 a monthWithin the 20
Starter$29 a month10UnlimitedUnlimited
Pro$49 a month30UnlimitedUnlimited
Agency$99 a month100, then $1/mo eachUnlimitedUnlimited

Every plan: 60 requests a minute for each PostSyncer user, across all their keys, the API and the MCP server together.

  • 401The API key is missing, wrong or past its end date.
  • 403The key lacks the resource:action permission, or the plan limit was reached (plan_limit_reached).
  • 422A field failed validation or the network’s rules refused a file, setting or text length.
  • 429Too many requests: more than 60 in a minute across your user’s keys, API and MCP together.

Compare plans and prices

FAQ

Instagram API questions

Need help with a specific endpoint or webhook? Ask us in live chat.

Chat with us

Can the Instagram API publish Reels, Stories and mixed carousels?

Yes. Set settings.post_type to POST (feed photo or up to 20-item mixed carousel), REELS (single video or video carousel) or STORIES (single photo or 3–60s video).

Does PostSyncer support Instagram collaborator invites and user tags?

Yes. Pass up to 3 usernames in settings.collaborators (feed, carousels and Reels) and up to 20 accounts per file in settings.user_tags with optional (x, y) photo coordinates.

Can I schedule an Instagram first comment automatically?

Yes. Include a second item in content[] with is_first_comment: true and optional first_comment_delay in minutes (defaults to 1). Instagram first comments are text only.

How quickly do Instagram comments appear in the API?

Instagram pushes new comments to PostSyncer as they are posted, so they appear without waiting for scheduled polling. You can reply, hide, unhide and delete comments via the /comments endpoints.

Can I delete a live Instagram post via the API?

No. Meta’s Instagram Graph API does not allow third-party apps to delete published Instagram posts. DELETE /posts/{id} cancels scheduled posts and removes PostSyncer’s record.

What happens if my video is WebM or above Instagram’s bitrate limit?

PostSyncer automatically re-encodes WebM files and videos over 1920px wide, outside 23–60 fps or above 25 Mbps into compliant MP4 before publishing. Video duration must already fit Instagram’s limits (3s–15m for Reels, 3s–60s for Stories and carousels).

Automate Instagram publishing without Graph API boilerplate.

Generate a scoped API key in Settings → API and ship Reels, carousels, Stories and comment replies from one endpoint.

  • No card for free
  • Cancel anytime
  • Unlimited posts on paid plans