---
title: "Instagram publish container API: POST /{ig-user-id}/media_publish"
description: "When PubNio calls Instagram's publish container request, POST /{ig-user-id}/media_publish: the scopes it needs, the errors PubNio handles for it, and its pinned spec revision."
---

> Documentation Index
> Fetch the complete documentation index at: https://pubnio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Instagram publish container API: POST /{ig-user-id}/media_publish

PubNio calls Instagram's `POST /{ig-user-id}/media_publish` (`IGUser.media_publish`) to publish a finished container. Values checked 2026-12-05.

## How PubNio calls it

- Publishing: [`POST /api/v1/posts`](https://pubnio.com/api/v1/docs#tag/posts/POST/api/v1/posts) (unless it saves a draft), [`POST /api/v1/posts/{postId}/publish`](https://pubnio.com/api/v1/docs#tag/posts/POST/api/v1/posts/{postId}/publish), or [`POST /api/v1/posts/{postId}/targets/{targetId}/retry`](https://pubnio.com/api/v1/docs#tag/posts/POST/api/v1/posts/{postId}/targets/{targetId}/retry) starts the delivery.
- PubNio sends only `creation_id`, after every container reports `FINISHED`.
- A throttle answer here proves nothing was published, because the container is still unpublished, so the try fails and PubNio retries it automatically.
- The answer's `id` is the published media ID and becomes the receipt. A non-transient error whose code PubNio's catalog lists as a publish refusal fails the target; any other answer leaves it uncertain rather than publishing twice.

| Value                                      | Official value                                            | Source                                                                                                                                                               | Checked    |
| ------------------------------------------ | --------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- |
| Published posts in a 24-hour moving period | 100; another official page: 50; another official page: 25 | [Instagram Platform: Content Publishing](https://developers.facebook.com/docs/instagram-platform/content-publishing/)                                                | 2026-12-05 |
| Window                                     | 86,400                                                    | [IG User content_publishing_limit reference](https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/reference/ig-user/content_publishing_limit) | 2026-12-05 |

## Scopes

- The pinned spec names no scope. See [Instagram scopes and permissions](https://pubnio.com/docs/providers/instagram/scopes/).
- Before a delivery makes this call, PubNio checks that the account granted the scopes for its sign-in method (Instagram Login: `instagram_business_basic` and `instagram_business_content_publish`; Facebook Login: `instagram_basic`, `instagram_content_publish`, and `pages_read_engagement`; Unified Login: `instagram_basic` and `instagram_content_publish`).

## Errors

Error pages that name this call, by what a publish write that returns the code does:

- Target fails: [10](https://pubnio.com/docs/errors/instagram/10/), [100](https://pubnio.com/docs/errors/instagram/100/), [190](https://pubnio.com/docs/errors/instagram/190/), [200](https://pubnio.com/docs/errors/instagram/200/)
- Target left unresolved: [9](https://pubnio.com/docs/errors/instagram/9-2207042/), [9007](https://pubnio.com/docs/errors/instagram/9007-2207027/), [4](https://pubnio.com/docs/errors/instagram/4-2207051/), [25](https://pubnio.com/docs/errors/instagram/25-2207050/), [24](https://pubnio.com/docs/errors/instagram/24-2207008/)
- Target retried later: [4](https://pubnio.com/docs/errors/instagram/4/), [17](https://pubnio.com/docs/errors/instagram/17/), [613](https://pubnio.com/docs/errors/instagram/613/), [80002](https://pubnio.com/docs/errors/instagram/80002/)

## Spec and changes

`IGUser.media_publish` in the pinned spec, revision `5c1fa8a1653722b402133f033fcc321d67981bbd`.

Refreshed by hand: no weekly change record.

## Limits

- PubNio does not split a delivery across days to stay under the publishing cap; read the remaining allowance first.

## Sources

- [Meta facebook-business-sdk-codegen API specs](https://github.com/facebook/facebook-business-sdk-codegen/tree/5c1fa8a1653722b402133f033fcc321d67981bbd)
- [Instagram Platform: Content Publishing](https://developers.facebook.com/docs/instagram-platform/content-publishing/), checked 2026-12-05
- [IG User content_publishing_limit reference](https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/reference/ig-user/content_publishing_limit), checked 2026-12-05
- [Introducing the Instagram Content Publishing API (2021)](https://developers.facebook.com/blog/post/2021/01/26/introducing-instagram-content-publishing-api/), checked 2026-12-05

## Related

- [Provider API operations PubNio calls](https://pubnio.com/docs/providers/operations/)
- [Instagram rate limits and quota](https://pubnio.com/docs/providers/instagram/quota/)

Source: https://pubnio.com/docs/providers/instagram/operations/ig-user-media-publish/index.mdx
