Skip to content
Pinterest logo

Connectors / Marketing · HTTP Connector

Pinterest integration and API

Create a Pin, create a board and create a board section in Pinterest. Connect Pinterest to the rest of your marketing stack with Tray.ai.

What can you do with Pinterest on Tray.ai?

Pinterest is a visual discovery network where brands publish Pins to boards and run ad campaigns to reach people planning purchases. Tray.ai connects to Pinterest through the HTTP Connector, so your workflows can call the Pinterest API alongside the rest of your stack. API access comes through Pinterest's partner program or API plan, so you need approved credentials first.

  • Create a Pin for each new product added to your online store catalog.
  • Get Pin analytics weekly and add saves and clicks to your marketing dashboard.
  • Each day, get ad account analytics and feed spend into finance's marketing budget report.
Connects through
HTTP Connector
Authentication
OAuth 2.0 or a bearer token
Base URL
https://api.pinterest.com/v5

Set it up

Connect Pinterest to Tray.ai

Each step uses Pinterest's own API details, from its documentation.

Sign in to Pinterest with OAuth 2.0

Ask Pinterest for API access. Once it's approved, set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with Pinterest. Sign in once and every step reads the token from there.

Point the HTTP Client at the API

Add an HTTP Client step and use https://api.pinterest.com/v5 as the base URL. Or paste a cURL example from Pinterest's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List Pins”

It's one of 23 documented actions, under Pins. The response comes back as data the next step can map into your other apps.

Hand it to an AI agent

Wrap “Create a Pin” and “Get a Pin” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

Workflows to build with Pinterest

Connect Pinterest with Shopify, Google BigQuery and Slack

Each one uses actions and events from Pinterest's own API documentation.

Create a Pin for each new Shopify product

When

A product is created in Shopify

Then

  1. Get a board for the product's collection
  2. Create a Pin with the product image and link

With Shopify

Load Pinterest ad results into Google BigQuery

When

On a schedule

Then

  1. List ad accounts
  2. Get ad account analytics
  3. Load the results into a table in Google BigQuery

With Google BigQuery

Report weekly Pin performance in Slack

When

On a schedule

Then

  1. List Pins
  2. Get Pin analytics
  3. Post the top Pins to the social channel in Slack

With Slack

Apps you can build on Pinterest data

Internal tools your team can build with an AI assistant, each one using Pinterest calls from its API documentation.

Pin performance dashboard

Shows analytics for each Pin grouped by board so the social team can see what content works.

Ad campaign overview

Shows ad account results and campaigns side by side and lets a marketer update campaign settings.

Board organizer

Lists boards and their sections and lets an editor move a Pin to a different board or section.

Give your AI agents Pinterest tools

Build an MCP server on Pinterest in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • Create a Pin
  • Create a board
  • List board sections
  • List ad accounts
  • List campaigns
  • List Pins
  • Get a Pin
  • Update a Pin

What the Pinterest API covers

5 resources and 23 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Pinterest gives API access on request, so approved credentials come first. Connecting it takes a few clicks: here's how.

Pins

  • Create a Pin
  • List Pins
  • Get a Pin
  • Update a Pin
  • Delete a Pin
  • Get Pin analytics

Boards

  • Create a board
  • List boards
  • Get a board
  • Update a board
  • Delete a board

Board sections

  • List board sections
  • Create a board section
  • Update a board section
  • Delete a board section

Ad accounts

  • List ad accounts
  • Create an ad account
  • Get an ad account
  • Get ad account analytics

Campaigns

  • List campaigns
  • Create campaigns
  • Update campaigns
  • Get a campaign

Checked against Pinterest's own documentation on 2026-10-22

developers.pinterest.com/docs/api/v5/introduction

Frequently asked questions

What can a Tray.ai workflow do in Pinterest?

The Pinterest API documents 23 actions across 5 resources (Pins, Boards, Board sections, Ad accounts, Campaigns). For example: Create a Pin; Create a board; List board sections. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Pinterest?

The Pinterest API uses OAuth 2.0 and a bearer token. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Do I need special access to the Pinterest API?

Yes. Pinterest gives API access on request, so you need approved credentials before a Tray.ai workflow can call it.

See Pinterest working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.