Pinterest icon

CONNECT APP

Build with Pinterest

Pinterest is a visual discovery engine for finding ideas like recipes, home and style inspiration, and more.

Commerce

  • OAuth

MCP

Give your agent Pinterest tools

Every Pinterest action is exposed as an MCP tool on Pipedream's remote server. Point a client at it with your end user's ID and Connect resolves that user's Pinterest account for each tool call — you store no tokens.

// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": "{project_id}",
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "pinterest",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// e.g. run Create a Pin:
const result = await mcp.callTool({
  name: "pinterest-create-pin",
  arguments: {
    boardId: "Board ID",
    boardSectionId: "Board Section ID",
  },
})

API PROXY

Call the Pinterest API directly

For an endpoint with no pre-built tool, the Connect proxy forwards your request to the Pinterest API with the connected user's credentials attached. You store no tokens and write no refresh logic.

const resp = await pd.proxy.get({
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  accountId: "apn_xxxxxxx",
  url: "https://api.pinterest.com/v5/user_account",
})

// Any allowed Pinterest endpoint works here. Pipedream attaches the
// connected account's credentials to the outgoing request.

SDK

Run Pinterest actions from your backend

Connect a user's Pinterest account once, then run Create a Pin on their behalf from your own code — TypeScript, Python, or plain HTTP.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "pinterest-create-pin",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    pinterest: { authProvisionId: "apn_xxxxxxx" },
    boardId: "Board ID",
    boardSectionId: "Board Section ID",
  },
})

TOOLS

Pinterest actions

On-demand operations your product or agent can configure and run on behalf of a connected user.

MULTI-APP

Use Pinterest with other popular apps

Most products don't stop at one integration. Pair Pinterest with the other apps your users rely on, and ship use cases that span both.

Google Drive icon Google Drive Google Drive is a file storage and synchronization service which allows you to create and share your work online, and access your documents from anywhere. YouTube Data icon YouTube Data With the YouTube Data API, you can add a variety of YouTube features to your application. Use the API to upload videos, manage playlists and subscriptions, update channel settings, and more. Notion icon Notion Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team. GitHub icon GitHub Where the world builds software. Millions of developers and companies build, ship, and maintain their software on GitHub—the largest and most advanced development platform in the world. Slack icon Slack Slack is the AI-powered platform for work bringing all of your conversations, apps, and customers together in one place. Around the world, Slack is helping businesses of all sizes grow and send productivity through the roof. Spotify icon Spotify Spotify is a digital music service that gives you access to millions of songs. Google Ads icon Google Ads Reach customers wherever they are. Show up at the right time and place across the vast Google Ads ecosystem. Facebook Pages icon Facebook Pages Social media and social networking service. Microsoft Outlook Email icon Microsoft Outlook Email Microsoft Outlook lets you bring all your email accounts and calendars in one convenient spot. HubSpot icon HubSpot HubSpot's CRM platform contains the marketing, sales, service, operations, and website-building software you need to grow your business. Microsoft Excel icon Microsoft Excel You can use Microsoft Graph to allow web and mobile applications to read and modify Excel workbooks stored in OneDrive for Business, SharePoint site or Group drive. Google Photos icon Google Photos Google Photos is the home for all your photos and videos

REFERENCE

App details

Reference metadata for the Pinterest connector in the Pipedream registry.

App slug
pinterest
Authentication
OAuth
Categories
Commerce
Actions
1
Triggers
2
API proxy
Available

OAuth scopes

These are the scopes Pipedream's managed Pinterest OAuth client requests when one of your users connects an account. Supply your own OAuth client to request a different set.

  • boards:read
  • boards:read_secret
  • boards:write
  • boards:write_secret
  • pins:read
  • pins:read_secret
  • pins:write
  • pins:write_secret
  • user_accounts:read