APIs to access user-authorized accounts and their preferences

GET

Get Preferences

https://api.tdameritrade.com/v1/accounts/{accountId}/preferences

Preferences for a specific account.

GET

Get Streamer Subscription Keys

https://api.tdameritrade.com/v1/userprincipals/streamersubscriptionkeys

SubscriptionKey for provided accounts or default accounts.

GET

Get User Principals

https://api.tdameritrade.com/v1/userprincipals

User Principal details.

PUT

Update Preferences

https://api.tdameritrade.com/v1/accounts/{accountId}/preferences

Update preferences for a specific account. Please note that the directOptionsRouting and directEquityRouting values cannot be modified via this operation.