Create Pin
POST {{baseUrl}}/pins
Create a Pin on a board or board section owned by the operation user_account
.
Note: If the current operation user_account
(defined by the access token) has access to another user's Ad Accounts via Pinterest Business Access, you can modify your request to make use of the current operationuseraccount's permissions to those Ad Accounts by including the adaccountid in the path parameters for the request (e.g. .../?adaccountid=12345&...).
- This function is intended solely for publishing new content created by the user. If you are interested in saving content created by others to your Pinterest boards, sometimes called 'curated content', please use our Save button instead. For more tips on creating fresh content for Pinterest, review our Content App Solutions Guide.
Learn more about video Pin creation.
Request Body
{"link"=>"https://www.pinterest.com/", "title"=>"nulla in", "description"=>"commodo elit", "dominant_color"=>"#6E7874", "alt_text"=>"do amet culpa consectetur", "board_id"=>"7375405", "board_section_id"=>"9723", "media_source"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "parent_pin_id"=>"096444289"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"id":"813744226420795884","created_at":"2020-01-01T20:10:40-00:00","link":"https://www.pinterest.com/","title":"commodo","description":"eiusmod sit minim irure laborum","dominant_color":"#6E7874","alt_text":"culpa minim ullamco","board_id":"1498795","board_section_id":"293","board_owner":{"username":"exercitation magna ut"},"media":{"media_type":"fugiat est id labore"},"parent_pin_id":"3825566"}