Save Pin
Save a Pin on a board or board section owned by the "operation user_account".
-
By default, the "operation user_account" is the token user_account. Optional: Business Access: Specify an ad_account_id (obtained via List ad accounts) to use the owner of that ad_account as the "operation user_account". In order to do this, the token user_account must have one of the following Business Access roles on the ad_account:
-
For Pins on public or protected boards: Owner, Admin, Analyst, Campaign Manager.
-
For Pins on secret boards: Owner, Admin.
-
Any Pin type can be saved: image Pin, video Pin, Idea Pin, product Pin, etc.
-
Any public Pin can be saved given a pin ID.
Path parameters
Unique identifier of a Pin.
Query parameters
Unique identifier of an ad account.
Request body
Response
The request has succeeded and a new resource has been created as a result.
Example response
{
"media": {
"images": {
"150x150": {
"width": 150,
"height": 150,
"url": "https://i.pinimg.com/150x150/0d/f6/f1/0df6f1f0bfe7aaca849c1bbc3607a34b.jpg"
},
"400x300": {
"width": 400,
"height": 300,
"url": "https://i.pinimg.com/400x300/0d/f6/f1/0df6f1f0bfe7aaca849c1bbc3607a34b.jpg"
},
"600x": {
"width": 600,
"height": 600,
"url": "https://i.pinimg.com/600x/0d/f6/f1/0df6f1f0bfe7aaca849c1bbc3607a34b.jpg"
},
"1200x": {
"width": 1200,
"height": 1200,
"url": "https://i.pinimg.com/1200x/0d/f6/f1/0df6f1f0bfe7aaca849c1bbc3607a34b.jpg"
}
}
},
"pin_metrics": {
"90d": {
"pin_click": 7,
"impression": 2,
"clickthrough": 3
},
"lifetime_metrics": {
"pin_click": 7,
"impression": 2,
"clickthrough": 3,
"reaction": 10,
"comment": 2
}
}
}Changes
Changed in 12 of the 29 revisions of this API.121937
- ▲
removed the required property
idfrom the response with the201statusresponse-required-property-removed
- ●
removed the optional property
board_idfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
board_ownerfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
board_section_idfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
created_atfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
creative_typefrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
dominant_colorfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
has_been_promotedfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
is_ownerfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
is_standardfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
mediafrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
parent_pin_idfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
pin_metricsfrom the response with the201statusresponse-optional-property-removed
- ○
added
PinBaseto the response bodyallOflist for the response status201response-body-all-of-added
- ○
added the non-success response with the status
400response-non-success-status-added
- ○
added the non-success response with the status
401response-non-success-status-added
- ○
added the non-success response with the status
429response-non-success-status-added
This revision also has 182 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
removed the optional property
notefrom the response with the201statusresponse-optional-property-removed
- ●
added the new
COLLAGEenum value to thecreative_type/allOf[subschema #1: CreativeType enum used ads]/response property for the response status201response-property-enum-value-added
- ●
added the new
MAX_WIDTH_REGULAR_COLLECTIONenum value to thecreative_type/allOf[subschema #1: CreativeType enum used ads]/response property for the response status201response-property-enum-value-added
- ●
added the new
MAX_WIDTH_VIDEO_COLLECTIONenum value to thecreative_type/allOf[subschema #1: CreativeType enum used ads]/response property for the response status201response-property-enum-value-added
This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ▲
added
PinMediaWithImagePinMediaWithVideoPinMediaWithImagesPinMediaWithVideosPinMediaWithImageAndVideoto themedia/allOf[subschema #1: Pin media -> subschema #1: Pin media response object.]/response propertyoneOflist for the response status201response-property-one-of-added
- ▲
the
board_ownerresponse's property type/format changed fromobject/to/for status201response-property-type-changed
- ▲
the
creative_typeresponse's property type/format changed fromstring/to/for status201response-property-type-changed
- ▲
the
mediaresponse's property type/format changed fromobject/to/for status201response-property-type-changed
- ●
removed the optional property
is_removablefrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
product_tagsfrom the response with the201statusresponse-optional-property-removed
- ○
the response optional property
idbecame not read-only for the status201response-optional-property-became-not-read-only
- ○
the response optional property
is_standardbecame read-only for the status201response-optional-property-became-read-only
- ○
the response optional property
pin_metricsbecame read-only for the status201response-optional-property-became-read-only
- ○
removed the optional write-only property
media_sourcefrom the response with the201statusresponse-optional-write-only-property-removed
- ○
removed
PinMediaBasesubschema #2from themedia/allOf[subschema #1: Pin media -> subschema #1: Pin media response object.]/response propertyallOflist for the response status201response-property-all-of-removed
- ○
the response property
idbecame required for the status201response-property-became-required
- ○
added discriminator to
media/allOf[subschema #1: Pin media -> subschema #1: Pin media response object.]/response property for the response status201response-property-discriminator-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the optional property
is_removableto the response with the201statusresponse-optional-property-added
- ○
added the optional property
product_tagsto the response with the201statusresponse-optional-property-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
removed the optional property
media/allOf[subschema #1: Pin media]/media_typefrom the response with the201statusresponse-optional-property-removed
- ○
added the optional property
media_source/allOf[subschema #1: Pin media source]/oneOf[subschema #3: Video ID]/cover_image_key_frame_timeto the response with the201statusresponse-optional-property-added
- ○
added
PinMediaBasesubschema #2to themedia/allOf[subschema #1: Pin media]/response propertyallOflist for the response status201response-property-all-of-added
- ○
removed discriminator from
media/allOf[subschema #1: Pin media]/response property for the response status201response-property-discriminator-removed
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the optional property
pin_metricsto the response with the201statusresponse-optional-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
the request property
board_idbecame nullablerequest-property-became-nullable
- ○
added the optional property
media_source/allOf[subschema #1: Pin media source]/oneOf[subschema #6: Pin URL]/is_affiliate_linkto the response with the201statusresponse-optional-property-added
- ○
- ▲
the response property
media_source/allOf[subschema #1: Pin media source]/oneOf[subschema #3: Video ID]/cover_image_urlbecame optional for the status201response-property-became-optional
- ▲
added
PinMediaSourcePinURLto themedia_source/allOf[subschema #1: Pin media source]/response propertyoneOflist for the response status201response-property-one-of-added
- ○
added the optional property
has_been_promotedto the response with the201statusresponse-optional-property-added
- ○
added the optional property
is_ownerto the response with the201statusresponse-optional-property-added
- ○
added the optional property
is_standardto the response with the201statusresponse-optional-property-added
- ○
added the optional property
media_source/allOf[subschema #1: Pin media source]/oneOf[subschema #3: Video ID]/cover_image_content_typeto the response with the201statusresponse-optional-property-added
- ○
added the optional property
media_source/allOf[subschema #1: Pin media source]/oneOf[subschema #3: Video ID]/cover_image_datato the response with the201statusresponse-optional-property-added
- ○
added the optional property
noteto the response with the201statusresponse-optional-property-added
- ○
added
CreativeTypeto thecreative_typeresponse propertyallOflist for the response status201response-property-all-of-added
- ○
removed
subschema #1: Creative Typefrom thecreative_typeresponse propertyallOflist for the response status201response-property-all-of-removed
- ○
added
pin_urldiscriminator mapping keys to themedia_source/allOf[subschema #1: Pin media source]/response property for the response status201response-property-discriminator-mapping-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the new optional
queryrequest parameterad_account_idnew-optional-request-parameter
- ○
added the optional property
creative_typeto the response with the201statusresponse-optional-property-added
- ○
added the optional property
media_source/allOf[subschema #1: Pin media source]/oneOf[subschema #1: Image Base64]/is_standardto the response with the201statusresponse-optional-property-added
- ○
added the optional property
media_source/allOf[subschema #1: Pin media source]/oneOf[subschema #2: Image URL]/is_standardto the response with the201statusresponse-optional-property-added
- ○
added the optional property
media_source/allOf[subschema #1: Pin media source]/oneOf[subschema #3: Video ID]/is_standardto the response with the201statusresponse-optional-property-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
the
descriptionresponse property's maxLength was unset from500for the response status201response-property-max-length-unset
- ▲
the
titleresponse property's maxLength was unset from100for the response status201response-property-max-length-unset
- ▲
added
PinMediaSourceImagesBase64PinMediaSourceImagesURLto themedia_source/allOf[subschema #1: Pin media source]/response propertyoneOflist for the response status201response-property-one-of-added
- ▲
the
media/allOf[subschema #1: Pin media]/response's property type/format changed from/toobject/for status201response-property-type-changed
- ○
added
multiple_image_base64multiple_image_urlsdiscriminator mapping keys to themedia_source/allOf[subschema #1: Pin media source]/response property for the response status201response-property-discriminator-mapping-added
- ○
the
idresponse's property pattern^\d+$was added for the status201response-property-pattern-added
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