First-party app
Pinterest Pinterest

Pinterest

Create and manage Pinterest boards and Pins, save content, and read account info via the Pinterest REST API v5.

stable Social MediaMarketing

About

Pinterest ships in the w6w first-party pack. It declares 16 actions, 2 health checks, and the host runs its code in a sandbox that never sees the credential.

App id
io.w6w.pinterest
Version
0.1.1
Author
w6w
Licence
MIT
Categories
Social Media · Marketing

Overview

Pinterest’s v5 REST API is organized around two owned resources — boards and Pins — plus the account that owns them, and this app covers the full CRUD surface for both: create, read, list, update and delete a board; create, read, list, update and delete a Pin; save an existing Pin onto one of your own boards; search your own Pins; and read the connected account’s profile and, when the connection has Business Access to one, its ad accounts.

Creating a Pin from an image is fully supported by pointing media_source at a public image URL, which Pinterest fetches server-side — no upload step required. Creating a VIDEO Pin is deliberately left out: it requires first registering a video with POST /media, which hands back a one-time upload target this app’s sandboxed network access has no way to reach in advance (the same reason LinkedIn’s image/video posting is absent from this pack). A Pin can still be updated, deleted or saved regardless of its media type.

Everything here was verified against Pinterest’s own OpenAPI 3.0 description (github.com/pinterest/api-description, v5/openapi.json, REST API version 5.28.0) and live probes against api.pinterest.com, not a third-party integration directory.

Build with Pinterest

Three routes to the same 16 actions. The Workflow tab is generated from Pinterest's own manifest and carries its real ids, so it is copy-pasteable; the Code and CLI examples are the same call for any action on any app, so every app-specific value in them is a blank you fill in.

Get Ad Account

ad-account-get

Fetch one ad account's profile by ID.

List Ad Accounts

ad-account-list

List the ad accounts the connected account can act as, via Business Access.

Create Board

board-create

Create a board owned by the connected Pinterest account.

Delete Board

board-delete

Permanently delete a board and every Pin on it. Safe to retry.

Get Board

board-get

Fetch one board's metadata by ID.

List Boards

board-list

List the connected account's boards, including group boards it collaborates on.

List Pins on Board

board-pins-list

List the Pins on one board.

Update Board

board-update

Update a board's name, description or privacy.

Create Pin (from image URL)

pin-create

Create an image Pin on a board. Pinterest fetches the image from the URL you provide — no upload step needed.

Delete Pin

pin-delete

Permanently delete a Pin. Safe to retry.

Get Pin

pin-get

Fetch one Pin's metadata by ID.

List Pins

pin-list

List every Pin owned by the connected account.

Save Pin

pin-save

Save an existing Pin onto one of your boards.

Search My Pins

pin-search

Search the connected account's own Pins by keyword or comma-separated Pin IDs.

Update Pin

pin-update

Update a Pin's title, description, alt text, link, or move it to another board.

Get Account Info

user-account-get

Fetch the connected Pinterest account's profile and counts.

A workflow step names the app and the action, and the editor fills in the connection when you pick one. This is the Step shape from the workflow spec, carrying Pinterest's real ids.

{
  "manifestVersion": "2",
  "name": "pinterest-example",
  "steps": [
    {
      "id": "ad-account-get",
      "uses": {
        "app": "io.w6w.pinterest",
        "action": "ad-account-get",
        "connection": "conn_YOUR_CONNECTION_ID"
      },
      "with": {
        "adAccountId": "<adAccountId>"
      }
    }
  ]
}

Here are some of the things you can do

  • Get Ad Account

    read
    ad-account-get
  • List Ad Accounts

    search
    ad-account-list
  • Create Board

    perform
    board-create
  • Get Board

    read
    board-get
  • List Boards

    search
    board-list

+11 more actions available

Every app-specific value here is a blank you have to fill in. An app action is reached through the connection that authenticates it, so the address is a connection id, not the app id — and connections belong to your account, so a public page cannot know yours. Create one for Pinterest, then fill in the three blanks: conn_YOUR_CONNECTION_ID, the action key, and the parameters that action declares. The call itself is real — the shape is transcribed from the studio's own snippet builder, which prints the same kind of blanks — but nothing in it is specific to Pinterest. The Workflow tab is where this app's real ids are.

Install
npm install @w6w/sdk
yarn add @w6w/sdk
pnpm add @w6w/sdk
deno add npm:@w6w/sdk
Code
import { W6wClient, isActionRun } from "@w6w/sdk";

// Reads W6W_BASE_URL and W6W_TOKEN from the environment when omitted.
const client = new W6wClient();

const envelope = await client.run({
  urn: "conn_YOUR_CONNECTION_ID",
  action: "ad-account-get",
  payload: {
    adAccountId: "<value>",
  },
});

if (isActionRun(envelope)) console.log(envelope.value);
Install the CLI
npm install -g @w6w/cli
CLI
w6w run conn_YOUR_CONNECTION_ID --action ad-account-get --payload '{"adAccountId":"<value>"}'

Give an AI agent Pinterest — without giving it Pinterest's credentials. One MCP endpoint exposes every app, function and workflow the caller is entitled to, as tools it can discover and run. Access is granted per team while we onboard.

One tool call
{
  "name": "w6w_invoke",
  "arguments": {
    "ref": "app:io.w6w.pinterest#ad-account-get",
    "input": {
      "adAccountId": "<adAccountId>"
    }
  }
}

Every tool names its target with a single ref. The app: form above doesn't name a connection at all — the host resolves which of the caller's Pinterest connections to sign with, and refuses rather than guesses when the answer is ambiguous.

What the agent gets

Credentials it can't read

The token is attached host-side, at the moment of the call. It is never a tool argument, never in the model's context, and never in a transcript — so a prompt injection has nothing to exfiltrate.

A tool surface scoped to the caller

Tools are derived per end user from what that person has actually connected and is entitled to — not one shared bot identity carrying the union of everyone's access.

A durable workflow in one call

Multi-step work runs on the workflow engine and returns a run handle the agent can poll — retries, branching and state survive the conversation that started them.

Health-aware discovery

Pinterest's declared health checks are on the surface too, so an agent can tell "the vendor is down" from "your credential expired" before it burns a retry on either.

The MCP surface is part of the hosted platform. Pinterest itself is MIT, and the runtime that executes it is source-available (FSL).

Request MCP access

Health checks

Pinterest declares its own checks, so its health is a property of the app rather than something the host guesses at.

service

Pinterest API status

Component status from www.pintereststatus.com, filtered to "The Pinterest API" group — Content and Core, Conversions, Campaign Management, Audience Targeting, Analytics, Shopping, Business Access and Billing, and Trends endpoints. The other 33 components on that page describe the pinterest.com website and Ads Manager UI, not this app's API calls.

quota

API rate-limit headroom