---
title: "Pinterest get media upload status API: GET /media/{media_id}"
description: "When PubNio calls Pinterest's get media upload status request, GET /media/{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.

# Pinterest get media upload status API: GET /media/{media_id}

PubNio calls Pinterest's `GET /media/{media_id}` (`media/get`) to wait for an uploaded video to finish processing.

## 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 reads the media `status` up to 30 times, 2 seconds apart. `succeeded` lets the Pin be created and `failed` refuses the delivery.

## Scopes

- The pinned spec lists one scope: `pins:read`.
- PubNio's Pinterest sign-in requests every one of them.
- Before a delivery makes this call, PubNio checks that the account granted `pins:write`.

## Errors

PubNio has no Pinterest error code pages yet. [Provider error codes](https://pubnio.com/docs/errors/providers/) covers the providers that have them.

## Spec and changes

`media/get` in the pinned spec, revision `5c6c1fc9a6dbdee1df537f3f805f09262c496917`.

Refreshed by hand: no weekly change record.

## Limits

- When processing outlasts the polls, the delivery is uncertain and PubNio does not create the Pin.

## Sources

- [Pinterest REST API OpenAPI description](https://github.com/pinterest/api-description/blob/5c6c1fc9a6dbdee1df537f3f805f09262c496917/v5/openapi.json)

## Related

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

Source: https://pubnio.com/docs/providers/pinterest/operations/media-get/index.mdx
