Connect
Create Pinterest board
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.
Authorization
bearerAuth AuthorizationBearer <token>
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
accountId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
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" }}Was this page helpful?