Lili Server API Swagger documentation
https://sandbox.lili.co/
Incorporation type of the business
National ID country (Alpha 2, ISO 3166 format). Note that if a passport number is supplied, this is the passport issuance country
National ID expiration date. Note that if passport number is supplied, this is the passport expiration date
A list of URLs containing the business documents of the customer
https://sandbox.lili.co/lili/api/v1/lead
curl -i -X PUT \
https://sandbox.lili.co/lili/api/v1/lead \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"email": "user@example.com",
"phoneNumber": "string",
"ssn": "XXX-XX-XXXX",
"birthDate": "2019-08-24",
"firstName": "string",
"lastName": "string",
"line1": "string",
"line2": "string",
"city": "string",
"state": "NY",
"country": "NY",
"postalCode": "XXXXX",
"ein": "/regex/",
"businessName": "string",
"businessAddress": {
"line1": "string",
"line2": "string",
"city": "string",
"state": "NY",
"postalCode": "XXXXX",
"country": "US"
},
"mailingAddress": {
"line1": "string",
"line2": "string",
"city": "string",
"state": "NY",
"postalCode": "XXXXX",
"country": "US"
},
"businessType": "DBA",
"incorporationState": "string",
"uniqueId": "string",
"duns": "string",
"passportNumber": "string",
"idGovNumber": "string",
"idCountry": "string",
"idExpirationDate": "string",
"documentUrls": [
"string"
],
"documentDataList": [
{
"content": "string",
"contentType": "string",
"fileName": "string",
"llcFileType": "IRS_EIN_LETTER"
}
],
"uboList": [
{
"email": "user@example.com",
"phoneNumber": "string",
"ssn": "XXX-XX-XXXX",
"birthDate": "2019-08-24",
"firstName": "string",
"lastName": "string",
"passportNumber": "string",
"idGovNumber": "string",
"idCountry": "string",
"idExpirationDate": "string",
"role": "PARTNER"
}
]
}'
{ "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac", "location": "http://example.com", "token": "string", "partnerSuppliedId": "string", "personId": "f3e5ff26-28ff-4cd6-9b1b-e303a185a13a" }