---
title: "Select Pinterest board"
method: POST
path: "/v1/connect/pinterest/select-board"
tags: ["Connect"]
---

# Select Pinterest board

`POST /v1/connect/pinterest/select-board`

Complete the Pinterest connection flow. After OAuth, use this endpoint to save the selected board and complete the account connection. Use the X-Connect-Token header if you initiated the connection via API key.

## Request body

- object
  - `profileId` string, required — Your Zernio profile ID
  - `boardId` string, required — The Pinterest Board ID selected by the user
  - `boardName` string — The board name (for display purposes)
  - `tempToken` string, required — Temporary Pinterest access token from OAuth
  - `userProfile` object — User profile data from OAuth redirect
  - `refreshToken` string — Pinterest refresh token (if available)
  - `expiresIn` integer — Token expiration time in seconds
  - `redirect_url` string, uri — Custom redirect URL after connection completes

## Response `200`

Pinterest Board connected successfully

- object
  - `message` string
  - `redirect_url` string — Redirect URL with connection params (if provided)
  - `account` object
    - `accountId` string — ID of the created SocialAccount
    - `platform` 'pinterest'
    - `username` string
    - `displayName` string
    - `profilePicture` string
    - `isActive` boolean
    - `defaultBoardName` string

## Other responses

- `400` — Missing required fields
- `401` — Unauthorized
- `403` — No access to profile or profile limit exceeded
- `500` — Failed to save Pinterest connection

---

[API](https://skmtc.net/zernio/apis/zernio-api.md) · [All operations](https://skmtc.net/zernio/apis/zernio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zernio/zernio-api/versions/51932b099b2f/schema)
