API Get API credentialsGet access

Lokta API

The REST API of Lokta, the agentic loan servicing platform: 314 endpoints across 35 sections, grouped by what they do. Every request authenticates with HTTP Basic and names its tenant; every write follows the platform's date and command conventions.

Start here

Quickstart Create a client, apply for a loan, approve and disburse it, and record a repayment, in that order. API Reference Every endpoint on its own page: parameters, schemas, and copy-runnable samples in five languages, with a Markdown twin for agents. Explorer The whole reference on one page, with ⌘K search across every endpoint. Conventions Auth, the tenant header, dates & locale, commands, pagination, errors and idempotency. Read once, applies everywhere. Errors What each status code means and what to do about it, with the partner error codes. Postman collection Every endpoint as a Postman collection, grouped as the reference is. Set your credentials and send. OpenAPI spec The document this site renders. Feed it to Postman or a code generator.

Your first call

Set the base URL

Every path in the reference hangs off the API base URL. This instance:

https://default.lokta.tech/lokta-lms/api/v1
Authenticate and name the tenant

HTTP Basic credentials of an application user, plus the Tenant-Identifier header on every request.

List loan accounts
curl 'https://default.lokta.tech/lokta-lms/api/v1/loans' \
  -u '{username}:{password}' \
  -H 'Tenant-Identifier: default'

From here, the Reference has the other endpoints, and the Conventions page explains the date format you will meet on your first write.

Every page is generated from the API's OpenAPI document. The grouping is baked into openapi.curated.json, not filtered in the browser.

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