List accounts with access to an audience owned by an ad account
Changed onList all ad accounts and/or businesses that have access to a specific audience. The audience must be owned by the requesting ad account.
Request
- Base URLhttps://api.pinterest.com/v5
- Auth
- OAuth 2Authorization codehttps://www.pinterest.com/oauth/Token URLhttps://api.pinterest.com/v5/oauth/tokenScopesads:read
- or OAuth 2Client credentialsToken URLhttps://api.pinterest.com/v3/oauth/access_token/Scopesads:read
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Unique identifier of an ad account.
Query parameters
Unique identifier of the audience to use to filter the results.
Account type filter for audience sharing.
Filter accounts by account type.
Cursor used to fetch the next page of items
Maximum number of items to include in a single page. See documentation on Pagination for more information.
Response
The request has succeeded.
Example response
{
"items": [
{
"account_id": "549755885175",
"account_name": "Home Depot USA",
"shared_on_timestamp": 1677003860
}
]
}Changes
- breaking
the response's body type changed from no type to
objectfor status - info
removed
subschema #2from the response bodyallOflist 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 optional property
to the response with the status - info
added the required property
to the response with the status
- breaking
- info
the endpoint scheme security
client_credentialswas added to the API
- info