https://api.snaptrade.com/api/v1/snapTrade/login
Logs in a SnapTrade user and returns an authenticated connection portal URL for them to use to connect a brokerage account.
userId
string
required
SnapTrade User ID. This is chosen by the API partner and can be any string that is a) unique to the user, and b) immutable for the user. It is recommended to NOT use email addresses for this property because they are usually not immutable.
userSecret
SnapTrade User Secret (generated when registering user)
broker
Slug of the brokerage to connect the user to
immediateRedirect
boolean
When set to True, user will be redirected back to the partner's site instead of the connection portal
customRedirect
URL to redirect the user to after the user connects their brokerage account
reconnect
The UUID of the brokerage connection to be reconnected. This parameter should be left empty unless you are reconnecting a disabled connection. See ‘Reconnecting Accounts’ for more information.
connectionType
Sets whether the connection should be read or trade
connectionPortalVersion
Sets the version of the connection portal to render, with a default to 'v2'
1Loading...
object
Redirect uri upon successful login
redirectURI
sessionId
1{2 "redirectURI": "https://app.snaptrade.com/snapTrade/redeemToken?token=this$token1does2ntactu4allyexist==&clientId=example",3 "sessionId": "string"4}