KOsync implements the same API as the official Server.
This is an obvious requirement.
You can find my OpenAPI specification here.
If you are using JetBrains IDEs, you can also try the HTTP files in docs/api/examples.
KOsync has a WebSocket API that can be used for RPC and PubSub.
See WebSocket API for more information.