PeumeAPI

Social publishing & inbox · Pinterest

Select Pinterest 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.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/select-pinterest-board \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "boardId": "your boardId",
    "tempToken": "your tempToken"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: select-pinterest-board.

Parameters

boardIdRequiredstring

The Pinterest Board ID selected by the user

boardNamestring

The board name (for display purposes)

tempTokenRequiredstring

Temporary Pinterest access token from OAuth

userProfileobject

User profile data from OAuth redirect

refreshTokenstring

Pinterest refresh token (if available)

expiresIninteger

Token expiration time in seconds

redirect_urlstring

Custom redirect URL after connection completes

oauthAppIdstring

The `oauthAppId` from the selection redirect, when the connect ran on one of your own OAuth apps. Pass it back so a retried selection stays on that app; a different app than the connect used returns 400.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.