Pages in API reference

Accounts

Pick a Pinterest account's default board

PATCH/api/accounts/:accountId/board

Set the board Pins go to when a post sets no options.pinterest.boardId: pass boardId (from accounts_list_boards), or newBoardName to create a public board and use it.

  • Ampost checks the board with Pinterest first.
  • The choice survives a reconnect.
  • Returns the account; platformMetadata.boardId and boardName show the default.
  • Other platforms return 400.
Key scope
accounts:write
MCP tool
accounts_set_board

Headers

  • Authorizationstringrequired

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

Path parameters

  • accountIdstringrequired

    Account id (UUID): id from accounts_list

Body

  • boardIdstring

    An existing board of the account, from accounts_list_boards. Pass this or newBoardName

  • newBoardNamestring

    Creates a public board with this name and makes it the default. Pass this or boardId

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