{ "opencollection": "1.0.0", "info": { "name": "TD Ameritrade and Trading Accounts User Management API", "version": "1" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.tdameritrade.com/auth", "accessTokenUrl": "https://api.tdameritrade.com/v1/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "User Management", "type": "folder" }, "items": [ { "info": { "name": "Get Preferences", "type": "http" }, "http": { "method": "GET", "url": "https://api.tdameritrade.com/v1/accounts/:accountId/preferences", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "Unique account identifier" } ] }, "docs": "Get account preferences for a specific account." }, { "info": { "name": "Update Preferences", "type": "http" }, "http": { "method": "PUT", "url": "https://api.tdameritrade.com/v1/accounts/:accountId/preferences", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "Unique account identifier" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update account preferences for a specific account." }, { "info": { "name": "Get User Principals", "type": "http" }, "http": { "method": "GET", "url": "https://api.tdameritrade.com/v1/userprincipals", "params": [ { "name": "fields", "value": "", "type": "query", "description": "Comma-separated list of additional fields to include" } ] }, "docs": "Retrieve user principal details including linked accounts and preferences." } ] } ], "bundled": true }