Developer API

LetanAI API,
built for developers.

A RESTful API to build on top of your LetanAI ERP. Every endpoint is fully documented with parameters, examples, and a live console — so you can test the connection in seconds.

base urlhttps://yourdomain.com/api
Get API access
17
Endpoints
7
Modules
JSON
Format
REST + JSON
Standard, predictable endpoints.
Bearer auth
JWT with role-based scopes.
Audit trail
Every write is recorded.
99.9% uptime
Built for production loads.

API reference

Every endpoint, parameter, and example — with a live console to test it all.

All systems operational
POST/api/auth/login

Authenticate a user and receive a token.

Takes an organization username and password and returns a signed JWT together with the authenticated user profile. Use the token returned here for every other request, sent as a Bearer token.

Parameters

ParameterTypeLocationDescription
usernamerequiredstringbodyThe account username or email.
passwordrequiredstringbodyThe account password.

Request body

{ "username": "you@company.com", "password": "…" }

Status codes

200Login successful — returns token and user.
401Invalid credentials.