API Search endpoints…⌘K Get API credentialsGet access

Offer a document category to an entity type

POST/lokta-lms/api/v1/documentcategories

Mandatory fields: entityType, documentCategoryId

Optional fields: documentTagIds, orderPosition, active

documentTagIds may be empty; a category configured before its tags are known is a legitimate state, and
being able to express it is why the mapping is two tables rather than one triple.

One category may be offered to one entity type once; a second attempt is a 403.

Request body application/json

documentCategoryIdinteger · int64 · required
entityTypestring · required
activeboolean · optional
documentTagIdsarray · optional
orderPositioninteger · int32 · optional

Responses

200OK

Response fields

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