step by step
How to post to Pinterest with the API
Create a key, connect Pinterest, pick a board, then schedule a pin.
Open Dashboard → AI & API, create a key, and send it as Authorization: Bearer pw_live_…. Connect your Pinterest account if you have not already.
Endpoints
API base URL
https://postwing.io/api/v1Docs
https://postwing.io/docsList boards first, then call POST /posts/preview with board_ids on the Pinterest target. Full field reference is in the API docs.
curl -s -X POST "https://postwing.io/api/v1/posts/preview" \
-H "Authorization: Bearer pw_live_…" \
-H "Content-Type: application/json" \
-d '{
"caption": "New lookbook",
"scheduled_at": "2026-10-05T18:00:00Z",
"targets": [
{
"account_id": "pinterest-account-uuid",
"platform_options": {
"board_ids": [
"1234567890"
],
"title": "Lookbook",
"link": "https://example.com/shop"
}
}
],
"media_items": [
{
"url": "https://cdn.example.com/pin.jpg",
"type": "image"
}
]
}'what you can do
Pinterest posting from one API
Same PostWing API as the full product, scoped to Pinterest when you target a Pinterest account.
- Schedule Pinterest pins to one or more boards
- List boards with GET /accounts/pinterest-boards
- Set pin title and destination link
- Upload images or video with a direct upload URL
- Edit or cancel scheduled Pinterest pins from the same API
built for Pinterest
Pins with boards in one flow
Fetch boards, pick board_ids, set an optional title and link, then schedule. board_ids are required for every Pinterest pin.
- Image pins for product and lifestyle content
- Video pins when your media is a video file
- Scheduled pins show up on your PostWing calendar
Pinterest options
Platform settings that matter
Pass these on targets[].platform_options. board_ids are required.
board_idsrequired board IDs from GET /accounts/pinterest-boardstitleoptional pin titlelinkoptional destination URL- Preview → confirm so nothing schedules without approval
- API key or OAuth with scoped access
one API
Same API for every network
There is no separate Pinterest product. Pass platforms or targets[] on the same preview → confirm flow. Add Instagram, TikTok, YouTube, LinkedIn, X, Facebook, Pinterest, or Threads without changing your integration.
- Threads
- YouTube
- X (Twitter)
- TikTok
Connect accounts once in PostWing (or via the accounts endpoints)
Call POST /posts/preview with the networks you want on that post
Confirm with the token. One key covers every platform PostWing supports.
questions
Pinterest posting API FAQ
Yes. Call GET /accounts/pinterest-boards, then pass board_ids on targets[].platform_options when you preview the pin.