Create board
Changed onCreate a board owned by the "operation user_account". Optional: Business Access: Specify an ad_account_id to use the owner of that ad_account as the "operation user_account".
- By default, the "operation user_account" is the token user_account.
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:write
- or OAuth 2Client credentialsToken URLhttps://api.pinterest.com/v3/oauth/access_token/Scopesboards:read, boards:write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Unique identifier of an ad account.
Request body
Example request
{
"description": "My favorite summer recipes",
"is_ads_only": true,
"name": "Summer recipes"
}Response
The request has succeeded.
Example response
{
"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
added to the
request propertyallOflist - breaking
removed the enum value
PROTECTEDof the request property - breaking
removed the enum value
PUBLICof the request property - breaking
removed the enum value
SECRETof the request property - breaking
the
request property type changed fromstringto no type - 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 body
allOflist 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 to the
response propertyallOflist for the response status - info
removed the
PROTECTEDenum value from theresponse property for the response status - info
removed the
PUBLICenum value from theresponse property for the response status - info
removed the
SECRETenum value from theresponse property for the response status - info
added the success response with the status
- breaking
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info