Skip to content

Pinterest get Pin API: GET /pins/{pin_id}

When PubNio calls Pinterest's get Pin request, GET /pins/{pin_id}: the scopes it needs, the errors PubNio handles for it, and its pinned spec revision.

PubNio calls Pinterest’s GET /pins/{pin_id} (pins/get) to confirm a created Pin landed on the right board.

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 rechecks an unresolved delivery.
  • PubNio reads the Pin by the ID it was given and publishes the delivery unless Pinterest reports a different board_id.
  • A Pin that reports no board_id at all still counts as published. A not-found answer reads as not there yet, so the delivery stays pending.
  • The permalink PubNio returns is built from the Pin ID it read: https://www.pinterest.com/pin/<id>/.

Scopes

  • The pinned spec lists 2 scopes, all required: boards:read and pins:read.
  • PubNio’s Pinterest sign-in requests every one of them.

Errors

PubNio has no Pinterest error code pages yet. Provider error codes covers the providers that have them.

Spec and changes

pins/get in the pinned spec, revision 5c6c1fc9a6dbdee1df537f3f805f09262c496917.

Refreshed by hand: no weekly change record.

Limits

  • A failed read or a Pin on another board leaves the delivery pending.

Sources

Type to search…

↑↓ navigate↵ selectEsc close