Skip to main content

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.

fileNumberstringnullable

File number (required, max 50; letters, numbers, dashes, underscores and spaces)

loanPurposeIdinteger<int32>nullable

Loan purpose ID (see GET /v1/reference/loan-purposes). Required unless the file is saved as a Draft.

transactionTypeIdinteger<int32>nullable

Transaction type ID. Optional; when omitted the loan purpose ID is used (same behaviour as the web portal).

closingDatestringnullable

Expected closing date (ISO 8601, e.g. "2025-07-01" or "2025-07-01T00:00:00Z"). Required unless Draft; cannot be in the past.

clientIdstring<uuid>nullable

Client ID (optional, see GET /v1/reference/clients)

underwriterIdstring<uuid>nullable

Underwriter ID (optional, see GET /v1/reference/underwriters)

lenderIdstring<uuid>nullable

Lender ID (optional, see GET /v1/reference/lenders)

titleInsurancebooleannullable

Whether the file has title insurance. Required (true/false) unless Draft.

texasCashOutbooleannullable

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.

purchasePricenumber<double>nullable

Purchase price (optional, >= 0)

loanAmountnumber<double>nullable

Loan amount (optional, >= 0)

statusIdinteger<int32>nullable

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.

streetAddressstringnullable

Street address. Letters, numbers, spaces and - . / , only (max 200)

unitstringnullable

Unit / apartment (optional, letters and numbers only)

citystringnullable

City (max 100)

statestringnullable

2-letter US state abbreviation (e.g. "TX")

zipCodestringnullable

5-digit ZIP code

countystringnullable

County (optional, max 100)

participants object[]nullable

Participants to add to the file (optional)

  • Array [
  • idstring<uuid>nullable

    Existing participant ID. Omit when creating. On update, supply it to modify an existing participant.

    useSingleNameModeboolean

    true = use name only; false (default) = use firstName / middleName / lastName

    namestringnullable

    Single name (2–100 chars). Required when useSingleNameMode is true.

    firstNamestringnullable

    First name (2–50 chars). Required when useSingleNameMode is false.

    middleNamestringnullable

    Middle name (optional, max 50 chars)

    lastNamestringnullable

    Last name (2–50 chars). Required when useSingleNameMode is false.

    roleIdinteger<int32>

    Participant role ID (see GET /v1/reference/participant-roles). 0 = no role.

    typeIdinteger<int32>

    Participant type ID (see GET /v1/reference/participant-types). Required.

    emailstringnullable

    Email address (optional)

    phonestringnullable

    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.

    hasSsnbooleannullable

    Whether the participant has an SSN on file. null = not answered.

    isActivebooleannullable

    On update: set false to remove (soft delete) an existing participant. Defaults to true.

  • ]
  • teamIdsstring<uuid>[]nullable

    Teams to share the file with (optional, see GET /v1/teams)

    CreateFileRequestDto
    {
    "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"
    ]
    }