Set default Pinterest board
Sets the default board used when publishing pins for this account.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
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.updatePinterestBoards({ path: { accountId: 'account_abc123', }, body: { defaultBoardId: 'defaultboard_abc123', },});console.log(data);{ "message": "Default Pinterest board updated successfully", "account": { "_id": "64e1f0a9e2b5af0012ab34cd", "platform": "pinterest", "username": "mybrand", "displayName": "My Brand", "isActive": true }}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.
List Reddit subreddits
Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Returns the subreddits the connected Reddit account can post to. Use this to get a subreddit name when creating a Reddit post.