> This page is for NT Connect.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://partner.ninjatrader.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://partner.ninjatrader.com/_mcp/server.

# Sign User Document

POST https://live.tradovateapi.com/v1/customerApplication/signuserdocument
Content-Type: application/json

### Record a user's signature on a funding-disclosure document.**Available to:** All authenticated users**Environments:** Live**[Rate Limit](/connect/overview/core-concepts/rate-limits):** 10 requests per hour, 30-second back-off, counts all requestsCall once per document, after the user has read the PDF returned by `downloadUserDocumentPreview`. A success carries `userSignedDocumentId` and `successHashCode`.`signature` must match the full name on the applicant's contact record; a mismatch is rejected rather than stored. Send `date` as `MM/DD/YYYY`, and `pdfFields` as `{}` for both funding disclosures.`allowMultiple` controls what happens when the user has already signed that template. Omitted or `false`, a second attempt is refused. Set to `true`, a second signature is recorded alongside the first — which is what the add-a-payment-method flows rely on, since they re-collect the payment processor authorization each time.**Warning:** Once this call returns a `userSignedDocumentId`, the signature is stored. If your confirming read of `userSignedDocumentLDependents` does not show it yet, retry the **read**. Calling this endpoint again with `allowMultiple: true` records a duplicate signature rather than repairing anything.Not every template can be signed here. A template that is not enabled for generic signing is refused by name.**Common Failure Scenarios**- The signature does not match the applicant's full name on file
- The template is not enabled for generic signing
- The user already signed the template and `allowMultiple` was not set
- The `agreementDocumentTemplateId` belongs to another clearing house**Error Messages**| Message                                                        | Response             | Trigger                                                                          |
| -------------------------------------------------------------- | -------------------- | -------------------------------------------------------------------------------- |
| `"Signature should be the same as full name of the applicant"` | 200 (in `errorText`) | `signature` does not match the contact record. The comparison tolerates accents. |
| `"This endpoint does not support signing <template name>"`     | 200 (in `errorText`) | The template is not enabled for generic signing.                                 |
| `"User already has a signed <template name>."`                 | 200 (in `errorText`) | The template is already signed and `allowMultiple` was omitted or `false`.       |
| `"Access is denied"`                                           | 401                  | The session is not permitted to sign documents.                                  |**Related Endpoints**- Use `downloadUserDocumentPreview` to display the document before collecting the signature.
- Use `userSignedDocumentLDependents` to confirm the signature was stored.

Reference: https://partner.ninjatrader.com/connect/api/rest-api-endpoints/customer-applications/sign-user-document

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Body (application/json)

This endpoint expects a SignUserDocument.

- `signature` (string, required)
- `date` (string, required)
- `agreementDocumentTemplateId` (long, required)
- `pdfFields` (SignUserDocumentPdfFields, required)
- `allowMultiple` (boolean, optional)
- `asCustomerApplicationDocument` (AsCustomerApplicationDocument, optional)

## Response

### 200

SignUserDocumentResponse

- `errorText` (string, optional) — Non-empty if the request failed
- `successHashCode` (long, optional)
- `userSignedDocumentId` (long, optional)

## Types

### SignUserDocumentPdfFields

### AsCustomerApplicationDocument

- `process` (enum, required) — AML_FPV, Bankruptcy, Compliance, Identity, NFA, SubAccountRequest, Watchlist
  - Allowed values: `AML_FPV`, `Bankruptcy`, `Compliance`, `Identity`, `NFA`, `SubAccountRequest`, `Watchlist`
