OverviewProductsPlatformsAPI ReferenceResources
Connect

Create Pinterest board

POSThttps://zernio.com/api/v1/accounts/{accountId}/pinterest-boards

Creates a new board on the connected Pinterest account. The returned board ID can be used immediately as platformSpecificData.boardId when creating a Pinterest post.

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Path parameters

accountIdstringRequired

Body

application/json

What every request needs

namestringRequired

Name of the board

Optional parameters2 fields
descriptionstring

Board description

privacystringDefault PUBLICOne of PUBLIC | PROTECTED | SECRET

Board privacy setting

Responses

Success· the request worked

Errors· the request failed

POST/v1/accounts/{accountId}/pinterest-boards
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.connect.createPinterestBoard({  path: {    accountId: 'account_abc123',  },  body: {    name: 'Example',  },});console.log(data);
{  "board": {    "id": "345678901234567890",    "name": "Summer Recipes",    "description": "My favorite summer recipes",    "privacy": "PUBLIC"  }}
OpenAPI specification
Was this page helpful?