For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Support Center
OverviewAPIResources
OverviewAPIResources
  • REST API Endpoints
    • GETGet Timestamp
    • GETO IDC User Info
      • POSTAccess Token Request
      • GETChallenge
      • POSTCountry Is Banned
      • POSTGet Product
      • GETJ WKS
      • GETMe
      • POSTO Auth Token
      • GETProducts
      • GETRenew Access Token
      • POSTSearch
      • GETWell Known Openid Configuration
Support Center
LogoLogo
REST API EndpointsAuthentication

Me

GET
https://demo-d.tradovateapi.com/v1/auth/me
GET
/v1/auth/me
1const url = 'https://demo-d.tradovateapi.com/v1/auth/me';
2const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
3
4try {
5 const response = await fetch(url, options);
6 const data = await response.json();
7 console.log(data);
8} catch (error) {
9 console.error(error);
10}
200Retrieved
1{
2 "errorText": "string",
3 "userId": 1,
4 "name": "string",
5 "fullName": "string",
6 "email": "string",
7 "emailVerified": true,
8 "isTrial": true,
9 "organizationName": "string",
10 "currentAccountPlan": "string",
11 "currentMDSubs": [
12 "string"
13 ],
14 "currentBalance": 1.1,
15 "activePlugins": [
16 "string"
17 ]
18}

Shows Basic user data for the calling user.

Was this page helpful?
Previous

O Auth Token

Next
Built with

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Response

OAuthMeResponse
errorTextstring<=8192 characters

Non-empty if the request failed

userIdlong
namestring<=64 characters
fullNamestring<=8192 characters
emailstring<=8192 characters
emailVerifiedboolean
isTrialboolean
organizationNamestring<=64 characters
currentAccountPlanstring<=64 characters
currentMDSubslist of strings
currentBalancedouble
activePluginslist of strings