# Pinterest

```json
{
  "name": "Pinterest",
  "slug": "pinterest",
  "url": "https://composio.dev/toolkits/pinterest",
  "markdown_url": "https://composio.dev/toolkits/pinterest.md",
  "logo_url": "https://logos.composio.dev/api/pinterest",
  "categories": [
    "social media"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-08-20T15:33:38.222Z"
}
```

![Pinterest logo](https://logos.composio.dev/api/pinterest)

## Description

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Pinterest MCP or direct API to search Pins, create Pins, manage boards, and organize visual ideas through natural language.

## Summary

Pinterest is a visual discovery platform for recipes, home ideas, style inspiration, travel plans, and more.
It helps people save, organize, and revisit ideas through Pins and Boards.

## Categories

- social media

## Toolkit Details

- Tools: 24

## Images

- Logo: https://logos.composio.dev/api/pinterest

## Authentication

- **Oauth2**
  - Type: `oauth2`
  - Description: Oauth2 authentication for Pinterest.
  - Setup:
    - Configure Oauth2 credentials for Pinterest.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- List my Pinterest boards by category
- Create pins for new summer products
- Find top recipe pins this week

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `PINTEREST_CREATE_BOARD` | Create Board | Create a public or secret Pinterest board. Secret creation requires boards:write_secret. |
| `PINTEREST_CREATE_BOARD_SECTION` | Create Board Section | Create a named section within a Pinterest board. |
| `PINTEREST_CREATE_PIN` | Create Pin | Create an image, carousel, or registered-video Pin on a Pinterest board. Production execution requires Pinterest Standard access: Trial apps are explicitly blocked from creating Pins on api.pinterest.com and must use a separately authenticated API Sandbox connection. |
| `PINTEREST_DELETE_BOARD` | Delete Board | Permanently delete a Pinterest board by ID, including a secret board when authorized. |
| `PINTEREST_DELETE_BOARD_SECTION` | Delete Board Section | Permanently delete a section from a Pinterest board. |
| `PINTEREST_DELETE_PIN` | Delete Pin | Permanently delete a Pinterest Pin by ID. Production Pin writes require Pinterest Standard access. |
| `PINTEREST_GET_ACCOUNT_ANALYTICS` | Get Account Analytics | Get aggregate Pinterest account analytics over a UTC date range, with optional metric, content, platform, source, and split filters. |
| `PINTEREST_GET_BOARD` | Get Board | Get one Pinterest board by ID, including secret boards available to the connected account. |
| `PINTEREST_GET_INSPIRATION_TRENDS` | Get Inspiration Trends | Get Pinterest editorial trend articles or featured trend topics for a supported region. |
| `PINTEREST_GET_KEYWORD_TRENDS` | Get Keyword Trends | Find Pinterest's top growing, monthly, yearly, or seasonal search keywords for a supported market, optionally filtered to an audience or search terms. |
| `PINTEREST_GET_PIN` | Get Pin | Get one public or secret Pinterest Pin by ID. |
| `PINTEREST_GET_PIN_ANALYTICS` | Get Pin Analytics | Get daily, summary, and lifetime analytics for one Pinterest Pin over a date range. Recent daily values may remain in PROCESSING status. |
| `PINTEREST_GET_PRODUCT_TRENDS` | Get Product Trends | Get currently growing shopping categories or detailed trend metrics for specified leaf product categories. |
| `PINTEREST_GET_PROFILE` | Get Profile | Get the connected Pinterest account's profile and content counts. |
| `PINTEREST_GET_TOP_PINS` | Get Top Pins | Return the connected account's top regular or video Pinterest Pins ranked by a route-appropriate analytics metric. |
| `PINTEREST_GET_WEBSITE_VERIFICATION` | Get Website Verification | Get the connected account's website-claim verification methods and material. The response contains sensitive verification values. |
| `PINTEREST_LIST_BOARDS` | List Boards | List the connected account's public, protected, or secret Pinterest boards one page at a time. |
| `PINTEREST_LIST_BOARD_SECTIONS` | List Board Sections | List sections within a Pinterest board one page at a time. |
| `PINTEREST_LIST_PINS` | List Pins | List account Pins, Pins on a board, or Pins in a board section using one parameterized read tool. Account-level listing may omit secret-board Pins; provide board_id for reliable secret-board inventory. |
| `PINTEREST_LIST_PROFILE_RESOURCES` | List Profile Resources | List followers, followed users, followed boards, followed interests, claimed websites, or linked businesses for the connected Pinterest profile. |
| `PINTEREST_SEARCH_OWN_CONTENT` | Search Own Content | Search the connected account's own boards or Pins, including secret content when authorized. This does not search Pinterest's global partner Pin index. |
| `PINTEREST_UPDATE_BOARD` | Update Board | Update a board's name, description, or privacy. Provide at least one update field. Secret-board writes require boards:write_secret. |
| `PINTEREST_UPDATE_BOARD_SECTION` | Update Board Section | Rename a section within a Pinterest board. |
| `PINTEREST_UPDATE_PIN` | Update Pin | Update content on a Pin owned by the connected account or move it to another board or section. Provide at least one update field. Production Pin writes require Pinterest Standard access. This Organic action does not support Business Access ad-account delegation. |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK
```python
pip install composio_openai
```

```typescript
npm install @composio/openai
```

#### Path 1, Step 2: Initialize Composio and Create Tool Router Session

Import and initialize Composio client, then create a Tool Router session
```python
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
openai = OpenAI()
session = composio.create(user_id='your-user-id')
```

```typescript
import OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
```

#### Path 1, Step 3: Execute Pinterest Tools via Tool Router with Your Agent

Get tools from Tool Router session and execute Pinterest actions with your Agent
```python
tools = session.tools
response = openai.responses.create(
  model='gpt-4.1',
  tools=tools,
  input=[{
    'role': 'user',
    'content': 'List my Pinterest boards and summarize their names and descriptions'
  }]
)
result = composio.provider.handle_tool_calls(
  response=response,
  user_id='your-user-id'
)
print(result)
```

```typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'List my Pinterest boards and summarize their names and descriptions'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK for Python or TypeScript
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
```

#### Path 2, Step 2: Initialize Client and Create Tool Router Session

Import and initialize the Composio client, then create a Tool Router session for Pinterest
```python
from composio import Composio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions

composio = Composio(api_key='your-composio-api-key')
session = composio.create(user_id='your-user-id')
url = session.mcp.url
```

```typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });
const session = await composio.create('your-user-id');
console.log(`Tool Router session created: ${session.mcp.url}`);
```

#### Path 2, Step 3: Connect to AI Agent

Use the MCP server with your AI agent (Anthropic Claude or Mastra)
```python
import asyncio

options = ClaudeAgentOptions(
    permission_mode='bypassPermissions',
    mcp_servers={
        'tool_router': {
            'type': 'http',
            'url': url,
            'headers': {
                'x-api-key': 'your-composio-api-key'
            }
        }
    },
    system_prompt='You are a helpful assistant with access to Pinterest tools.',
    max_turns=10
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query('Find Pins about small balcony garden ideas')
        async for message in client.receive_response():
            if hasattr(message, 'content'):
                for block in message.content:
                    if hasattr(block, 'text'):
                        print(block.text)

asyncio.run(main())
```

```typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: session.mcp.url,
    headers: {
      'x-api-key': 'your-composio-api-key',
    },
  },
});

const tools = await client.tools();
const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{
    role: 'user',
    content: 'Find Pins about small balcony garden ideas'
  }],
  maxSteps: 5,
});

console.log(`Agent: ${text}`);
```

## Why Use Composio?

### 1. AI Native Pinterest Integration

- Supports both Pinterest MCP and direct API based integrations
- Structured, LLM-friendly schemas for reliable Pin and Board actions
- Rich coverage for reading, writing, and querying Pinterest content

### 2. Managed Auth

- OAuth handling with secure token storage, refresh, and lifecycle management
- Central place to manage, scope, and revoke Pinterest access
- Per user and per environment credentials instead of hard-coded secrets

### 3. Agent Optimized Design

- Tools are tuned using real error and success rates to improve reliability over time
- Clear schemas help agents understand Pinterest actions like listing boards or creating Pins
- Comprehensive execution logs so you always know what ran, when, and on whose behalf

### 4. Enterprise Grade Security

- Fine-grained RBAC so you control which agents and users can access Pinterest
- Scoped, least privilege access to Pinterest resources
- Full audit trail of agent actions to support review and compliance

## Use Pinterest with any AI Agent Framework

Choose a framework you want to connect Pinterest with:

None listed.

## Related Toolkits

- [Twitter](https://composio.dev/toolkits/twitter) - Twitter is a social media platform for sharing real-time updates, conversations, and news. Stay connected, informed, and engaged with communities worldwide.
- [Instagram](https://composio.dev/toolkits/instagram) - Instagram is a social platform for sharing photos, videos, and stories with your audience. It helps brands and creators engage, grow, and analyze their online presence.
- [Ayrshare](https://composio.dev/toolkits/ayrshare) - Ayrshare is a Social Media API for managing, automating, and analyzing posts across multiple platforms. It helps you streamline social media workflows and centralize analytics.
- [DEV Community](https://composio.dev/toolkits/devto) - DEV Community (dev.to) is a social publishing platform for software developers. Use it to share technical articles, grow a developer audience, and join community discussions.
- [Dotsimple](https://composio.dev/toolkits/dotsimple) - Dotsimple is a social media management platform for planning, creating, and publishing content. It helps teams boost their reach with AI-powered content generation and actionable analytics.
- [Strava](https://composio.dev/toolkits/strava) - Strava is a social fitness network and app for cyclists and runners. It's perfect for tracking workouts, sharing progress, and joining active communities.
- [Tiktok](https://composio.dev/toolkits/tiktok) - Tiktok is a short-form video platform for creating, sharing, and discovering viral content. It helps creators and brands reach massive audiences with creative tools and global social features.
- [Twitch](https://composio.dev/toolkits/twitch) - Twitch is a live streaming platform for gamers, creators, and communities. It enables real-time interaction, monetization, and community building.
- [TwitterShots](https://composio.dev/toolkits/twittershots) - TwitterShots is an API service that renders public X posts as clean screenshots and retrieves tweet content. Use it to capture social posts, extract tweet text, and track API usage without building screenshot infrastructure.
- [Upload-Post](https://composio.dev/toolkits/upload_post) - Upload-Post is a social publishing API for posting, scheduling, and managing content across social networks. Use it to run multi-channel content workflows through one clean API instead of separate platform integrations.
- [Gmail](https://composio.dev/toolkits/gmail) - Gmail is Google's email service with powerful spam protection, search, and G Suite integration. It keeps your inbox organized and makes communication fast and reliable.
- [Google Calendar](https://composio.dev/toolkits/googlecalendar) - Google Calendar is a time management service for scheduling meetings, events, and reminders. It streamlines personal and team organization with integrated notifications and sharing options.
- [Google Drive](https://composio.dev/toolkits/googledrive) - Google Drive is a cloud storage platform for uploading, sharing, and collaborating on files. It's perfect for keeping your documents accessible and organized across devices.
- [Outlook](https://composio.dev/toolkits/outlook) - Outlook is Microsoft's email and calendaring platform for unified communications and scheduling. It helps users stay organized with powerful email, contacts, and calendar management.
- [Google Sheets](https://composio.dev/toolkits/googlesheets) - Google Sheets is a cloud-based spreadsheet tool for real-time collaboration and data analysis. It lets teams work together from anywhere, updating information instantly.
- [Supabase](https://composio.dev/toolkits/supabase) - Supabase is an open-source backend platform offering scalable Postgres databases, authentication, storage, and real-time APIs. It lets developers build modern apps without managing infrastructure.
- [Composio](https://composio.dev/toolkits/composio) - Composio is an integration platform that connects AI agents with hundreds of business tools. It streamlines authentication and lets you trigger actions across services—no custom code needed.
- [Notion](https://composio.dev/toolkits/notion) - Notion is a collaborative workspace for notes, docs, wikis, and tasks. It streamlines team knowledge, project tracking, and workflow customization in one place.
- [Slack](https://composio.dev/toolkits/slack) - Slack is a channel-based messaging platform for teams and organizations. It helps people collaborate in real time, share files, and connect all their tools in one place.
- [Airtable](https://composio.dev/toolkits/airtable) - Airtable combines the flexibility of spreadsheets with the power of a database for easy project and data management. Teams use Airtable to organize, track, and collaborate with custom views and automations.

## Frequently Asked Questions

### Do I need my own developer credentials to use Pinterest with Composio?

Yes, Pinterest requires you to configure your own OAuth credentials. Once set up, Composio handles token storage, refresh, and lifecycle management for you.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
