---
title: "Pin to Any Board From Code With the Pinterest API"
description: "Create image, video and carousel Pins through the Pinterest API with AdaptlyPost: pick the board by name, set the title, link and alt text, now or scheduled."
url: "https://adaptlypost.com/usages/pinterest-api"
---

# Pin to Any Board From Your Code With the Pinterest API

Send one POST /social-posts request and AdaptlyPost creates the Pin through the Pinterest API, with its board, title, link and alt text, on a connected Pinterest account.

[Start Your 7-Day Free Trial](https://adaptlypost.com/signup)[See How It Works](#features)

adaptlypost.com/posted

PostedView all your published posts2 posts

![](https://adaptlypost.com/_next/static/media/kawaguchiko.1p6qq6_czszrf.jpg-45d6a6e0-02aa-4bc5-a15c-20904be51684)

Celadon bowl, 14 cm. Thrown and glazed by hand.

Platforms

PublishedWed, Dec 9, 7:00 PM

Platforms

PublishedMon, Dec 7, 7:00 PM

Platforms

{

"contentType": "IMAGE",

"accountIds": \["pin\_2t8"\],

"mediaUrls": \[

"https://kawa.co/bowl.jpg"

 \],

"pinterestConfigs": \[{

"connectionId": "pin\_2t8",

"boardName": "Glazes",

"link": "https://kawa.co"

 }\],

"timezone": "Europe/London"

}

Send

"1093…917482"PUBLISHED

Pins

### Set Pin Options in pinterestConfigs

Pick a board and a section by id or by name, give the Pin a title of up to 100 characters and a link people open when they click it.

Networks

### One Call, 14 Networks

Add Instagram, Facebook, Tumblr or any other connected account to the same request, each with its own settings.

Boards

### List Every Board

Read the id, name, privacy and Pin count of each board on an account, secret boards included, before you pin.

AI labels

### Label AI Images

Set aiGenerated and Pinterest shows its AI modified label on the Pin. Set aiGeneratedPerson for a person made with AI.

1. Step 1  
### Create an API Key  
Open API & AI Agents in your dashboard and create a key. It starts with adaptly\_ and goes in the Authorization header as a Bearer token.
2. Your Pinterest account is connected  
Step 2  
### Connect a Pinterest Account  
Connect Pinterest in Connectors. Every board on the account, secret ones too, is then open to the API.
3. Step 3  
### Send POST /social-posts  
Send the image or video URL, the description and pinterestConfigs. AdaptlyPost answers 201 with a postId and pins now or at scheduledAt.

### Creator

Perfect for individuals and solopreneurs

$19012345678901234567890123456789012345678901234567890123456789

/month

[Start Free TrialStart Your 7-Day Free Trial](https://adaptlypost.com/signup)

* 30 connected social accounts
* Team collaboration
* 1 workspace
* 150 AI credits/month
* AI Image Studio

### Pro

Most Popular

For professionals and growing teams

$39012345678901234567890123456789012345678901234567890123456789

/month

[Start Free TrialStart Your 7-Day Free Trial](https://adaptlypost.com/signup)

* 60 connected social accounts
* 3 team members
* 3 workspaces
* 400 AI credits/month
* AI Image Studio

### Enterprise

For agencies and enterprises ready to scale

$89012345678901234567890123456789012345678901234567890123456789

/month

[Start Free TrialStart Your 7-Day Free Trial](https://adaptlypost.com/signup)

* 90 connected social accounts
* 10 team members
* 10 workspaces
* 1,000 AI credits/month
* AI Image Studio

### Every plan includes

* Unlimited scheduled posts
* AI Captions
* Image, video & carousel posts

Works with

### Custom

Custom limits, white-label and priority support

* Unlimited social accounts
* Unlimited team members
* Unlimited workspaces
* Unlimited AI credits
* AI Image Studio

Want to see the full feature comparison? [View pricing page](https://adaptlypost.com/pricing)

### 

You create a Pin with the AdaptlyPost API by sending POST /social-posts with a Bearer key, the image or video URL, a description and pinterestConfigs. AdaptlyPost publishes the Pin and returns a postId.

### 

The AdaptlyPost Pinterest integration publishes image Pins, video Pins and carousel Pins of 2 to 5 images. Set contentType to IMAGE, VIDEO or CAROUSEL.

### 

pinterestConfigs takes a boardId or a boardName, plus an optional boardSectionId or boardSectionName. A name that matches no board returns a 400, and the Pin never goes to another board.

### 

A Pin sent without boardId or boardName goes to a public board named AdaptlyPost. AdaptlyPost creates that board on the Pinterest account the first time it needs it.

### 

GET /social-accounts/:id/pinterest-boards returns every board a Pinterest account can pin to, secret boards included, with its id, name, description, privacy and Pin count.

### 

pinterestConfigs.link sets the page a Pin opens, and mediaAltTexts sets its alt text of up to 500 characters. Pinterest takes the alt text of the first item.

### 

AdaptlyPost schedules a Pin when POST /social-posts carries scheduledAt and an IANA timezone such as Europe/London. GET /social-posts/:id/results then reports PUBLISHED or FAILED with the Pin id.

### 

The AdaptlyPost API comes with every plan: Creator at $19 a month, Pro at $39 and Enterprise at $89, each with a 7-day free trial. You don't need your own Pinterest developer app.

Need every field and response? [Read the API docs](https://adaptlypost.com/docs/introduction) Still have questions? Contact support [contact@adaptlypost.com](mailto:contact@adaptlypost.com)

## Create Your First Pin Over the API

Create a key, connect Pinterest and send your first request today. Try any plan free for 7 days.

[Start Your 7-Day Free Trial](https://adaptlypost.com/signup)[Compare Plans & Features](https://adaptlypost.com/pricing)

adaptlypost.com/analytics

Top Performing PostsLast 7 days

PostViewsLikes

Product launch12.4K1.9K

Behind the scenes9.8K2.3K

Weekly tips6.1K740

9:41

Tuesday, November 17

9:41

InstagramnowYour reel is getting more views than usual.
