API Search endpoints…⌘K Get API credentialsGet access

Create a Client

POST/lokta-lms/api/v1/clients

Creates a client, the borrower record that loans are applied against.

Note:

1. You can enter either:firstname/middlename/lastname - for a person (middlename is optional) OR fullname - for a business or organisation (or person known by one name).

2.If address is enable(enable-address=true), then additional field called address has to be passed.

Mandatory Fields: firstname and lastname OR fullname, officeId, active=true and activationDate OR active=false, if(address enabled) address

Optional Fields: externalId, accountNo, staffId, mobileNo, genderId, clientTypeId, clientClassificationId

When to use it

Create the client before anything else. A loan application takes a clientId, so a borrower has to exist first.

Worth knowing

Request body application/json

activationDatestring · optional
activeboolean · optional
addressarray of ClientAddressRequest · optional

Address requests

datatablesarray of PostClientsDatatable · optional

List of PostClientsDatatable

dateFormatstring · optional
dateOfBirthstring · date · optional
emailAddressstring · optional
externalIdstring · optional
firstnamestring · optional
fullnamestring · optional
lastnamestring · optional
legalFormIdinteger · int64 · optional
localestring · optional
middlenamestring · optional
mobileNostring · optional
officeIdinteger · int64 · optional
submittedOnDatestring · optional

Responses

200OK

Response fields

clientIdinteger · int64 · optional
officeIdinteger · int64 · optional
resourceExternalIdstring · optional
resourceIdinteger · int64 · optional

Every request authenticates with HTTP Basic and carries a Tenant-Identifier header. See the conventions for dates, commands, pagination and errors. Open this operation in the interactive explorer, or read it as Markdown.

This is the API reference for Lokta, the agentic loan servicing platform. Go to lokta.ai