CreateFileRequestDto
Request body for POST /v1/files (Integration Guide 4.3.1).
The organization and the creating user are NEVER taken from the body: the organization comes from
the access token and the creating user from the validated X-Sender-Id header.
File number (required, max 50; letters, numbers, dashes, underscores and spaces)
Loan purpose ID (see GET /v1/reference/loan-purposes). Required unless the file is saved as a Draft.
Transaction type ID. Optional; when omitted the loan purpose ID is used (same behaviour as the web portal).
Expected closing date (ISO 8601, e.g. "2025-07-01" or "2025-07-01T00:00:00Z"). Required unless Draft; cannot be in the past.
Client ID (optional, see GET /v1/reference/clients)
Underwriter ID (optional, see GET /v1/reference/underwriters)
Lender ID (optional, see GET /v1/reference/lenders)
Whether the file has title insurance. Required (true/false) unless Draft.
Texas Cash Out refinance. Required when loanPurposeId = 2 (Refinance) and the property is in TX. When true, RON signings are not allowed on the file.
Purchase price (optional, >= 0)
Loan amount (optional, >= 0)
File status ID. Defaults to 2 (Created). Use 1 to save a Draft, in which case only fileNumber is mandatory.
property object
Property (subject address) of a file. Used on create and update.
Street address. Letters, numbers, spaces and - . / , only (max 200)
Unit / apartment (optional, letters and numbers only)
City (max 100)
2-letter US state abbreviation (e.g. "TX")
5-digit ZIP code
County (optional, max 100)
participants object[]nullable
Participants to add to the file (optional)
Existing participant ID. Omit when creating. On update, supply it to modify an existing participant.
true = use name only; false (default) = use firstName / middleName / lastName
Single name (2–100 chars). Required when useSingleNameMode is true.
First name (2–50 chars). Required when useSingleNameMode is false.
Middle name (optional, max 50 chars)
Last name (2–50 chars). Required when useSingleNameMode is false.
Participant role ID (see GET /v1/reference/participant-roles). 0 = no role.
Participant type ID (see GET /v1/reference/participant-types). Required.
Email address (optional)
Phone number (optional). Any format is accepted: "(212) 555-1234", "2125551234", "+44 20 7946 0958", "+12125551234#204" (extension after #, x or ext). Numbers without a calling code are treated as US. Must be a valid number for its country.
Whether the participant has an SSN on file. null = not answered.
On update: set false to remove (soft delete) an existing participant. Defaults to true.
Teams to share the file with (optional, see GET /v1/teams)
{
"fileNumber": "string",
"loanPurposeId": 0,
"transactionTypeId": 0,
"closingDate": "string",
"clientId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"underwriterId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"lenderId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"titleInsurance": true,
"texasCashOut": true,
"purchasePrice": 0,
"loanAmount": 0,
"statusId": 0,
"property": {
"streetAddress": "string",
"unit": "string",
"city": "string",
"state": "string",
"zipCode": "string",
"county": "string"
},
"participants": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"useSingleNameMode": true,
"name": "string",
"firstName": "string",
"middleName": "string",
"lastName": "string",
"roleId": 0,
"typeId": 0,
"email": "string",
"phone": "string",
"hasSsn": true,
"isActive": true
}
],
"teamIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}