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
      • GETCorporate Applicant Dependents
      • GETCorporate Applicant Item
      • GETCorporate Applicant Items
      • GETCorporate Applicant L Dependents
      • GETCustomer Application Check State Dependents
      • GETCustomer Application Check State Item
      • GETCustomer Application Check State Items
      • GETCustomer Application Check State L Dependents
      • GETCustomer Application Signing State Dependents
      • GETCustomer Application Signing State Item
      • GETCustomer Application Signing State Items
      • GETCustomer Application Signing State L Dependents
      • POSTDownload Sub Account Request Preview
      • POSTDownload User Document Preview
      • POSTGet Agreement Document
      • POSTGet Current Annual Review Info
      • POSTGet Localized Agreement Document
      • POSTGet User Signed Document
      • GETIndividual Applicant Dependents
      • GETIndividual Applicant Item
      • GETIndividual Applicant Items
      • GETIndividual Applicant L Dependents
      • GETJoint Applicant Dependents
      • GETJoint Applicant Item
      • GETJoint Applicant Items
      • GETJoint Applicant L Dependents
      • GETSub Account Check State Dependents
      • GETSub Account Check State Item
      • GETSub Account Check State Items
      • GETSub Account Check State L Dependents
      • POSTSubmit Annual Review
      • POSTUpdate Contact Info
      • POSTUpdate Contact Info Name
Support Center
LogoLogo
REST API EndpointsPersonal Info

Download Sub Account Request Preview

POST
https://demo-d.tradovateapi.com/v1/agreementDocumentContent/downloadsubaccountrequestpreview
POST
/v1/agreementDocumentContent/downloadsubaccountrequestpreview
1const url = 'https://demo-d.tradovateapi.com/v1/agreementDocumentContent/downloadsubaccountrequestpreview';
2const options = {
3 method: 'POST',
4 headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
5 body: '{"accountId":1,"marginType":"Hedger","transferAmount":1.1,"authorizedIndividual":true,"reason":"string"}'
6};
7
8try {
9 const response = await fetch(url, options);
10 const data = await response.json();
11 console.log(data);
12} catch (error) {
13 console.error(error);
14}
200Successful
1{
2 "errorText": "string",
3 "content": "string"
4}
Was this page helpful?
Previous

Download User Document Preview

Next
Built with

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
accountIdlongRequired
marginTypeenumRequired
Hedger, Speculator
Allowed values:
transferAmountdoubleRequired
authorizedIndividualbooleanRequired
reasonstringRequired<=8192 characters

Response

SubAccountRequestPreviewResponse
errorTextstring<=8192 characters

Non-empty if the request failed

contentstring<=8192 characters