logo
Authentication

Create SnapTrade user

post
https://api.snaptrade.com/api/v1/snapTrade/registerUser

Registers a new SnapTrade user under your ClientID. Most SnapTrade operations require a user to be passed as a parameter.

Execute an API Request

Request Body
userIdstring

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.

Authorization
Request
Installation
$
npm install snaptrade-typescript-sdk
1
Loading...

Response fields

object

Response when register user is successful

userIdstring

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.

userSecretstring

SnapTrade User Secret randomly generated by SnapTrade. This is privileged information and if compromised, should be rotated via the SnapTrade API.

1
{
2
"userId": "snaptrade-user-123",
3
"userSecret": "h81@cx1lkalablakwjaltkejraj11="
4
}