API Search endpoints…⌘K Get API credentialsGet access

Verify authentication

POST/lokta-lms/api/v1/authentication

Authenticates the credentials provided and returns the set roles and permissions allowed.

When to use it

Call this first to confirm a username and password work on the tenant and to read the roles and permissions that user holds. Every other endpoint authenticates the same way, so there is no token to keep.

Request body application/json

passwordstring · required
usernamestring · required

Responses

200OK
400Unauthenticated. Please login
403Password reset required

Response fields

authenticatedboolean · optional
base64EncodedAuthenticationKeystring · optional
officeIdinteger · int64 · optional
officeNamestring · optional
organisationalRoleEnumOptionData · optional
permissionsarray · optional
rolesarray of RoleData · optional
staffDisplayNamestring · optional
staffIdinteger · int64 · optional
userIdinteger · int64 · optional
usernamestring · 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