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.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
accountIdstring
namestring
Name of the board
description?string
Board description
privacy?string
Board privacy setting
Default
"PUBLIC"Value in
"PUBLIC" | "PROTECTED" | "SECRET"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"
}
}Empty
{
"error": "Unauthorized"
}Empty
Empty