> For the complete documentation index, see [llms.txt](https://help.blotato.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.blotato.com/platform-publishing/platforms/pinterest.md).

# Pinterest API and MCP

Select the Pinterest account and boardId, then build a media publish request.

Call `blotato_list_pinterest_boards` with the Pinterest `accountId`. Use the selected board's `id` as `boardId`. REST lookup: `GET /v2/social/pinterest/boards?accountId=...`.

## Fields

| Field     | Use                                               |
| --------- | ------------------------------------------------- |
| `boardId` | Required board ID from the board lookup.          |
| `title`   | Optional title, up to 100 characters.             |
| `altText` | Optional image description, up to 500 characters. |
| `link`    | Optional destination URL, up to 2,048 characters. |

For MCP, pass platform-specific fields alongside `accountId`, `platform`, `text`, and `mediaUrls`. For REST, platform-specific target fields belong inside `post.target`. Thread content belongs inside `post.content.additionalPosts`.

## Media and formats

Use an image, a video, or 2–5 images for a carousel. A video Pin contains one video. The publisher rejects more than 5 media items.

Read [Pinterest media requirements](/rest-api-reference/publish-post/media.md#pinterest) and [upload and conversion rules](/api-and-mcp-concepts/media-uploads-and-conversion.md). Public media URLs go directly in `mediaUrls`. No upload step required.

## MCP example

Call `blotato_create_post` with the following shape. Replace lookup IDs and example media URLs with returned IDs and your media. Adjust the example's settings to the user's request.

```json
{
  "accountId": "ACCOUNT_ID_FROM_LOOKUP",
  "platform": "pinterest",
  "text": "A description for your Pin.",
  "mediaUrls": [
    "https://example.com/image.jpg"
  ],
  "boardId": "BOARD_ID_FROM_LOOKUP"
}
```

## REST example

Send this JSON to `POST https://backend.blotato.com/v2/posts` with your `blotato-api-key` header.

```json
{
  "post": {
    "accountId": "ACCOUNT_ID_FROM_LOOKUP",
    "content": {
      "platform": "pinterest",
      "text": "A description for your Pin.",
      "mediaUrls": [
        "https://example.com/image.jpg"
      ]
    },
    "target": {
      "targetType": "pinterest",
      "boardId": "BOARD_ID_FROM_LOOKUP"
    }
  }
}
```

## Verify the result

1. Save the returned `postSubmissionId`.
2. If processing continues, use `blotato_get_post_status` or `GET /v2/posts/:postSubmissionId`.
3. Report the returned status and public URL when supplied.

For scheduling, add `scheduledTime` or `useNextFreeSlot` as an MCP argument or a REST top-level sibling of `post`. See [Scheduling](/api-and-mcp-concepts/scheduling.md) and [completion rules](/api-and-mcp-concepts/async-jobs-and-polling.md).

## Limits and troubleshooting

Pinterest account eligibility and connection requirements apply before publishing. Read the connection troubleshooting page if the account is blocked from API publishing.

See [Pinterest account guide](/social-accounts-and-platform-faqs/bluesky-1.md), [platform help](/social-accounts-and-platform-faqs/bluesky-1/connect-accounts-1.md), and the [Publish Post reference](/rest-api-reference/publish-post.md) for options and examples.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.blotato.com/platform-publishing/platforms/pinterest.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
