business_access_invite
Create a request to access an existing partner's assets.
Changed onCreate a request to access an existing partner's assets with the specified permissions. The request will be sent to the partner for approval. The assets that can be requested are ad accounts and profiles.
post/businesses/{business_id}/requests/assets/access
Request
- Base URLhttps://api.pinterest.com/v5
- AuthOAuth 2Authorization codehttps://www.pinterest.com/oauth/Token URLhttps://api.pinterest.com/v5/oauth/tokenScopesbiz_access:read, biz_access:write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
business_idstring required
Unique identifier of the requesting business.
Request body
Example request
{
"asset_requests": [
{
"asset_id_to_permissions": {
"549760723247": [
"ANALYST"
],
"549760723248": [
"ANALYST",
"ADMIN"
],
"809944451643622187": [
"PROFILE_PUBLISHER"
]
}
}
]
}Response
The request has succeeded.
Example response
{
"invites": {
"766456567741825556": "5349280584552211583",
"733242520489967216": "5349280584552211845"
}
}Changes
- info
added the new
BIZ_PINNER_LIST_SHARERenum value to the request property//// - 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 non-success response with the status
- info
added the non-success response with the status
- info
added the success response with the status
- info
- info
added the new
CONSUMER_USERenum value to the request property////
- info