LinOTP 2 Development / API

The LinOTP 2 server is accessed via a simple web API provided by pylons. The return is a json structure.

Thus the client would e.g. call the url


to get a list of all tokens on the server.

It would call a url


to get all users known to the LinOTP 2 server.

The authentication modules would either call the urls




to ask the LinOTP server if the provide password/OTP for this user would be valid.

The complete list of these url commands (pylons controllers) can be deduced from the source documentation. Additionally you may browse the complete python API of all python functions here: