https://api.snaptrade.com/api/v1/snapTrade/listUsers
Returns a list of all registered user IDs. Please note that the response is not currently paginated.
1import { Snaptrade } from "snaptrade-typescript-sdk";2 3const snaptrade = new Snaptrade({4 clientId: "PARTNER_CLIENT_ID",5 consumerKey: "CONSUMER_KEY",6});7 8const response =9 await snaptrade.authentication.listSnapTradeUsers();10console.log(response.data);
array of strings
List of registered SnapTrade user IDs
string
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.
1[2 "user1",3 "user2",4 "user3"5]