Skip to content

Schedule Instagram posts via API

Queue Instagram posts, Reels, Stories and carousels for later, in any time zone.

  • Schedule feed post, reel, story and carousel posts
  • A local time plus a time zone
  • Reschedule or cancel until it goes out
  • Same results, refunds and webhooks as posting now
post.tsnode
const pk = new Postkey(process.env.POSTKEY_API_KEY);

await pk.posts.create({
  content: "New colours just dropped. Which one's yours?",
  mediaItems: [
    {
      type: "image",
      url: "https://cdn.example.com/colours.jpg"
    }
  ],
  platforms: [
    {
      platform: "instagram",
      accountId: "int_ig_123"
    }
  ],
  scheduledFor: "2026-12-01T09:00:00",
  timezone: "America/New_York"
});
  • Instagramqueued

Queued for Dec 1, 09:00 New York time

Schedule your first Instagram post

  1. 1

    Connect Instagram

    Your customer signs in through Instagram's own login. You get an account ID, never a password.

  2. 2

    Get the account id

    List connected accounts. The id of the new account is the accountId you post with.

  3. 3

    Schedule

    Add scheduledFor and timezone to the same request. It goes to Instagram at that time, and a webhook tells you how it went.

Every Instagram format, one endpoint

Pick a format to see the exact request with a publish time and what comes back. Options that only make sense on Instagram sit under "instagram".

A single image post on the profile grid.

RequestREST
1POST https://api.postkey.dev/v1/posts2x-access-key: pk_live_…3Content-Type: application/json4 5{6  "content": "New colours just dropped. Which one's yours?",7  "mediaItems": [8    {9      "type": "image",10      "url": "https://cdn.example.com/colours.jpg"11    }12  ],13  "platforms": [14    {15      "platform": "instagram",16      "accountId": "int_ig_123"17    }18  ],19  "scheduledFor": "2026-12-01T09:00:00",20  "timezone": "America/New_York"21}
Response

202 · scheduled

Queued. It goes to Instagram at the time you set, in that time zone.

{
  "success": true,
  "postId": "post_3k9d2",
  "status": "scheduled",
  "scheduledFor": "2026-12-01T14:00:00Z",
  "platforms": [
    {
      "platform": "instagram",
      "accountId": "int_ig_123",
      "success": true
    }
  ]
}

Everything you need for Instagram scheduling

  • Checked against Instagram's rules

    Before anything is sent, Postkey checks it against Instagram's published limits:

    Caption length
    2,200 characterssource
    Hashtags
    Up to 30 per postsource
    Carousel items
    Up to 20 images or videossource
    Account type
    Business or Creator accounts onlysource
  • One extra field

    Every Instagram format you can post now can be scheduled with scheduledFor. Nothing else changes.

  • Move or cancel

    Change the time or cancel the post with one call before it goes out.

  • Checked when queued

    Text and media are checked against Instagram's rules when you schedule, so problems show up now.

  • Four formats, one field

    One image is a feed post, a video is a Reel, several items make a carousel, and contentType story makes a Story. The rest of the request stays the same.

  • Professional accounts

    Instagram's API only publishes to Business and Creator accounts. Postkey tells you up front if a connected account can't be posted to.

Also for Instagram

PostingInstagram Posting APIPublish feed posts, Reels, Stories and carousels without building the Instagram API integration yourself.See the page

Built in

Connect, publish, get told

Your users connect Instagram through a connect link. If Instagram fails inside a multi-network post, the others still go out and the Instagram credits come back.

Works with your stack

  • Your code

    Node and Python SDKs with the same calls, or plain REST from anything that speaks HTTP.

    • Node
    • Python
    • {}REST
    Read the docs
  • No-code tools

    Call the REST API from an HTTP step in n8n, Make or Zapier. One request posts to every network.

    • n8n
    • Make
    • Zapier
    Postkey with n8n
  • AI agents & MCP

    The MCP server lets Claude, Cursor and other agent tools publish and schedule posts, and read the results.

    • MCP server
    About the MCP server

Instagram scheduling questions

Something not here? Email hello@postkey.dev.

What can I publish to Instagram?

Feed posts, Reels, Stories and carousels. The media you send decides the format, and contentType story makes a Story. The endpoint is the same.

Does it work with personal Instagram accounts?

No. Instagram's publishing API only works with professional accounts (Business or Creator). Switching is free in the Instagram app.

Why is my Reel 'processing' instead of 'posted'?

Instagram processes video before it publishes. The API call returns right away, and a webhook follows when the Reel is live or if Instagram rejects it, with the reason.

Do I need to host my media somewhere?

Instagram pulls media from a public URL. If you'd rather not host files, upload them to Postkey and it serves them for the publish step.

Can I post the same thing to Facebook and TikTok?

Yes. List more accounts in the same request. Each platform gets its own result, so one failure doesn't hide the others.

How do I schedule a Instagram post?

Send the normal post request with scheduledFor and timezone. You can cancel or move it until it goes out.

Schedule to Instagram for every customer.

Get a key, connect an account, send the request above.