Verify authentication
POST
/lokta-lms/api/v1/authenticationAuthenticates 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 · requiredusernamestring · requiredResponses
200OK400Unauthenticated. Please login403Password reset requiredResponse fields
authenticatedboolean · optionalbase64EncodedAuthenticationKeystring · optionalofficeIdinteger · int64 · optionalofficeNamestring · optionalorganisationalRoleEnumOptionData · optionalpermissionsarray · optionalrolesarray of RoleData · optionalstaffDisplayNamestring · optionalstaffIdinteger · int64 · optionaluserIdinteger · int64 · optionalusernamestring · optionalEvery 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