> ## Documentation Index
> Fetch the complete documentation index at: https://docs.postsyncer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Post to Pinterest

> What a Pinterest account takes through the API: pins with photos or a video, boards, links and titles, media limits, deletes, comments and analytics.

A Pinterest account has `platform` `pinterest`. Each post is a pin on one board. Every pin needs a photo or a video.

## What you can post

* A pin with one photo, 2 to 5 photos, or one video.
* A title, a description, a destination link and a private note.

## Boards

A pin goes to `settings.board_id`. Get the account's boards from `boards` in [Get an account](https://docs.postsyncer.com/api-reference/accounts/get.md).

* Without `board_id`, the pin goes to the account's first board.
* An account with no boards gets a new board named `My Pins` when the pin is sent.
* Secret boards aren't listed in `boards`. An account whose only boards are secret gets a `My Pins` board too.

## Settings

Every key is optional. [Create a post](https://docs.postsyncer.com/api-reference/posts/create.md#platform-specific-settings) has the full list.

| Key | What it does |
| - | - |
| `board_id` | The board to pin to, as above. |
| `title` | The pin's title. |
| `description` | Pinterest's own description, instead of the post's text. |
| `link` | Where the pin leads. A `youtu.be` short link is sent as the full YouTube link, since Pinterest refuses short links. |
| `note` | A private note on the pin. |
| `published` | Accepted, but has no effect. |
| `media` | This account's own media library ids, instead of the post's media. |

## Text

The description takes 800 characters and the title 100. PostSyncer cuts longer text to those limits when it's sent.

## Media

| | Limit |
| - | - |
| Photos | Up to 5, 20 MB each |
| Video | 1, 4 seconds to 15 minutes, up to 200 MB |
| Picture types | JPG, PNG, GIF, WebP |
| Video types | MP4, MOV |

* A pin carries photos or a video, not both.
* A video pin's cover is the frame at 1 second. `cover_image` isn't used on Pinterest.

## More than one item

Pinterest has no threads and no first comment. The items are joined into one description, with blank lines between them. A first comment item is left out: Pinterest has nowhere to put it.

## Delete a post

Deleting the post in PostSyncer asks Pinterest to delete the pin. [Test safely](https://docs.postsyncer.com/test-safely.md#what-cant-be-undone) says what happens when Pinterest refuses.

## Comments

PostSyncer doesn't read Pinterest comments, so there are none to reply to, hide or delete. Hide answers `422` with `Pinterest can't hide comments.` A comment delete answers `200` and changes nothing on Pinterest.

## Analytics

Pinterest gives `impressions`, `likes`, `comments`, `saves`, `clicks`, `profile_visits` and `views`, to business accounts only. Any other account has no numbers: its `analytics_unavailable.reason` is `pinterest_not_business`. See [Read analytics](https://docs.postsyncer.com/guides/analytics.md#when-numbers-cant-be-read).

## Example

A draft pin on a chosen board, with a title and a link:

```json theme={null}
{
  "workspace_id": 4815,
  "schedule_type": "draft",
  "content": [
    {
      "text": "The lavender oat latte, back for spring at Halden Coffee.",
      "media": ["https://cdn.postsyncer.com/examples/latte-art.jpg"]
    }
  ],
  "accounts": [
    {
      "id": 16242,
      "settings": {
        "board_id": "549755885175",
        "title": "Lavender oat latte",
        "link": "https://haldencoffee.example/menu"
      }
    }
  ]
}
```

## Related

> [card] [Pinterest boards](https://docs.postsyncer.com/api-reference/posts/create.md#pinterest-boards)
>
> Pick a board for a pin.

> [card] [Compare the 12 networks](https://docs.postsyncer.com/platforms/overview.md)
>
> How Pinterest differs from the other networks.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.