- `documentType` (enum, required) — AMLBankStatement, AMLOwnFundsLetter, AccountReactivation, AchOther, AdditionalRiskDisclosure, AddressChangeVerification, AddressClarificationDocVsApplication, AddressClarificationDocVsConfirmedAV, AddressVerificationFAFTA, AddressVerificationLLC, AddressVerificationManagingMember, AmendmentApprovingFuturesTrading, AnnualIncomeAmount, ApplicationAndIDNameMismatch, ArticlesOfOrganization, BankSupportingDocument, BankruptcyDischargePaperwork, BeneficialOwnerCertification, CertificateOfGoodStanding, CompanyFinancials, ConfirmAccountInterest, ConfirmAffiliations, ConfirmFullName, ConfirmIRACustodian, ConfirmationOfDeposits, CorporateBylaws, CurrentBankStatement, DrivingLicense, EIN, EVS, EmployeeAttestationLetter, EmploymentDetails, EntityWebsite, FullTimeTrader, HedgeClarification, HighRiskApplicant, HomemakerIncome, IRACustody, Id, InvestmentType, LetterOfAwareness, LiquidNetWorthAmount, ManagingMemberId, NFARegistrationConfirmation, NatureOfEntity, NatureOfSelfEmployment, NetWorthAmount, OfferingCircular, OperatingAgreement, Other, OtherText, OwnFunds, POAForm, POBox, PartnershipDocuments, Passport, Professional, ResidentialAddressConfirmation, RetirementIncome, SSNMiskey, ShareholderRegister, SocialSecurityCard, SourceOfIncome, SourceOfRiskCapital, StatementOfGoodStanding, StudentIncome, ThirdPartyFunds, TradingAuthorityPOA, TrustDocuments, UnderstandingOfFuturesTrading, UnemployedIncome, UtilityBill, VerifyEmailAnotherName, VerifyEmailOwnership, VerifyEmailUsernameEntityWording, VerifyEmailUsernameFinancialWording, VerifyUsernameAnotherName, Visa, W8Clarification, W8Incomplete, W9, YearsOfTradingExperience, eSignBeneficialOwnerCertification, eSignEmployeeAttestationLetter, eSignMarketDataAgreement, eSignW9
  - Allowed values: `AMLBankStatement`, `AMLOwnFundsLetter`, `AccountReactivation`, `AchOther`, `AdditionalRiskDisclosure`, `AddressChangeVerification`, `AddressClarificationDocVsApplication`, `AddressClarificationDocVsConfirmedAV`, `AddressVerificationFAFTA`, `AddressVerificationLLC`, `AddressVerificationManagingMember`, `AmendmentApprovingFuturesTrading`, `AnnualIncomeAmount`, `ApplicationAndIDNameMismatch`, `ArticlesOfOrganization`, `BankSupportingDocument`, `BankruptcyDischargePaperwork`, `BeneficialOwnerCertification`, `CertificateOfGoodStanding`, `CompanyFinancials`, `ConfirmAccountInterest`, `ConfirmAffiliations`, `ConfirmFullName`, `ConfirmIRACustodian`, `ConfirmationOfDeposits`, `CorporateBylaws`, `CurrentBankStatement`, `DrivingLicense`, `EIN`, `EVS`, `EmployeeAttestationLetter`, `EmploymentDetails`, `EntityWebsite`, `FullTimeTrader`, `HedgeClarification`, `HighRiskApplicant`, `HomemakerIncome`, `IRACustody`, `Id`, `InvestmentType`, `LetterOfAwareness`, `LiquidNetWorthAmount`, `ManagingMemberId`, `NFARegistrationConfirmation`, `NatureOfEntity`, `NatureOfSelfEmployment`, `NetWorthAmount`, `OfferingCircular`, `OperatingAgreement`, `Other`, `OtherText`, `OwnFunds`, `POAForm`, `POBox`, `PartnershipDocuments`, `Passport`, `Professional`, `ResidentialAddressConfirmation`, `RetirementIncome`, `SSNMiskey`, `ShareholderRegister`, `SocialSecurityCard`, `SourceOfIncome`, `SourceOfRiskCapital`, `StatementOfGoodStanding`, `StudentIncome`, `ThirdPartyFunds`, `TradingAuthorityPOA`, `TrustDocuments`, `UnderstandingOfFuturesTrading`, `UnemployedIncome`, `UtilityBill`, `VerifyEmailAnotherName`, `VerifyEmailOwnership`, `VerifyEmailUsernameEntityWording`, `VerifyEmailUsernameFinancialWording`, `VerifyUsernameAnotherName`, `Visa`, `W8Clarification`, `W8Incomplete`, `W9`, `YearsOfTradingExperience`, `eSignBeneficialOwnerCertification`, `eSignEmployeeAttestationLetter`, `eSignMarketDataAgreement`, `eSignW9`
- `personType` (enum, optional) — Applicant, EntityOpener, EntityResponsiblePerson, EntityStakeholder1, EntityStakeholder2, JointApplicant, JointThirdPartyPerson, SubAccount, ThirdPartyPerson
  - Allowed values: `Applicant`, `EntityOpener`, `EntityResponsiblePerson`, `EntityStakeholder1`, `EntityStakeholder2`, `JointApplicant`, `JointThirdPartyPerson`, `SubAccount`, `ThirdPartyPerson`
- `customerApplicationId` (long, optional)

## Examples

**Request**

```json
{
  "signature": "string",
  "date": "string",
  "agreementDocumentTemplateId": 1
}
```

**Response**

```json
{
  "errorText": "string",
  "successHashCode": 1,
  "userSignedDocumentId": 1
}
```

**SDK Code**

```python
import requests

url = "https://live.tradovateapi.com/v1/customerApplication/signuserdocument"

payload = {
    "signature": "string",
    "date": "string",
    "agreementDocumentTemplateId": 1
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://live.tradovateapi.com/v1/customerApplication/signuserdocument';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"signature":"string","date":"string","agreementDocumentTemplateId":1}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://live.tradovateapi.com/v1/customerApplication/signuserdocument"

	payload := strings.NewReader("{\n  \"signature\": \"string\",\n  \"date\": \"string\",\n  \"agreementDocumentTemplateId\": 1\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://live.tradovateapi.com/v1/customerApplication/signuserdocument")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"signature\": \"string\",\n  \"date\": \"string\",\n  \"agreementDocumentTemplateId\": 1\n}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://live.tradovateapi.com/v1/customerApplication/signuserdocument")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"signature\": \"string\",\n  \"date\": \"string\",\n  \"agreementDocumentTemplateId\": 1\n}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://live.tradovateapi.com/v1/customerApplication/signuserdocument', [
  'body' => '{
  "signature": "string",
  "date": "string",
  "agreementDocumentTemplateId": 1
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://live.tradovateapi.com/v1/customerApplication/signuserdocument");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"signature\": \"string\",\n  \"date\": \"string\",\n  \"agreementDocumentTemplateId\": 1\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "signature": "string",
  "date": "string",
  "agreementDocumentTemplateId": 1
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://live.tradovateapi.com/v1/customerApplication/signuserdocument")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```