Pinterest

Post to Pinterest via API — Schedule, Publish, Analyze

Pin images and videos to specific boards with destination links and alt text — from a single API call. Drive traffic from Pinterest to your site on autopilot.

Get Started FreeNo credit card required

Pinterest API controls

Board targeting, destination links, and alt text in every pin.

Image pinspost_type: image

Pin static images with description, alt text, and destination link in a single API call.

Video pinspost_type: video

Upload native video pins to Pinterest. Video plays inline when users hover — higher engagement than static pins.

Board targetingpinterest_board_id

Specify which Pinterest board to pin to by board ID. Manage multiple boards per account from the same API.

Destination linkpinterest_link

Attach a click-through URL to every pin. When users click the pin, they land on your product page, blog post, or landing page.

Alt textpinterest_alt_text

Add descriptive alt text to image pins. Pinterest uses this for search indexing and screen reader accessibility.

API Example

Pin to a specific board with a link

Target the right board, attach a product URL, and include alt text for Pinterest SEO — all in one request.

pinterest-pin.sh
# Pin to a specific Pinterest board
curl -X POST \
  https://api.codivupload.com/v1/posts \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -d '{
    "profile_name": "shop-account",
    "platforms": ["pinterest"],
    "post_type": "image",
    "description": "Minimalist living room, spring 2026",
    "media_urls": ["https://cdn.example.com/room.jpg"],
    "pinterest_board_id": "714329185762948372",
    "pinterest_link": "https://shop.example.com/living-room",
    "pinterest_alt_text": "White sofa with wooden coffee table"  }'
Setup

Getting Started with Pinterest

Connecting your Pinterest account to CodivUpload takes under a minute. Navigate to the Integrations page in your dashboard and click Connect Pinterest. You'll be redirected to Pinterest's OAuth consent screen, where you grant CodivUpload permission to create pins and read your board list. Once authorized, your Pinterest profile and all its boards are synced to your account.

Select your boards: After connecting, your boards appear in the platform override panel when composing a post. Choose a target board by name or ID — CodivUpload resolves both. If you manage multiple Pinterest accounts (e.g., personal and business), connect each one separately and switch between them using the profile selector.

Pin your first content: Create a new post in the dashboard or via the API, select "pinterest" as a platform, attach an image or video, and set the pinterest_board_id override. Add a destination link with pinterest_link to drive traffic back to your site. The pin is published immediately or at your scheduled time.

CodivUpload stores your Pinterest access token encrypted at rest and refreshes it automatically before expiry. You won't need to re-authorize unless you explicitly revoke access from Pinterest's connected apps settings.

Optimization

Pinterest Content Optimization

Pinterest is a visual search engine, not just a social network. Optimizing your pins for search discoverability directly impacts impressions and click-throughs. Here's what matters.

Pin titles (100 characters max): Pinterest displays your pin title prominently in search results and closeup views. Front-load the most important keyword. Instead of "Our Latest Collection", write "Minimalist Living Room Ideas for Small Apartments". Specific, descriptive titles get 3-5x more saves than generic ones because Pinterest's search algorithm indexes every word.

Pin descriptions (500 characters max): Descriptions are your SEO playground on Pinterest. Write natural-language sentences that include relevant keywords — not comma-separated keyword lists. The description should explain what the pin leads to and why someone should save or click it. Use the full description field in the CodivUpload API to set this programmatically.

2:3 aspect ratio (1000x1500px): Pinterest's feed layout is vertically oriented. Images with a 2:3 aspect ratio take up the most visual space in the feed and perform best. Square images (1:1) get cropped awkwardly, and horizontal images shrink to near-invisibility. For video pins, the same vertical format applies — shoot or crop to 1080x1920 or 1000x1500.

Board strategy: Organize your boards by topic, not by campaign. A board named "Home Office Setup Ideas" performs better than "Q2 Campaign" because users browse boards by interest. Each board's title and description are indexed by Pinterest search. Pin consistently to each board — 3 to 5 new pins per board per week keeps the board active in recommendation algorithms.

Rich pins: If your website has Open Graph or Schema.org markup, Pinterest can pull in enhanced metadata automatically — product prices, article titles, recipe ingredients. This makes your pins more informative in the feed without any extra API parameters.

Alt text for SEO and accessibility: The pinterest_alt_text field serves double duty: screen readers use it for accessibility, and Pinterest's visual search engine uses it as an additional ranking signal. Describe what's in the image concretely — "white linen sofa in a sunlit living room with oak flooring" beats "beautiful room".

Full Example

Pinterest via API — board + link + alt text

This example pins a product image to a specific board with a click-through link and descriptive alt text. All three Pinterest-specific parameters in a single request.

pinterest-full.sh
# Pin with board, link, and alt text
curl -X POST \
  https://api.codivupload.com/v1/posts \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -d '{
    "profile_name": "home-decor-store",
    "platforms": ["pinterest"],
    "post_type": "image",
    "description": "Scandinavian desk organizer — walnut finish, cable routing built in",
    "media_urls": ["https://cdn.example.com/organizer.jpg"],
    "pinterest_board_id": "714329185762948372",
    "pinterest_link": "https://shop.example.com/desk-organizer",
    "pinterest_alt_text": "Walnut desk organizer on a white standing desk",
    "scheduled_date": "2026-04-07T14:00:00Z"  }'

Start posting to Pinterest for free

2 profiles, 10 uploads/mo on the free plan. Upgrade for unlimited.

Get Started Free

Pinterest API questions