# Create Application The Create Application API is used to create a new Application in the Lili platform. The respon contains a UUID representing the applicant that was created in the Lili platform, and a URL that allows initializing the application process with the pre-filled information. Endpoint: PUT /lili/api/v1/lead Version: v2.0.0 Security: accessKey ## Request fields (application/json): - `email` (string, required) The unique ID of the webhook - `phoneNumber` (string) Customer phone number. E.164 format. - `ssn` (string) Customer SSN Example: "XXX-XX-XXXX" - `birthDate` (string) Customer birth date - `firstName` (string) Customer first name - `lastName` (string) Customer last name - `line1` (string) Customer address line1 - `line2` (string) Customer address line2 - `city` (string) Customer address city - `state` (string) Customer address 2 letter state code Example: "NY" - `country` (string) Customer country of residence (Alpha 2, ISO 3166 format) Example: "NY" - `postalCode` (string) Customer address postal code Example: "XXXXX" - `ein` (string) Business EIN - `businessName` (string) Business name - `businessAddress` (object) - `businessAddress.line1` (string) Line 1 of the address - `businessAddress.line2` (string) Line 2 of the address - `businessAddress.city` (string) City - `businessAddress.state` (string) State 2 letter code (ISO 3166 format) Example: "NY" - `businessAddress.postalCode` (string) Postal code Example: "XXXXX" - `businessAddress.country` (string) Country 2 letter code (ISO 3166 format) Example: "US" - `mailingAddress` (object) - `businessType` (any) Incorporation type of the business Enum: "DBA", "LLC", "MMLLC", "GENERAL_PARTNERSHIP", "LLP", "S_CORP", "SSN", "C_CORP" - `incorporationState` (string) State the business was incorporated in - `uniqueId` (string) Unique ID to be used by the partner to identify the customer - `duns` (string) Business DUNS number - `passportNumber` (string) Passport number - `idGovNumber` (string) Non US customer National ID number - `idCountry` (string) National ID country (Alpha 2, ISO 3166 format). Note that if a passport number is supplied, this is the passport issuance country - `idExpirationDate` (string) National ID expiration date. Note that if passport number is supplied, this is the passport expiration date - `documentUrls` (array) A list of URLs containing the business documents of the customer - `documentDataList` (array) A list of Base64 encoded documents - `documentDataList.content` (string, required) File content, Base64 decoded - `documentDataList.contentType` (string, required) The file content type. All standard mime types are supported - `documentDataList.fileName` (string, required) The name of the file - `documentDataList.llcFileType` (string) The type of the file Enum: "IRS_EIN_LETTER", "ARTICLES_OF_ORGANIZATION", "LETTER_OF_REINSTATEMENT", "GOVERNMENT_IDENTIFICATION", "ARTICLES_OF_INCORPORATION", "SIGNED_PARTNERSHIP_AGREEMENT", "AMENDMENT_DOCUMENT", "OPERATING_AGREEMENT", "UTILITY_BILL" - `uboList` (array) A list of UBOs with >25% of the business ownership - `uboList.role` (any) The UBO role in the account Enum: "PARTNER", "PARTNER_FULL_ACCESS" - `uboList.ownershipPercent` (number) The ownership percentage of the UBO - `uboList.address` (object) ## Response 201 fields (application/json): - `customerId` (string, required) A unique ID for the customer (same as person ID) - `location` (string, required) A unique URL to be used by the customer for a personalized application flow - `token` (string, required) The token that should be sent to Lili Connect UI - `partnerSuppliedId` (string) The uniqueID provided by the partner in the Create Application call. Empty if none was supplied - `personId` (string, required) The unique ID of the registered person