Posting to Pinterest through the API
Search, not a feed — posts keep working for months. The request shape is the same one every network here uses — only the limits on this page change.
Our Pinterest app is on trial access. Your own account will connect; posting for other people needs Pinterest to grant standard access. The status page tracks it.
Connecting a Pinterest account
Needs a Pinterest developer app and a board to pin to. Once connected, we hold the credential and keep it alive; your code only ever sends the API key.
The limits we enforce before publishing
Caption
500 characters. Over the limit comes back as a 422 before anything publishes.
Media
Up to 1 per post. Media required — a post without any fails pre-flight.
Video
4s to 15m, up to 1.0 GB.
Cadence
15 posts a day per account — the ceiling that stays under Pinterest's spam heuristics.
What pre-flight rejects, verbatim
A request that breaks a Pinterest rule comes back as a 422 naming the network and the number — before anything is scheduled, not after the other networks published. The error strings are these:
632 chars — Pinterest allows 500.3 attachments — Pinterest allows 1.Pinterest requires media.Video is 30m — Pinterest allows 15m.
The request
curl -X POST https://attentionpilot.com/api/v1/posts \
-H "Authorization: Bearer $PILOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"caption": "Written for Pinterest, under 500 characters.",
"accounts": ["pinterest"]
}'Omit schedule for the next free queue slot, send "now" to publish immediately, or send an ISO timestamp.
When Pinterest fails
Each network is delivered on its own. A revoked token or a rejected upload on Pinterest never blocks your other targets: the post returns "partial", the Pinterest target carries the error text, and you can retry just this delivery.
Worth knowing
- ✓500 characters
- ✓Image or video required
- ✓Video 4s to 15m
The same call reaches the rest
Posting to Pinterest is an API call.
Start freeOne account free. No card.