> ## Documentation Index
> Fetch the complete documentation index at: https://tryunsora.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Pinterest boards

> List the boards of a connected Pinterest account, to pick the board_id a pin goes to.

Returns the boards of one connected Pinterest account. Pass a board's id as `settings.pinterest.board_id` in [Create Post](https://tryunsora.com/docs/api-reference/posts/create_post.md); without one, pins go to the account's first board.

```bash theme={null}
curl "https://mvp.tryunsora.com/api/v1/accounts/ACCOUNT_ID/pinterest/boards" \
  -H "Authorization: Bearer uns_YOUR_API_KEY"
```


## OpenAPI

````yaml GET /accounts/{accountId}/pinterest/boards
openapi: 3.1.0
info:
  title: Unsora API
  version: 1.4.0
  description: >-
    Public API for Unsora integrations. Authenticate with an Unsora API key
    (`uns_…`, created under Developers → API keys in the app) as a Bearer token
    in the Authorization header. Limit: 60 requests per minute per key; over it,
    429 with code RATE_LIMIT_EXCEEDED.
servers:
  - url: https://mvp.tryunsora.com/api/v1
    description: Production
  - url: /api/v1
    description: This server
security: []
tags:
  - name: User
  - name: Models
    description: >-
      Every video, image and motion-control model, with each model's inputs
      taken from the provider's own request schema and prices quoted live. One
      generate endpoint covers all of them.
  - name: Video
  - name: Image
  - name: Influencer
  - name: Thumbnail
  - name: Clipping
  - name: Music
  - name: Voiceover
  - name: Upscaler
  - name: Subtitle removal
  - name: Motion control
  - name: Avatar
  - name: Movie materials
  - name: Voice clones
  - name: Voice changer
  - name: Uploads
  - name: Scheduler
paths:
  /accounts/{accountId}/pinterest/boards:
    get:
      tags:
        - Scheduler
      summary: List a Pinterest account's boards
      description: >-
        Boards the connected Pinterest account can pin to: `{ id, name, privacy
        }`. Pass an `id` as `settings.pinterest.board_id` in POST /posts.
      parameters:
        - name: accountId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Boards
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                        privacy:
                          type: string
        '404':
          description: Pinterest account not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
        error:
          type: string
        code:
          type: string
        message:
          type: string
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An Unsora API key (`uns_…`). A Clerk session token also works.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.