-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
ETAPI
Nate River edited this page Oct 21, 2025
·
11 revisions
ETAPI is Trilium's public/external REST API. It is available since Trilium v0.50.
The documentation is in OpenAPI format, available here.
trilium-py is a third-party Python implementation for ETAPI client, you can use Python to communicate with Trilium.
All operations have to be authenticated using a token. You can get this token either from Options -> ETAPI or programmatically using the /auth/login REST call (see the spec):
GET https://myserver.com/etapi/app-info
Authorization: ETAPITOKEN
Alternatively, since 0.56 you can also use basic auth format:
GET https://myserver.com/etapi/app-info
Authorization: Basic BATOKEN
- Where
BATOKEN = BASE64(username + ':' + password)- this is a standard Basic Auth serialization - Where
usernameis "etapi" - And
passwordis the generated ETAPI token described above.
Basic Auth is meant to be used with tools which support only basic auth.
Back to Overview
- Screenshot tour
- Basic concepts
- Installation & setup
- Advanced usage
- Developer guides
- FAQ
- Troubleshooting