Search user's boards
Changed onSearch for boards for the "operation user_account". This includes boards of all board types.
- By default, the "operation user_account" is the token user_account.
If using Business Access: Specify an ad_account_id to use the owner of that ad_account as the "operation user_account". See Understanding Business Access for more information.
Request
- Base URLhttps://api.pinterest.com/v5
- Auth
- OAuth 2Authorization codehttps://www.pinterest.com/oauth/Token URLhttps://api.pinterest.com/v5/oauth/tokenScopesboards:read, boards:read_secret
- or OAuth 2Client credentialsToken URLhttps://api.pinterest.com/v3/oauth/access_token/Scopesboards:read, boards:read_secret
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Unique identifier of an ad account.
Search query. Can contain pin description keywords or comma-separated pin IDs.
Cursor used to fetch the next page of items
Maximum number of items to include in a single page. See documentation on Pagination for more information.
Response
The request has succeeded.
Example response
{
"items": [
{
"collaborator_count": 17,
"description": "My favorite summer recipes",
"follower_count": 13,
"id": "549755885175",
"is_ads_only": true,
"media": {
"image_cover_url": "https://i.pinimg.com/400x300/fd/cd/d5/fdcdd5a6d8a80824add0d054125cd957.jpg",
"pin_thumbnail_urls": [
"https://i.pinimg.com/150x150/b4/57/10/b45710f1ede96af55230f4b43935c4af.jpg",
"https://i.pinimg.com/150x150/dd/ff/46/ddff4616e39c1935cd05738794fa860e.jpg",
"https://i.pinimg.com/150x150/84/ac/59/84ac59b670ccb5b903dace480a98930c.jpg",
"https://i.pinimg.com/150x150/4c/54/6f/4c546f521be85e30838fb742bfff6936.jpg"
]
},
"name": "Summer recipes",
"pin_count": 5
}
]
}Changes
- breaking
the response's body type changed from no type to
objectfor status - info
removed
subschema #2from the response bodyallOflist for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the required property
to the response with the status
- breaking
- breaking
the
///response's property type changed fromstringto no type for status - breaking
removed the required property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - info
added to the
//response propertyallOflist for the response status - info
added to the
///response propertyallOflist for the response status - info
removed the
PROTECTEDenum value from the///response property for the response status - info
removed the
PUBLICenum value from the///response property for the response status - info
removed the
SECRETenum value from the///response property for the response status
- breaking