post_to_pinterest
Create a Pin destructive
Description
Use this when the user wants to publish a Pin to Pinterest. Publishing costs no credits. Create a Pin on one of the user’s Pinterest boards from any finished visual they have — image, video, or a 2–5 slide CAROUSEL (pass the slides in order as imageUrls[] and Pinterest publishes one swipeable Pin). Title, description and destination link ride along. The link is what makes a Pin drive traffic, so ask for it rather than omitting it, and the description is the text Pinterest search actually reads. boardId is REQUIRED: call list_pinterest_boards first and let the user choose. This PUBLISHES to their public profile — confirm the board, title and link before calling. Video Pins take a minute or two while Pinterest ingests the file. Needs Pinterest connected (Connectors > Pinterest).
Parameters
| Parameter | Type | Description |
|---|---|---|
account | string | WHICH connected account of this channel to post as — its @handle or id from list_connector_accounts. Needed only when the profile has more than one pinterest account connected (several and none named is refused by name, never guessed); omit when there is one. |
brand | string | WHICH PROFILE this post belongs to, for THIS CALL ONLY (beats the connection’s pin): an id or exact name from list_brands. A name that matches no profile, or two, is REFUSED and nothing is posted. |
hook | string | the post’s ANGLE, recorded at publish: a list_hooks id (e.g. "direct_callout") or your own wording reused EXACTLY across a campaign. post_performance ranks hooks on it (a winner needs 5 posts sharing one); omitted, this post never votes. |
subject | string | what the post is about (product, feature, offer or theme): post_performance’s second axis, so reuse the exact wording. |
recipe | string | the post's FORMAT id, e.g. "slideshow" or "imessage_chat" — post_performance groups by it, so reuse one id per format |
ideaId | string | short id of the content-plan idea this post came from |
boardIdrequired | string | numeric board id from list_pinterest_boards — the user picks it, never guess |
imageUrl | string | a Hermoso render image URL (or an upload_file url); a URL, not a local file path; use upload_file for local files |
videoUrl | string | a Hermoso render video URL — takes 1–2 minutes to ingest; a URL, not a local file path; use upload_file for local files |
imageUrls | string[] | CAROUSEL — an ORDERED list of image (and, where the channel allows, video) URLs published as ONE post the viewer swipes through, not several posts: a multi-slide creative (a listicle, a “1/6 · SWIPE” deck) needs every slide, in order. Limits: Instagram 2–20 (images, videos or a mix), Threads 2–20 (mix allowed), Facebook 2+ (no documented maximum; Hermoso caps the upload at 30 and says so), LinkedIn company Pages 2–20 (images only), Pinterest 2–5 (images only), TikTok up to 35. One url is an ordinary single post. Anything a channel cannot do is REFUSED with the reason, never downgraded to one slide. |
idempotencyKey | string | SAFE RETRIES — any stable string: the SAME publish again within 24h returns the ORIGINAL post id instead of posting again (an identical publish is also recognised for 10 minutes). On a timeout or an ambiguous error, CALL AGAIN WITH THE SAME KEY: it reports the original post or publishes it once, never twice. |
allowDuplicate | boolean | post it even though an identical post was just made or attempted: only when the user wants the same thing posted twice, or you have LOOKED at the account and confirmed a timed-out attempt did not land. |
title | string | Pin title, max 100 characters |
description | string | Pin description, max 800 characters — this is what Pinterest search reads |
link | string | destination URL the Pin clicks through to |
altText | string | string[] | accessibility alt text, max 500 characters. PIN-LEVEL: Pinterest’s API has no per-item alt text at all, so on a CAROUSEL the FIRST description is used for the whole Pin and the reply states that the others were not sent. |
slideText | object[] | PINTEREST CAROUSEL ONLY — per-slide title, description and destination LINK, one object per slide in slide order. This is the ONLY genuine per-slide caption on any channel Hermoso publishes to: slide 4 can send people to the product ON slide 4, where every other platform gives a carousel one shared caption. Omit any field to leave it unset; the Pin’s own title/description/link still describe the Pin as a whole. Pinterest publishes no length limit on these, so nothing is truncated. More entries than slides is refused rather than dropped. |
slideText[].title | string | carousel slide title; one object per slide, in slide order |
slideText[].description | string | carousel slide description for this slide |
slideText[].link | string | carousel slide destination URL for this slide |
coverImageUrl | string | video Pins only — a render to use as the cover frame |
coverAtMs | number | THE VIDEO COVER of a video Pin, as ONE frame: milliseconds from the start (7000 = the frame at 7s). That frame is cut and sent as the Pin cover image. coverImageUrl wins. |
boardSectionId | string | optional section within the board |
aiGenerated | boolean | Pinterest’s AI disclosure (ai_disclosures AI_MODIFIED). OMIT IT and Hermoso decides from provenance: a Hermoso render is declared, an image or video that came through upload_file or an external URL (the user’s own) is NOT. Pass true or false only to override. |
syntheticPerformer | boolean | ALSO declare SYNTHETIC_PERFORMER — the Pin shows a realistic AI-generated person. Only with an AI disclosure; never guessed, so pass true only when the user says the person is AI-made. |
platformCover | boolean | VIDEO COVER. Omit it (the default) and Hermoso sets the video’s best frame — the same frame as its Library thumbnail — as the cover (on Pinterest the frame rides as the cover image). true = send no cover and let the platform pick (usually the first frame). A cover you pass yourself always wins. |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/post_to_pinterest.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"post_to_pinterest","arguments":{"boardId":"<string>"}}}
CLI
hermoso call post_to_pinterest --json '{"boardId":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
list_pinterest_boardsList Pinterest boardscreate_pinterest_boardCreate a Pinterest boardpinterest_account_listsPinterest followers, following and websitesmanage_pinterest_board_sectionCreate, rename or delete a Pinterest board sectionlist_pinterest_board_sectionsList Pinterest board sectionsmanage_pinterest_product_groupCreate, edit or delete a Pinterest product groupupdate_pinterest_catalog_itemsAdd, change or remove Pinterest catalog productsmanage_pinterest_catalog_feedCreate, edit or delete a Pinterest product feedcreate_pinterest_catalogCreate a Pinterest cataloglist_pinterest_catalogsRead the Pinterest product catalog