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
      • POSTAccept Trading Permission
      • POSTAdd Entitlement Subscription
      • POSTAdd Market Data Subscription
      • POSTAdd Tradovate Subscription
      • POSTAgreed Liquidation Policy
      • POSTAgreed Sentiment Disclaimer Policy
      • POSTAgreed Terms And Conditions
      • GETAnnual Review Dependents
      • GETAnnual Review Item
      • GETAnnual Review Items
      • GETAnnual Review L Dependents
      • POSTCalculate Plan Upgrade
      • POSTCancel Everything
      • POSTCancel Plugin Autorenewal
      • POSTCancel Tradovate Subscription
      • POSTChange Plugin Permission
      • POSTChange User Property
      • GETContact Info Dependents
      • GETContact Info Item
      • GETContact Info Items
      • GETContact Info L Dependents
      • GETCountry Find
      • GETCountry Item
      • GETCountry Items
      • GETCountry List
      • GETCountry Suggest
      • POSTCreate Evaluation Accounts
      • POSTCreate Evaluation Users
      • GETCreate New Trial
      • POSTCreate Shadow Account
      • POSTCreate Trading Permission
      • GETCustomer Application Document Dependents
      • GETCustomer Application Document Item
      • GETCustomer Application Document Items
      • GETCustomer Application Document L Dependents
      • GETCustomer Marketing Info Dependents
      • GETCustomer Marketing Info Item
      • GETCustomer Marketing Info Items
      • GETCustomer Marketing Info L Dependents
      • GETDownload W 8 Certification Document
      • POSTGet Account Trading Permissions
      • POSTGet Entitlement Eligibility Info
      • POSTGet Funding Options
      • POSTGet Processing Fee
      • POSTMarket Data Subscription Create
      • GETMarket Data Subscription Dependents
      • GETMarket Data Subscription Item
      • GETMarket Data Subscription Items
      • GETMarket Data Subscription L Dependents
      • POSTMarket Data Subscription Update
      • POSTModify Credentials
      • POSTModify Email Address
      • POSTModify Password
      • POSTOpen Demo Account
      • GETOrganization Find
      • GETOrganization Item
      • GETOrganization Items
      • GETOrganization List
      • GETOrganization Suggest
      • POSTPulse Live Opt Out
      • POSTRequest Trading Permission
      • POSTRevoke Trading Permission
      • POSTRevoke Trading Permissions
      • GETSecond Market Data Subscription Dependents
      • GETSecond Market Data Subscription Item
      • GETSecond Market Data Subscription Items
      • GETSecond Market Data Subscription L Dependents
      • GETSecond Market Data Subscription List
      • POSTSend Notify Admin Alert
      • POSTSet Social Credentials
      • POSTSign Up Organization Member
      • POSTSign W 8
      • GETSwitch To PEDSL
      • POSTSwitch To Professional
      • POSTSync Request
      • POSTThird Party Data Sharing
      • GETTrading Permission Consent Dependents
      • GETTrading Permission Consent Item
      • GETTrading Permission Consent Items
      • GETTrading Permission Consent L Dependents
      • POSTTradovate Subscription Create
      • GETTradovate Subscription Dependents
      • GETTradovate Subscription Item
      • GETTradovate Subscription Items
      • GETTradovate Subscription L Dependents
      • POSTTradovate Subscription Update
      • GETUser Certification Dependents
      • GETUser Certification Item
      • GETUser Certification Items
      • GETUser Certification L Dependents
      • GETUser Device Dependents
      • GETUser Device Item
      • GETUser Device Items
      • GETUser Device L Dependents
      • GETUser Find
      • GETUser Item
      • GETUser Items
      • GETUser List
      • POSTUser Plugin Create
      • GETUser Plugin Dependents
      • GETUser Plugin Item
      • GETUser Plugin Items
      • GETUser Plugin L Dependents
      • POSTUser Plugin Update
      • GETUser Promo Code Dependents
      • GETUser Promo Code Item
      • GETUser Promo Code Items
      • GETUser Promo Code L Dependents
      • GETUser Property Dependents
      • GETUser Property Item
      • GETUser Property Items
      • GETUser Property L Dependents
      • GETUser Read Status Dependents
      • GETUser Read Status Item
      • GETUser Read Status Items
      • GETUser Read Status L Dependents
      • GETUser Session Item
      • GETUser Session Items
      • GETUser Session Stats Dependents
      • GETUser Session Stats Item
      • GETUser Session Stats Items
      • GETUser Session Stats L Dependents
      • GETUser Suggest
Support Center
LogoLogo
REST API EndpointsUsers

User Session Items

GET
https://demo-d.tradovateapi.com/v1/userSession/items
GET
/v1/userSession/items
1const url = 'https://demo-d.tradovateapi.com/v1/userSession/items?ids=%5B1%5D';
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 {
3 "userId": 1,
4 "startTime": "2024-01-15T09:30:00Z",
5 "clientAppId": 1,
6 "id": 1,
7 "endTime": "2024-01-15T09:30:00Z",
8 "ipAddress": "string",
9 "appId": "string",
10 "appVersion": "string"
11 }
12]

Fetches multiple UserSession entities of id field

Was this page helpful?
Previous

User Session Stats Dependents

Next
Built with

Authentication

AuthorizationBearer

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

Query parameters

idslist of longsRequired

Response

UserSession
userIdlong
startTimedatetime
clientAppIdlong
idlong
endTimedatetime
ipAddressstring<=64 characters
appIdstring<=64 characters
appVersionstring<=64 characters