Pages in API reference

Accounts

List a Pinterest account's boards

GET/api/accounts/:accountId/boards

List the boards of an active Pinterest account (up to 250), read from Pinterest (the same list is reused for up to a minute; a board made with accounts_set_board shows at once).

  • defaultBoardId is the board Pins go to when a post sets no options.pinterest.boardId; it is null until one is picked, and the account then has the BOARD_NOT_SELECTED health warning.
  • Ask the user which board to use and call accounts_set_board.
  • An account with a single board gets it as the default at connect.
  • Other platforms return 400.
Key scope
accounts:read
MCP tool
accounts_list_boards

Headers

  • Authorizationstringrequired

    Bearer <API key>. Create a key in the dashboard under API keys.

Path parameters

  • accountIdstringrequired

    Account id (UUID): id from accounts_list

Errors return { error: { code, message } }; every code is in Error codes.