---
title: "Pinterest API: post and schedule from code"
url: "https://get1post.com/developers/pinterest.md"
canonical_url: "https://get1post.com/developers/pinterest"
last_updated: "2026-10-26"
type: "reference"
summary: "Post and schedule to Pinterest with the 1Post API and MCP server: the request, the reply, every rule it is checked against and a dry run."
related: ["https://get1post.com/platforms/pinterest.md", "https://get1post.com/platforms/pinterest/specs.md", "https://get1post.com/docs/api-posts.md", "https://get1post.com/docs/mcp.md"]
---

# Pinterest API: post and schedule from code

Post and schedule to Pinterest with the 1Post API and MCP server: the request, the reply, every rule it is checked against and a dry run.

Post to Pinterest from code with one request: POST /v1/posts with your account id, the text and a schedule_at time. Pinterest text is limited to 500 characters, counted by code points. 1Post allows up to 10 posts a day for each connected account, and a dry run checks a post against every rule first.

## Connect Pinterest first

1. Open Accounts in 1Post and choose Connect.
2. Pick Pinterest.
3. Sign in with Pinterest and approve access for the account you want to post to.
4. Choose the account in 1Post. It is ready to pick in the composer.

Then GET /v1/accounts returns the id of the Pinterest account to use in the request.

Pinterest posts go into one of the account's boards; GET /v1/accounts/{id}/targets lists them.

## Send a post to Pinterest

Pinterest refuses a post without media, so upload the file first and put its id in media_ids (POST /v1/media/uploads, or POST /v1/media to fetch a public address). Then schedule the post.

**Schedule a post**

```bash
curl https://api.get1post.com/v1/posts \
  -H "Authorization: Bearer $ONEPOST_API_KEY" \
  -H "Idempotency-Key: pinterest-first-post" \
  -d '{"accounts":["ACCOUNT_ID"],"parts":[{"text":"Five table settings for a spring brunch.","media_ids":["MEDIA_ID"]}],"schedule_at":"2026-11-02T15:00:00Z"}'
```

The reply is 202 with the post (status scheduled) and one destination for Pinterest, which moves from queued to published or failed.

## What you can send to Pinterest

- Image Pin
- Video Pin with a cover
- Carousel of 2 to 5 images
- Board, link and title

## Pinterest rules the request is checked against

| Rule | What 1Post checks |
| --- | --- |
| Text limit | 500 characters, counted by code points |
| Title limit | 100 characters |
| Description limit | 500 characters |
| Media accepted | Images, Video |
| Images per post | 5 |
| Videos per post | 1 |
| Images and video together | Not in one post |
| Several images | All must have the same dimensions |
| Carousel | 2 to 5 items |
| Threads | No |
| First comment | No |
| Posts per day, per connected account (1Post) | 10 |

The same table with sources is on the [Pinterest specs page](https://get1post.com/platforms/pinterest/specs.md).

## Pinterest options in the request

- Media is required: Pinterest refuses a post without it. Upload the file first (POST /v1/media/uploads, or POST /v1/media to fetch a public address) and list its id in the media_ids of a part.

## Check the post before it is queued

Add "dry_run": true to test a post: nothing is kept, a valid one answers 200 and a broken one answers 422 naming the rule.

**A refused request, abridged**

```json
{
  "error": {
    "code": "invalid_for_platform",
    "message": "pinterest refuses this post: Pinterest counts 532 of 500 characters in part 1. (text_too_long).",
    "fix": "Fix the rule named in the message and send the post again.",
    "retryable": false,
    "request_id": "REQUEST_ID"
  }
}
```

An assistant connected to the [MCP server](https://get1post.com/docs/mcp.md) sends the same fields to create_post; [set one up](https://get1post.com/assistants.md).

## Questions

**Can I post to Pinterest with an API key?**

Yes. A key with write scope can create, change and cancel Pinterest posts for the workspace it belongs to, with the role of the member who made it. See [API authentication](https://get1post.com/docs/api-authentication.md).

**What happens if a Pinterest post breaks a rule?**

The request is refused with invalid_for_platform and the failing rule is named. Fix it and send the request again, or send it with dry_run to test the fix first.

**How many Pinterest posts can I send in a day?**

Up to 10 for each connected account. A request that would pass that answers daily_cap with the time the day frees up.

## Related

- [Schedule Pinterest posts: formats, limits, setup](https://get1post.com/platforms/pinterest.md)
- [Pinterest specs and limits: text, media, daily cap](https://get1post.com/platforms/pinterest/specs.md)
- [Creating and changing posts with the API: 1Post docs](https://get1post.com/docs/api-posts.md)
- [The MCP server: 1Post docs](https://get1post.com/docs/mcp.md)
