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.

Live · platform rules read 2026-12-05View as Markdown

Rules for Pinterest Pins

RuleValue
Placementpin
Mediaimage, video
Items per post1 image, 2 to 5 images, or 1 video with a cover image
Caption limit800 characters
  • A video Pin attaches one video and exactly one cover image.
  • A Pin needs a title, a description, or post text.
FactValueTheir wordsSource
Carousel images2 to 5""minItems": 2, "maxItems": 5"Pinterest REST API OpenAPI description (5.32.0), read 2026-12-05
Description length (characters)800""maxLength": 800"Pinterest REST API OpenAPI description (5.32.0), read 2026-12-05
Video file size2GB"Up to 2GB"Pinterest Business Help: Review ad specs, read 2026-12-05
Pins per account200,000"up to 200,000 Pins including secret Pins"Pinterest API: Create boards and Pins, read 2026-12-05

Settings

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

FieldWhat it does
titleThe Pin title, up to 100 characters.
descriptionThe Pin description, up to 800 characters.
linkThe HTTPS page the Pin opens.
altTextAlt text, up to 500 characters.

Publish request

A three-image carousel Pin.

pinterest-pins-request.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