---
title: "Instagram get media API: GET /{ig-media-id}"
description: "When PubNio calls Instagram's get media request, GET /{ig-media-id}: 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 get media API: GET /{ig-media-id}

PubNio calls Instagram's `GET /{ig-media-id}` (`IGMedia#get`) to confirm a published Instagram post and read its permalink.

## How PubNio calls it

- Confirming a delivery: PubNio reads the result back after the write, and again when [`POST /api/v1/posts/{postId}/targets/{targetId}/reconcile`](https://pubnio.com/api/v1/docs#tag/posts/POST/api/v1/posts/{postId}/targets/{targetId}/reconcile) rechecks an unresolved delivery.
- PubNio asks for `id`, `owner`, and `permalink`, and accepts the post only when the ID matches and `owner.id` is the connected account.
- A permalink is kept only when it is an `https` URL without credentials; otherwise the delivery is published without a link.

## Scopes

- The pinned spec names no scope. See [Instagram scopes and permissions](https://pubnio.com/docs/providers/instagram/scopes/).

## Errors

No error page names this call; see [Instagram error codes](https://pubnio.com/docs/errors/instagram/).

## Spec and changes

`IGMedia#get` in the pinned spec, revision `5c1fa8a1653722b402133f033fcc321d67981bbd`.

Refreshed by hand: no weekly change record.

## Limits

- A failed read leaves the delivery unconfirmed; PubNio does not treat it as a missing post.

## Sources

- [Meta facebook-business-sdk-codegen API specs](https://github.com/facebook/facebook-business-sdk-codegen/tree/5c1fa8a1653722b402133f033fcc321d67981bbd)

## 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-media-get/index.mdx
