connect
List Pinterest boards
For headless flows. Returns Pinterest boards the user can post to. Use X-Connect-Token from the redirect URL.
AuthorizationBearer <token>
API key authentication - use your Late API key as a Bearer token
In: header
Query Parameters
profileIdstring
Your Late profile ID
tempTokenstring
Temporary Pinterest access token from the OAuth callback redirect
Header Parameters
X-Connect-Tokenstring
Short-lived connect token from the OAuth redirect
Response Body
application/json
application/json
curl -X GET "https://getlate.dev/api/v1/connect/pinterest/select-board?profileId=string&tempToken=string" \ -H "X-Connect-Token: string"{
"boards": [
{
"id": "123456789012345678",
"name": "Marketing Ideas",
"description": "Collection of marketing inspiration",
"privacy": "PUBLIC"
},
{
"id": "234567890123456789",
"name": "Product Photos",
"description": "Product photography",
"privacy": "PUBLIC"
}
]
}Empty
{
"error": "Unauthorized"
}Empty
Empty
Switch LinkedIn account type PUT
Switch a LinkedIn account between personal profile and organization (company page) posting.
Select Pinterest board POST
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.