# Pinterest Pins publishing API

A Pin is one image, a carousel of 2 to 5 images, or one video with one cover image, published to a board with `placement: "pin"`. Pinterest's rules below were read 2026-12-05.

## Rules for Pinterest Pins

| Rule | Value |
| --- | --- |
| Placement | `pin` |
| Media | image, video |
| Items per post | 1 image, 2 to 5 images, or 1 video with a cover image |
| Caption limit | 800 characters |

- A video Pin attaches one video and exactly one cover image.
- A Pin needs a `title`, a `description`, or post text.

| Fact | Value | Their words | Source |
| --- | --- | --- | --- |
| Carousel images | 2 to 5 | ""minItems": 2, "maxItems": 5" | [Pinterest REST API OpenAPI description (5.32.0)](https://raw.githubusercontent.com/pinterest/api-description/main/v5/openapi.json), read 2026-12-05 |
| Description length (characters) | 800 | ""maxLength": 800" | [Pinterest REST API OpenAPI description (5.32.0)](https://raw.githubusercontent.com/pinterest/api-description/main/v5/openapi.json), read 2026-12-05 |
| Video file size | 2GB | "Up to 2GB" | [Pinterest Business Help: Review ad specs](https://help.pinterest.com/en/business/article/pinterest-product-specs), read 2026-12-05 |
| Pins per account | 200,000 | "up to 200,000 Pins including secret Pins" | [Pinterest API: Create boards and Pins](https://developers.pinterest.com/docs/api-features/creating-boards-and-pins/), read 2026-12-05 |

## Settings

Set these under the target's `settings`. All are optional unless marked required.

| Field | What it does |
| --- | --- |
| `title` | The Pin title, up to 100 characters. |
| `description` | The Pin description, up to 800 characters. |
| `link` | The HTTPS page the Pin opens. |
| `altText` | Alt text, up to 500 characters. |

## Publish request

A three-image carousel Pin.

```http
POST /api/v1/posts?workspaceId=4e5f6a7b-8c9d-4e0f-9a1b-2c3d4e5f6a7b
Authorization: Bearer pn_live_***
Idempotency-Key: pinterest-pins-carousel
Content-Type: application/json

{
  "publishNow": true,
  "targets": [
    {
      "accountId": "7f3c2a10-5b4e-4d6f-8a9b-0c1d2e3f4a5b",
      "provider": "pinterest",
      "placement": "pin",
      "settings": {
        "title": "Small kitchen, three layouts",
        "altText": "Three galley kitchen layouts"
      },
      "media": [
        {
          "mediaId": "2d6e8f10-3a5b-4c7d-9e1f-a2b3c4d5e6f7"
        },
        {
          "mediaId": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d"
        },
        {
          "mediaId": "c5d6e7f8-0a1b-4c2d-8e3f-4a5b6c7d8e9f"
        }
      ]
    }
  ]
}
```

## Limits

- A media URL fails with `media_upload_required`: import the file into the workspace from its URL, or send up to 8 MiB inline, then pass its `mediaId` to the Pin.

## Sources

- [Pinterest REST API OpenAPI description (5.32.0)](https://raw.githubusercontent.com/pinterest/api-description/main/v5/openapi.json), read 2026-12-05
- [Pinterest Business Help: Review ad specs](https://help.pinterest.com/en/business/article/pinterest-product-specs), read 2026-12-05
- [Pinterest API: Create boards and Pins](https://developers.pinterest.com/docs/api-features/creating-boards-and-pins/), read 2026-12-05

## Related

- [Pinterest publishing API](https://pubnio.com/platforms/pinterest)
- [Pinterest MCP server](https://pubnio.com/pinterest-mcp)
- [Pinterest network guide](https://pubnio.com/docs/networks/pinterest/)
- [Pinterest error codes](https://pubnio.com/docs/errors/pinterest/)
- [Pinterest rate limits](https://pubnio.com/docs/providers/pinterest/limits/)
- [Pinterest media specs](https://pubnio.com/docs/providers/pinterest/media/)
- [Pinterest OAuth scopes](https://pubnio.com/docs/providers/pinterest/scopes/)
- [Pinterest token lifetimes](https://pubnio.com/docs/providers/pinterest/tokens/)
- [Pinterest app review](https://pubnio.com/docs/providers/pinterest/app-review/)
- [Pinterest API quota](https://pubnio.com/docs/providers/pinterest/quota/)
- [Pinterest API versions](https://pubnio.com/docs/providers/pinterest/versioning/)
- [Rules for every placement](https://pubnio.com/docs/capabilities/)
- [All platforms](https://pubnio.com/platforms)

