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
      • GETAccount Dependents
      • GETAccount Find
      • GETAccount Item
      • GETAccount Items
      • GETAccount L Dependents
      • GETAccount List
      • GETAccount Suggest
      • POSTAcknowledge SSF Risk Disclosure
      • POSTActivate Swap Access
      • GETCash Balance Dependents
      • GETCash Balance Item
      • GETCash Balance Items
      • GETCash Balance L Dependents
      • GETCash Balance List
      • GETCash Balance Log Dependents
      • GETCash Balance Log Item
      • GETCash Balance Log Items
      • GETCash Balance Log L Dependents
      • POSTGet Cash Balance Snapshot
      • GETMargin Snapshot Dependents
      • GETMargin Snapshot Item
      • GETMargin Snapshot Items
      • GETMargin Snapshot L Dependents
      • GETMargin Snapshot List
      • POSTReset Demo Account State
      • GETShadow Account Dependents
      • GETShadow Account Item
      • GETShadow Account Items
      • GETShadow Account L Dependents
      • GETShadow Account Request Dependents
      • GETShadow Account Request Item
      • GETShadow Account Request Items
      • GETShadow Account Request L Dependents
      • GETShadow Account Request List
      • GETTrading Permission Dependents
      • GETTrading Permission Item
      • GETTrading Permission Items
      • GETTrading Permission L Dependents
      • GETTrading Permission List
      • POSTUpdate Futures Disabled
      • POSTUpdate Swap Enabled
Support Center
LogoLogo
REST API EndpointsAccounting

Trading Permission Dependents

GET
https://demo-d.tradovateapi.com/v1/tradingPermission/deps
GET
/v1/tradingPermission/deps
1const url = 'https://demo-d.tradovateapi.com/v1/tradingPermission/deps?masterid=1';
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 "accountId": 1,
5 "accountHolderContact": "string",
6 "accountHolderEmail": "string",
7 "ctaContact": "string",
8 "ctaEmail": "string",
9 "status": "Accepted",
10 "id": 1,
11 "updated": "2024-01-15T09:30:00Z",
12 "approvedById": 1
13 }
14]
Fetches all TradingPermission entities associated to User entity
Was this page helpful?
Previous

Trading Permission Item

Next
Built with

Authentication

AuthorizationBearer

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

Query parameters

masteridlongRequired
User entity ID

Response

TradingPermission
userIdlong
accountIdlong
accountHolderContactstring<=64 characters
accountHolderEmailstring<=64 characters
ctaContactstring<=64 characters
ctaEmailstring<=64 characters
statusenum
Accepted, Approved, Declined, Requested, Revoked
Allowed values:
idlong
updateddatetime
approvedByIdlong