Create Pin

POST {{baseUrl}}/pins?ad_account_id=15266090296

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 Params

KeyDatatypeRequiredDescription
ad_account_idnumberUnique identifier of an ad account.

Request Body

{"id"=>"6212908", "created_at"=>"<dateTime>", "link"=>"<string>", "title"=>"<string>", "description"=>"<string>", "dominant_color"=>"<string>", "alt_text"=>"<string>", "board_id"=>"718", "board_section_id"=>"5", "board_owner"=>{"username"=>"<string>"}, "media"=>{"media_type"=>"<string>"}, "media_source"=>{"source_type"=>"image_base64", "content_type"=>"image/jpeg", "data"=>"WFwV", "is_standard"=>true}, "parent_pin_id"=>"4249932898", "note"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;id&quot;:&quot;1594502317&quot;,&quot;created_at&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;link&quot;:&quot;\u003cstring\u003e&quot;,&quot;title&quot;:&quot;\u003cstring\u003e&quot;,&quot;description&quot;:&quot;\u003cstring\u003e&quot;,&quot;dominant_color&quot;:&quot;\u003cstring\u003e&quot;,&quot;alt_text&quot;:&quot;\u003cstring\u003e&quot;,&quot;creative_type&quot;:&quot;SHOWCASE&quot;,&quot;board_id&quot;:&quot;25&quot;,&quot;board_section_id&quot;:&quot;96527540644&quot;,&quot;board_owner&quot;:{&quot;username&quot;:&quot;\u003cstring\u003e&quot;},&quot;is_owner&quot;:&quot;\u003cboolean\u003e&quot;,&quot;media&quot;:{&quot;media_type&quot;:&quot;\u003cstring\u003e&quot;},&quot;media_source&quot;:{&quot;source_type&quot;:&quot;image_base64&quot;,&quot;content_type&quot;:&quot;image/png&quot;,&quot;data&quot;:&quot;6iB1vO3&quot;,&quot;is_standard&quot;:true},&quot;parent_pin_id&quot;:&quot;7082463&quot;,&quot;is_standard&quot;:&quot;\u003cboolean\u003e&quot;,&quot;has_been_promoted&quot;:&quot;\u003cboolean\u003e&quot;,&quot;note&quot;:&quot;\u003cstring\u003e&quot;,&quot;pin_metrics&quot;:{}}