{ "opencollection": "1.0.0", "info": { "name": "Pinterest Service API", "version": "5.13.0" }, "items": [ { "info": { "name": "Service", "type": "folder" }, "items": [ { "info": { "name": "Get terms of service", "type": "http" }, "http": { "method": "GET", "url": "https://api.pinterest.com/v5/ad_accounts/:ad_account_id/terms_of_service", "params": [ { "name": "ad_account_id", "value": "", "type": "path", "description": "Unique identifier of an ad account." }, { "name": "include_html", "value": "", "type": "query", "description": "Return HTML in TOS text." }, { "name": "tos_type", "value": "", "type": "query", "description": "Request type." } ], "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 the text of the terms of service and see whether the advertiser has accepted the terms of service." } ] } ], "bundled": true }