{
"opencollection": "1.0.0",
"info": {
"name": "Pinterest Following API",
"version": "5.13.0"
},
"items": [
{
"info": {
"name": "Following",
"type": "folder"
},
"items": [
{
"info": {
"name": "List following",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.pinterest.com/v5/user_account/following",
"params": [
{
"name": "bookmark",
"value": "",
"type": "query",
"description": "Cursor used to fetch the next page of items"
},
{
"name": "page_size",
"value": "",
"type": "query",
"description": "Maximum number of items to include in a single page of the response. See documentation on Pagination for more information."
},
{
"name": "feed_type",
"value": "",
"type": "query",
"description": "Thrift param specifying what type of followees will be kept. Default to include all followees."
},
{
"name": "explicit_following",
"value": "",
"type": "query",
"description": "Whether or not to include implicit user follows, which means followees with board follows. When explicit_following is True, it means we only want explicit user follows."
},
{
"name": "ad_account_id",
"value": "",
"type": "query",
"description": "Unique identifier of an ad account."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://www.pinterest.com/oauth/",
"accessTokenUrl": "https://api.pinterest.com/v5/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Get a list of who a certain user follows."
},
{
"info": {
"name": "List following boards",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.pinterest.com/v5/user_account/following/boards",
"params": [
{
"name": "bookmark",
"value": "",
"type": "query",
"description": "Cursor used to fetch the next page of items"
},
{
"name": "page_size",
"value": "",
"type": "query",
"description": "Maximum number of items to include in a single page of the response. See documentation on Pagination for more information."
},
{
"name": "explicit_following",
"value": "",
"type": "query",
"description": "Whether or not to include implicit user follows, which means followees with board follows. When explicit_following is True, it means we only want explicit user follows."
},
{
"name": "ad_account_id",
"value": "",
"type": "query",
"description": "Unique identifier of an ad account."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://www.pinterest.com/oauth/",
"accessTokenUrl": "https://api.pinterest.com/v5/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Get a list of the boards a user follows. The request returns a board summary object array."
},
{
"info": {
"name": "Follow user",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.pinterest.com/v5/user_account/following/:username",
"params": [
{
"name": "username",
"value": "",
"type": "path",
"description": "A valid username"
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://www.pinterest.com/oauth/",
"accessTokenUrl": "https://api.pinterest.com/v5/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "This endpoint is currently in beta and not available to all apps. Learn more.\n\nUse this request, as a signed-in user, to follow another user."
}
]
}
],
"bundled": true
}