Version: 5.3.0, Pinterest developer documentation main page
Pinterest's REST API
View analytical information about advertising.
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 use the current operation_user_account's permissions to those Ad Accounts by including the ad_account_id in the path parameters for the request (e.g. .../?ad_account_id=12345&...).
Operation | Description |
---|---|
GET /ad_accounts | List ad accounts |
GET /ad_accounts/{ad_account_id}/analytics | Get ad account analytics |
GET /ad_accounts/{ad_account_id}/campaigns | List campaigns |
GET /ad_accounts/{ad_account_id}/campaigns/analytics | Get campaign analytics |
GET /ad_accounts/{ad_account_id}/ad_groups | List ad groups |
GET /ad_accounts/{ad_account_id}/ad_groups/analytics | Get ad group analytics |
GET /ad_accounts/{ad_account_id}/ads | List ads |
GET /ad_accounts/{ad_account_id}/ads/analytics | Get ad analytics |
GET /ad_accounts/{ad_account_id}/product_groups/analytics | Get product group analytics |
GET /ad_accounts/{ad_account_id}/reports | Get the account analytics report created by the async call |
POST /ad_accounts/{ad_account_id}/reports | Create async request for an account analytics report |
View, create, update, or delete information about boards.
Operation | Description |
---|---|
GET /boards | List boards |
POST /boards | Create board |
GET /boards/{board_id} | Get board |
PATCH /boards/{board_id} | Update board |
DELETE /boards/{board_id} | Delete board |
GET /boards/{board_id}/sections | List board sections |
POST /boards/{board_id}/sections | Create board section |
PATCH /boards/{board_id}/sections/{section_id} | Update board section |
DELETE /boards/{board_id}/sections/{section_id} | Delete board section |
GET /boards/{board_id}/sections/{section_id}/pins | List Pins on board section |
GET /boards/{board_id}/pins | List Pins on board |
Manage information about shopping product catalogs and items.
Operation | Description |
---|---|
GET /catalogs/feeds | List feeds |
POST /catalogs/feeds | Create feed |
GET /catalogs/feeds/{feed_id} | Get feed |
PATCH /catalogs/feeds/{feed_id} | Update feed |
DELETE /catalogs/feeds/{feed_id} | Delete feed |
GET /catalogs/feeds/{feed_id}/processing_results | List processing results for a given feed |
GET /catalogs/items | Get catalogs items |
GET /catalogs/items/batch/{batch_id} | Get catalogs items batch |
POST /catalogs/items/batch | Perform an operation on an item batch |
DELETE /catalogs/product_groups/{product_group_id} | Delete product group |
PATCH /catalogs/product_groups/{product_group_id} | Update product group |
GET /catalogs/product_groups | Get product groups list |
POST /catalogs/product_groups | Create product group |
Register and manage media uploads.
Operation | Description |
---|---|
GET /media | List media uploads |
POST /media | Register media upload |
GET /media/{media_id} | Get media upload details |
Generating and refreshing OAuth access tokens.
Operation | Description |
---|---|
POST /oauth/token | Generate OAuth access token |
View, create, update, or delete information about Pins.
Operation | Description |
---|---|
POST /pins | Create Pin |
GET /pins/{pin_id} | Get Pin |
DELETE /pins/{pin_id} | Delete Pin |
GET /pins/{pin_id}/analytics | Get Pin analytics |
Read-only information about user accounts associated with a given access token.
Operation | Description |
---|---|
GET /user_account | Get user account |
GET /user_account/analytics | Get user account analytics |
Get a list of the ad_accounts that the "operation user_account" has access to.
bookmark | Cursor used to fetch the next page of items |
query | object | #/components/parameters/query_bookmark |
page_size | Maximum number of items to include in a single page of the response. See documentation on Pagination for more information. |
query | object | #/components/parameters/query_page_size |
include_shared_accounts | Include shared ad accounts |
query | object | #/components/parameters/query_include_shared_accounts |
response
Unexpected error
pinterest_oauth2 | ads:read |
Get a list of the ad groups in the specified ad_account_id
, filtered by the specified options.
ad_account_id | Unique identifier of an ad account. |
path | object | #/components/parameters/path_ad_account_id |
campaign_ids | List of Campaign Ids to use to filter the results. |
query | object | #/components/parameters/query_campaign_ids |
ad_group_ids | List of Ad group Ids to use to filter the results. |
query | object | #/components/parameters/query_ad_group_ids |
entity_statuses | Entity status |
query | object | #/components/parameters/query_entity_statuses |
page_size | Maximum number of items to include in a single page of the response. See documentation on Pagination for more information. |
query | object | #/components/parameters/query_page_size |
order | The order in which to sort the items returned: “ASCENDING” or “DESCENDING” by ID. Note that higher-value IDs are associated with more-recently added items. |
query | object | #/components/parameters/query_order |
bookmark | Cursor used to fetch the next page of items |
query | object | #/components/parameters/query_bookmark |
translate_interests_to_names | Return interests as text names (if value is true) rather than topic IDs. |
query | object | #/components/parameters/query_translate_interests_to_names |
Success
Invalid ad account group parameters.
Unexpected error
pinterest_oauth2 | ads:read |
Get analytics for the specified ad groups in the specified ad_account_id
, filtered by the specified options.
ad_account_id | Unique identifier of an ad account. |
path | object | #/components/parameters/path_ad_account_id |
start_date | Metric report start date (UTC). Format: YYYY-MM-DD |
query | object | #/components/parameters/query_start_date |
end_date | Metric report end date (UTC). Format: YYYY-MM-DD |
query | object | #/components/parameters/query_end_date |
ad_group_ids | List of Ad group Ids to use to filter the results. |
query | object | #/components/parameters/query_ad_group_ids_required |
columns | Columns to retrieve. NOTE: Any metrics defined as MICRO_DOLLARS returns a value based on the advertiser profile's currency field. For USD,($1/1,000,000, or $0.000001 - one one-ten-thousandth of a cent). it's microdollars. Otherwise, it's in microunits of the advertiser's currency. |
query | object | #/components/parameters/query_columns |
granularity | Granularity |
query | object | #/components/parameters/query_granularity |
click_window_days | Number of days to use as the conversion attribution window for a pin click action. Applies to Pinterest Tag conversion metrics. Prior conversion tags use their defined attribution windows. If not specified, defaults to |
query | object | #/components/parameters/query_conversion_attribution_click_window_days |
engagement_window_days | Number of days to use as the conversion attribution window for an engagement action. Engagements include saves, closeups, link clicks, and carousel card swipes. Applies to Pinterest Tag conversion metrics. Prior conversion tags use their defined attribution windows. If not specified, defaults to |
query | object | #/components/parameters/query_conversion_attribution_engagement_window_days |
view_window_days | Number of days to use as the conversion attribution window for a view action. Applies to Pinterest Tag conversion metrics. Prior conversion tags use their defined attribution windows. If not specified, defaults to |
query | object | #/components/parameters/query_conversion_attribution_view_window_days |
conversion_report_time | The date by which the conversion metrics returned from this endpoint will be reported. There are two dates associated with a conversion event: the date that the user interacted with the ad, and the date that the user completed a conversion event. |
query | object | #/components/parameters/query_conversion_attribution_conversion_report_time |
Success
Invalid ad account group analytics parameters.
Unexpected error
pinterest_oauth2 | ads:read |
Get a list of the ads in the specified ad_account_id
, filtered by the specified options.
ad_account_id | Unique identifier of an ad account. |
path | object | #/components/parameters/path_ad_account_id |
campaign_ids | List of Campaign Ids to use to filter the results. |
query | object | #/components/parameters/query_campaign_ids |
ad_group_ids | List of Ad group Ids to use to filter the results. |
query | object | #/components/parameters/query_ad_group_ids |
ad_ids | List of Ad Ids to use to filter the results. |
query | object | #/components/parameters/query_ad_ids |
entity_statuses | Entity status |
query | object | #/components/parameters/query_entity_statuses |
page_size | Maximum number of items to include in a single page of the response. See documentation on Pagination for more information. |
query | object | #/components/parameters/query_page_size |
order | The order in which to sort the items returned: “ASCENDING” or “DESCENDING” by ID. Note that higher-value IDs are associated with more-recently added items. |
query | object | #/components/parameters/query_order |
bookmark | Cursor used to fetch the next page of items |
query | object | #/components/parameters/query_bookmark |
Success
Invalid ad account ads parameters.
Unexpected error
pinterest_oauth2 | ads:read |
Get analytics for the specified ads in the specified ad_account_id
, filtered by the specified options.
ad_account_id | Unique identifier of an ad account. |
path | object | #/components/parameters/path_ad_account_id |
start_date | Metric report start date (UTC). Format: YYYY-MM-DD |
query | object | #/components/parameters/query_start_date |
end_date | Metric report end date (UTC). Format: YYYY-MM-DD |
query | object | #/components/parameters/query_end_date |
ad_ids | List of Ad Ids to use to filter the results. |
query | object | #/components/parameters/query_ad_ids_required |
columns | Columns to retrieve. NOTE: Any metrics defined as MICRO_DOLLARS returns a value based on the advertiser profile's currency field. For USD,($1/1,000,000, or $0.000001 - one one-ten-thousandth of a cent). it's microdollars. Otherwise, it's in microunits of the advertiser's currency. |
query | object | #/components/parameters/query_columns |
granularity | Granularity |
query | object | #/components/parameters/query_granularity |
click_window_days | Number of days to use as the conversion attribution window for a pin click action. Applies to Pinterest Tag conversion metrics. Prior conversion tags use their defined attribution windows. If not specified, defaults to |
query | object | #/components/parameters/query_conversion_attribution_click_window_days |
engagement_window_days | Number of days to use as the conversion attribution window for an engagement action. Engagements include saves, closeups, link clicks, and carousel card swipes. Applies to Pinterest Tag conversion metrics. Prior conversion tags use their defined attribution windows. If not specified, defaults to |
query | object | #/components/parameters/query_conversion_attribution_engagement_window_days |
view_window_days | Number of days to use as the conversion attribution window for a view action. Applies to Pinterest Tag conversion metrics. Prior conversion tags use their defined attribution windows. If not specified, defaults to |
query | object | #/components/parameters/query_conversion_attribution_view_window_days |
conversion_report_time | The date by which the conversion metrics returned from this endpoint will be reported. There are two dates associated with a conversion event: the date that the user interacted with the ad, and the date that the user completed a conversion event. |
query | object | #/components/parameters/query_conversion_attribution_conversion_report_time |
Success
Invalid ad account ads analytics parameters.
Unexpected error
pinterest_oauth2 | ads:read |
Get analytics for the specified ad_account_id
, filtered by the specified options.
ad_account_id | Unique identifier of an ad account. |
path | object | #/components/parameters/path_ad_account_id |
start_date | Metric report start date (UTC). Format: YYYY-MM-DD |
query | object | #/components/parameters/query_start_date |
end_date | Metric report end date (UTC). Format: YYYY-MM-DD |
query | object | #/components/parameters/query_end_date |
columns | Columns to retrieve. NOTE: Any metrics defined as MICRO_DOLLARS returns a value based on the advertiser profile's currency field. For USD,($1/1,000,000, or $0.000001 - one one-ten-thousandth of a cent). it's microdollars. Otherwise, it's in microunits of the advertiser's currency. |
query | object | #/components/parameters/query_columns |
granularity | Granularity |
query | object | #/components/parameters/query_granularity |
click_window_days | Number of days to use as the conversion attribution window for a pin click action. Applies to Pinterest Tag conversion metrics. Prior conversion tags use their defined attribution windows. If not specified, defaults to |
query | object | #/components/parameters/query_conversion_attribution_click_window_days |
engagement_window_days | Number of days to use as the conversion attribution window for an engagement action. Engagements include saves, closeups, link clicks, and carousel card swipes. Applies to Pinterest Tag conversion metrics. Prior conversion tags use their defined attribution windows. If not specified, defaults to |
query | object | #/components/parameters/query_conversion_attribution_engagement_window_days |
view_window_days | Number of days to use as the conversion attribution window for a view action. Applies to Pinterest Tag conversion metrics. Prior conversion tags use their defined attribution windows. If not specified, defaults to |
query | object | #/components/parameters/query_conversion_attribution_view_window_days |
conversion_report_time | The date by which the conversion metrics returned from this endpoint will be reported. There are two dates associated with a conversion event: the date that the user interacted with the ad, and the date that the user completed a conversion event. |
query | object | #/components/parameters/query_conversion_attribution_conversion_report_time |
Success
Invalid ad account analytics parameters.
Unexpected error
pinterest_oauth2 | ads:read |
Get a list of the campaigns in the specified ad_account_id
, filtered by the specified options.
ad_account_id | Unique identifier of an ad account. |
path | object | #/components/parameters/path_ad_account_id |
campaign_ids | List of Campaign Ids to use to filter the results. |
query | object | #/components/parameters/query_campaign_ids |
entity_statuses | Entity status |
query | object | #/components/parameters/query_entity_statuses |
page_size | Maximum number of items to include in a single page of the response. See documentation on Pagination for more information. |
query | object | #/components/parameters/query_page_size |
order | The order in which to sort the items returned: “ASCENDING” or “DESCENDING” by ID. Note that higher-value IDs are associated with more-recently added items. |
query | object | #/components/parameters/query_order |
bookmark | Cursor used to fetch the next page of items |
query | object | #/components/parameters/query_bookmark |
Success
Invalid ad account campaign parameters.
Unexpected error
pinterest_oauth2 | ads:read |
Get analytics for the specified campaigns in the specified ad_account_id
, filtered by the specified options.
ad_account_id | Unique identifier of an ad account. |
path | object | #/components/parameters/path_ad_account_id |
start_date | Metric report start date (UTC). Format: YYYY-MM-DD |
query | object | #/components/parameters/query_start_date |
end_date | Metric report end date (UTC). Format: YYYY-MM-DD |
query | object | #/components/parameters/query_end_date |
campaign_ids | List of Campaign Ids to use to filter the results. |
query | object | #/components/parameters/query_campaign_ids_required |
columns | Columns to retrieve. NOTE: Any metrics defined as MICRO_DOLLARS returns a value based on the advertiser profile's currency field. For USD,($1/1,000,000, or $0.000001 - one one-ten-thousandth of a cent). it's microdollars. Otherwise, it's in microunits of the advertiser's currency. |
query | object | #/components/parameters/query_columns |
granularity | Granularity |
query | object | #/components/parameters/query_granularity |
click_window_days | Number of days to use as the conversion attribution window for a pin click action. Applies to Pinterest Tag conversion metrics. Prior conversion tags use their defined attribution windows. If not specified, defaults to |
query | object | #/components/parameters/query_conversion_attribution_click_window_days |
engagement_window_days | Number of days to use as the conversion attribution window for an engagement action. Engagements include saves, closeups, link clicks, and carousel card swipes. Applies to Pinterest Tag conversion metrics. Prior conversion tags use their defined attribution windows. If not specified, defaults to |
query | object | #/components/parameters/query_conversion_attribution_engagement_window_days |
view_window_days | Number of days to use as the conversion attribution window for a view action. Applies to Pinterest Tag conversion metrics. Prior conversion tags use their defined attribution windows. If not specified, defaults to |
query | object | #/components/parameters/query_conversion_attribution_view_window_days |
conversion_report_time | The date by which the conversion metrics returned from this endpoint will be reported. There are two dates associated with a conversion event: the date that the user interacted with the ad, and the date that the user completed a conversion event. |
query | object | #/components/parameters/query_conversion_attribution_conversion_report_time |
Success
Invalid ad account campaign analytics parameters.
Unexpected error
pinterest_oauth2 | ads:read |
Get analytics for the specified product groups in the specified ad_account_id
, filtered by the specified options.
ad_account_id | Unique identifier of an ad account. |
path | object | #/components/parameters/path_ad_account_id |
start_date | Metric report start date (UTC). Format: YYYY-MM-DD |
query | object | #/components/parameters/query_start_date |
end_date | Metric report end date (UTC). Format: YYYY-MM-DD |
query | object | #/components/parameters/query_end_date |
product_group_ids | List of Product group Ids to use to filter the results. |
query | object | #/components/parameters/query_product_group_ids_required |
columns | Columns to retrieve. NOTE: Any metrics defined as MICRO_DOLLARS returns a value based on the advertiser profile's currency field. For USD,($1/1,000,000, or $0.000001 - one one-ten-thousandth of a cent). it's microdollars. Otherwise, it's in microunits of the advertiser's currency. |
query | object | #/components/parameters/query_columns |
granularity | Granularity |
query | object | #/components/parameters/query_granularity |
click_window_days | Number of days to use as the conversion attribution window for a pin click action. Applies to Pinterest Tag conversion metrics. Prior conversion tags use their defined attribution windows. If not specified, defaults to |
query | object | #/components/parameters/query_conversion_attribution_click_window_days |
engagement_window_days | Number of days to use as the conversion attribution window for an engagement action. Engagements include saves, closeups, link clicks, and carousel card swipes. Applies to Pinterest Tag conversion metrics. Prior conversion tags use their defined attribution windows. If not specified, defaults to |
query | object | #/components/parameters/query_conversion_attribution_engagement_window_days |
view_window_days | Number of days to use as the conversion attribution window for a view action. Applies to Pinterest Tag conversion metrics. Prior conversion tags use their defined attribution windows. If not specified, defaults to |
query | object | #/components/parameters/query_conversion_attribution_view_window_days |
conversion_report_time | The date by which the conversion metrics returned from this endpoint will be reported. There are two dates associated with a conversion event: the date that the user interacted with the ad, and the date that the user completed a conversion event. |
query | object | #/components/parameters/query_conversion_attribution_conversion_report_time |
Success
Invalid ad account ads analytics parameters.
Unexpected error
pinterest_oauth2 | ads:read |
This returns a URL to an analytics report given a token returned from the post request report creation call. You can use the URL to download the report and it's valid for an hour.
ad_account_id | Unique identifier of an ad account. |
path | object | #/components/parameters/path_ad_account_id |
token | Token returned from the post request creation call |
query | object | #/components/parameters/query_token_required |
Success
Invalid ad account ads analytics parameters.
Unexpected error
pinterest_oauth2 | ads:read |
This returns a token that you can use to download the report when it is ready. Note that this endpoint requires the parameters to be passed as JSON-formatted in the request body. This endpoint does not support URL query parameters.
ad_account_id | Unique identifier of an ad account. |
path | object | #/components/parameters/path_ad_account_id |
Success
Invalid ad account ads analytics parameters.
Unexpected error
pinterest_oauth2 | ads:read |
Get a list of the boards owned by the "operation user_account" + group boards where this account is a collaborator
Optional: Specify a privacy type (public, protected, or secret) to indicate which boards to return.
bookmark | Cursor used to fetch the next page of items |
query | object | #/components/parameters/query_bookmark |
page_size | Maximum number of items to include in a single page of the response. See documentation on Pagination for more information. |
query | object | #/components/parameters/query_page_size |
privacy | Privacy setting for a board. |
query | object |
response
Unexpected error
pinterest_oauth2 | boards:read |
Create a board owned by the "operation user_account".
response
The board name is invalid or duplicated.
Unexpected error
pinterest_oauth2 | boards:read , boards:write |
Delete a board owned by the "operation user_account".
board_id | Unique identifier of a board. |
path | object | #/components/parameters/path_board_id |
Board deleted successfully
Not authorized to delete the board.
Board not found.
Could not get exclusive access to delete the board.
This request exceeded a rate limit. This can happen if the client exceeds one of the published rate limits or if multiple write operations are applied to an object within a short time window.
Unexpected error
pinterest_oauth2 | boards:read , boards:write |
Get a board owned by the operation user_account - or a group board that has been shared with this account.
board_id | Unique identifier of a board. |
path | object | #/components/parameters/path_board_id |
response
Board not found.
Unexpected error
pinterest_oauth2 | boards:read |
Update a board owned by the "operating user_account".
board_id | Unique identifier of a board. |
path | object | #/components/parameters/path_board_id |
response
Invalid board parameters.
Not authorized to update the board.
This request exceeded a rate limit. This can happen if the client exceeds one of the published rate limits or if multiple write operations are applied to an object within a short time window.
Unexpected error
pinterest_oauth2 | boards:read , boards:write |
Get a list of the Pins on a board owned by the "operation user_account" - or on a group board that has been shared with this account.
board_id | Unique identifier of a board. |
path | object | #/components/parameters/path_board_id |
bookmark | Cursor used to fetch the next page of items |
query | object | #/components/parameters/query_bookmark |
page_size | Maximum number of items to include in a single page of the response. See documentation on Pagination for more information. |
query | object | #/components/parameters/query_page_size |
response
Board not found.
Unexpected error
pinterest_oauth2 | boards:read , pins:read |
Get a list of all board sections from a board owned by the "operation user_account" - or a group board that has been shared with this account.
board_id | Unique identifier of a board. |
path | object | #/components/parameters/path_board_id |
bookmark | Cursor used to fetch the next page of items |
query | object | #/components/parameters/query_bookmark |
page_size | Maximum number of items to include in a single page of the response. See documentation on Pagination for more information. |
query | object | #/components/parameters/query_page_size |
response
Unexpected error
pinterest_oauth2 | boards:read |
Create a board section on a board owned by the "operation user_account" - or on a group board that has been shared with this account.
board_id | Unique identifier of a board. |
path | object | #/components/parameters/path_board_id |
response
Invalid board section parameters.
Not authorized to create board sections.
Could not get exclusive access to the board to create a new section.
Could not create a new board section.
Unexpected error
pinterest_oauth2 | boards:read , boards:write |
Delete a board section on a board owned by the "operation user_account" - or on a group board that has been shared with this account.
board_id | Unique identifier of a board. |
path | object | #/components/parameters/path_board_id |
section_id | Unique identifier of a board section. |
path | object | #/components/parameters/path_board_section_id |
Board section deleted successfully
Not authorized to delete board section.
Board section not found.
Board section conflict.
Unexpected error
pinterest_oauth2 | boards:read , boards:write |
Update a board section on a board owned by the "operation user_account" - or on a group board that has been shared with this account.
board_id | Unique identifier of a board. |
path | object | #/components/parameters/path_board_id |
section_id | Unique identifier of a board section. |
path | object | #/components/parameters/path_board_section_id |
response
Invalid board section parameters.
Not authorized to update board section.
Board section conflict.
Unexpected error
pinterest_oauth2 | boards:read , boards:write |
Get a list of the Pins on a board section of a board owned by the "operation user_account" - or on a group board that has been shared with this account.
board_id | Unique identifier of a board. |
path | object | #/components/parameters/path_board_id |
section_id | Unique identifier of a board section. |
path | object | #/components/parameters/path_board_section_id |
bookmark | Cursor used to fetch the next page of items |
query | object | #/components/parameters/query_bookmark |
page_size | Maximum number of items to include in a single page of the response. See documentation on Pagination for more information. |
query | object | #/components/parameters/query_page_size |
response
Not authorized to access Pins on board section.
Board or section not found.
Board section conflict.
Unexpected error
pinterest_oauth2 | boards:read , pins:read |
This endpoint is currently in beta and not available to all apps. Learn more.
Fetch feeds owned by the "operating user_account".
bookmark | Cursor used to fetch the next page of items |
query | object | #/components/parameters/query_bookmark |
page_size | Maximum number of items to include in a single page of the response. See documentation on Pagination for more information. |
query | object | #/components/parameters/query_page_size |
Success
Invalid parameters.
Unauthorized access.
Unexpected error.
pinterest_oauth2 | catalogs:read |
This endpoint is currently in beta and not available to all apps. Learn more.
Create a new feed owned by the "operating user_account".
Success
Invalid feed parameters.
Unauthorized access.
Business account required.
User website required.
Unique feed name is required.
Unexpected error
pinterest_oauth2 | catalogs:read , catalogs:write |
This endpoint is currently in beta and not available to all apps. Learn more.
Delete a feed owned by the "operating user_account".
feed_id | Unique identifier of a feed |
path | object | #/components/parameters/path_catalogs_feed_id |
Feed deleted successfully.
Invalid feed parameters.
Forbidden. Account not approved for feed mutations yet.
Data feed not found.
Conflict. Can't delete a feed with active promotions.
Unexpected error
pinterest_oauth2 | catalogs:read , catalogs:write |
This endpoint is currently in beta and not available to all apps. Learn more.
Get a single feed owned by the "operating user_account".
feed_id | Unique identifier of a feed |
path | object | #/components/parameters/path_catalogs_feed_id |
Success
Invalid feed parameters.
Unauthorized access.
Data feed not found.
Unexpected error.
pinterest_oauth2 | catalogs:read |
This endpoint is currently in beta and not available to all apps. Learn more.
Update a feed owned by the "operating user_account".
feed_id | Unique identifier of a feed |
path | object | #/components/parameters/path_catalogs_feed_id |
Success
Invalid feed parameters.
Forbidden. Account not approved for feed mutations yet.
Data feed not found.
Unexpected error
pinterest_oauth2 | catalogs:read , catalogs:write |
This endpoint is currently in beta and not available to all apps. Learn more.
Fetch a feed processing results owned by the owner user account.
feed_id | Unique identifier of a feed |
path | object | #/components/parameters/path_catalogs_feed_id |
bookmark | Cursor used to fetch the next page of items |
query | object | #/components/parameters/query_bookmark |
page_size | Maximum number of items to include in a single page of the response. See documentation on Pagination for more information. |
query | object | #/components/parameters/query_page_size |
Success
Invalid parameters.
Unauthorized access.
Feed not found.
Unexpected error.
pinterest_oauth2 | catalogs:read |
Get the items of the catalog created by the "operating user_account"
country | Country for the Catalogs Items |
query | object | #/components/parameters/query_catalogs_items_country |
item_ids | Catalos Item ids |
query | object | #/components/parameters/query_catalogs_items |
language | Language for the Catalogs Items |
query | object | #/components/parameters/query_catalogs_items_language |
Response containing the requested catalogs items
Not authorized to access catalogs items
Not authorized to access catalogs items
Unexpected error
pinterest_oauth2 | catalogs:read |
This endpoint is currently in beta and not available to all apps. Learn more.
This endpoint supports multiple operations on a set of one or more catalog items.
Response containing the requested catalogs items batch
Not authorized to post catalogs items
Not authorized to post catalogs items
Unexpected error
pinterest_oauth2 | catalogs:read , catalogs:write |
This endpoint is currently in beta and not available to all apps. Learn more.
Get a single catalogs items batch created by the "operating user_account".
batch_id | Id of a catalogs items batch to fetch |
path | object | #/components/parameters/path_catalogs_items_batch_id |
Response containing the requested catalogs items batch
Not authorized to access catalogs items batch
Not authorized to access catalogs items batch
Catalogs items batch not found
Unexpected error
pinterest_oauth2 | catalogs:read |
This endpoint is currently in beta and not available to all apps. Learn more.
Get a list of product groups for a given Catalogs Feed Id.
feed_id | Unique identifier of a feed |
query | object | #/components/parameters/query_catalogs_feed_id |
bookmark | Cursor used to fetch the next page of items |
query | object | #/components/parameters/query_bookmark |
page_size | Maximum number of items to include in a single page of the response. See documentation on Pagination for more information. |
query | object | #/components/parameters/query_page_size |
Success
Invalid feed parameters.
Unauthorized access.
Forbidden. Account not approved for feed mutations yet.
Data feed not found.
Conflict. Can't create this catalogs product group with this value.
Unexpected error.
pinterest_oauth2 | catalogs:read |
This endpoint is currently in beta and not available to all apps. Learn more.
Create product group to use in Catalogs.
Success
Invalid body.
Unauthorized access.
Forbidden. Account not approved for feed mutations yet.
Conflict. Can't create this catalogs product group with this value.
Unexpected error.
pinterest_oauth2 | catalogs:write |
This endpoint is currently in beta and not available to all apps. Learn more.
Delete a product group from being in use in Catalogs.
product_group_id | Unique identifier of a product group |
path | object | #/components/parameters/path_catalogs_product_group_id |
Catalogs Product Group deleted successfully.
Invalid catalogs product group id parameters.
Unauthorized access.
Forbidden. Account not approved for feed mutations yet.
Catalogs product group not found.
Conflict. Can't delete this catalogs product group.
Unexpected error.
pinterest_oauth2 | catalogs:write |
This endpoint is currently in beta and not available to all apps. Learn more.
Update product group to use in Catalogs.
product_group_id | Unique identifier of a product group |
path | object | #/components/parameters/path_catalogs_product_group_id |
Success
Invalid parameters.
Unauthorized access.
Catalogs product group not found.
Conflict. Can't update this catalogs product group to this value.
Unexpected error.
pinterest_oauth2 | catalogs:write |
List media uploads filtered by given parameters.
Learn more about video Pin creation.
bookmark | Cursor used to fetch the next page of items |
query | object | #/components/parameters/query_bookmark |
page_size | Maximum number of items to include in a single page of the response. See documentation on Pagination for more information. |
query | object | #/components/parameters/query_page_size |
response
Unexpected error
pinterest_oauth2 | pins:read |
Register your intent to upload media
The response includes all of the information needed to upload the media to Pinterest.
To upload the media, make an HTTP POST request (using curl, for example) to upload_url using the Content-Type header value. Send the media file's contents as the request's file parameter and also include all of the parameters from upload_parameters.
Learn more about video Pin creation.
response
Unexpected error
pinterest_oauth2 | pins:read , pins:write |
Get details for a registered media upload, including its current status.
Learn more about video Pin creation.
media_id | Media identifier |
path | object | #/components/parameters/path_media_id |
response
Media upload not found
Unexpected error
pinterest_oauth2 | pins:read |
Generate an OAuth access token by using an authorization code or a refresh token.
See Authentication for more.
response
Unexpected error
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 operation_user_account's permissions to those Ad Accounts by including the ad_account_id in the path parameters for the request (e.g. .../?ad_account_id=12345&...).
Learn more about video Pin creation.
Successful pin creation.
Invalid Pin parameters response
The Pin's image is too small, too large or is broken
Board or section not found
This request exceeded a rate limit. This can happen if the client exceeds one of the published rate limits or if multiple write operations are applied to an object within a short time window.
Unexpected error
pinterest_oauth2 | boards:read , boards:write , pins:read , pins:write |
Delete a Pins owned by the "operation user_account" - or on a group board that has been shared with this account.
pin_id | Unique identifier of a Pin. |
path | object | #/components/parameters/path_pin_id |
Successfully deleted Pin
Not authorized to access board or Pin.
Pin not found.
Unexpected error
pinterest_oauth2 | boards:read , boards:write , pins:read , pins:write |
Get a Pin owned by the "operation user_account" - or on a group board that has been shared with this 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:
pin_id | Unique identifier of a Pin. |
path | object | #/components/parameters/path_pin_id |
ad_account_id | Unique identifier of an ad account. |
query | object | #/components/parameters/query_ad_account_id |
response
Not authorized to access board or Pin.
Pin not found.
Unexpected error
pinterest_oauth2 | boards:read , pins:read |
Get analytics for a Pin owned by the "operation user_account" - or on a group board that has been shared with this 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:
pin_id | Unique identifier of a Pin. |
path | object | #/components/parameters/path_pin_id |
start_date | Metric report start date (UTC). Format: YYYY-MM-DD |
query | object | #/components/parameters/query_start_date |
end_date | Metric report end date (UTC). Format: YYYY-MM-DD |
query | object | #/components/parameters/query_end_date |
app_types | Apps or devices to get data for, default is all. |
query | object | #/components/parameters/query_app_types |
metric_types | Pin metric types to get data for, default is all. |
query | object | #/components/parameters/query_pin_analytics_metric_types |
split_field | How to split the data into groups. Not including this param means data won't be split. |
query | object | #/components/parameters/query_split_field_pins |
ad_account_id | Unique identifier of an ad account. |
query | object | #/components/parameters/query_ad_account_id |
response
Not authorized to access board or Pin.
Pin not found.
Unexpected error
pinterest_oauth2 | boards:read , pins:read |
Get account information for the "operation 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.
ad_account_id | Unique identifier of an ad account. |
query | object | #/components/parameters/query_ad_account_id |
response
Not authorized to access the user account.
Unexpected error
pinterest_oauth2 | user_accounts:read |
Get analytics for 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".
start_date | Metric report start date (UTC). Format: YYYY-MM-DD |
query | object | #/components/parameters/query_start_date |
end_date | Metric report end date (UTC). Format: YYYY-MM-DD |
query | object | #/components/parameters/query_end_date |
from_claimed_content | Filter on Pins that match your claimed domain. |
query | object | #/components/parameters/query_from_claimed_content |
pin_format | Pin formats to get data for, default is all. |
query | object | #/components/parameters/query_pin_format |
app_types | Apps or devices to get data for, default is all. |
query | object | #/components/parameters/query_app_types |
metric_types | Metric types to get data for, default is all. |
query | object | #/components/parameters/query_metric_types |
split_field | How to split the data into groups. Not including this param means data won't be split. |
query | object | #/components/parameters/query_split_field_user_account |
ad_account_id | Unique identifier of an ad account. |
query | object | #/components/parameters/query_ad_account_id |
Success
Not authorized to access the user account analytics.
Unexpected error
pinterest_oauth2 | user_accounts:read |