Anyone know how to use Joplin Server API

I checked the source code of the joplin server, i found there is folder api which will provides http request calls.
Therefore i try to use
'''
curl -X POST --data '{"email": "xxx", "password": "yourpass"}' http://:22300/login
'''
This could successfully login and return a session id with cookie

You could set the cookie for the next request, however i donot know what others i could use
I tried other end points in api/items, nothing is working, only if i use
curl -X GET http://:22300/api/items/1/delta, the server will give me some dity data.

Does anyboday know how to access the data correctly with server API?

1 Like

There are some threads about accessing the server API. I think this post is a good summary:

if you prefer to use Joplin server it does have an API. I don't think it's documented so you'd have to reverse-engineer it from the code or by capturing network traffic.

If it's an option for you, the client has a well documented API.

Thank you for your answer. It looks like Joplin Data API is the one i should use chrome extension for joplin first and then visit the interface only locally, it does not make too much sense.