nefqa / notes

sync api

v1 · all endpoints require a bearer token

base url: https://notes.nefqa.com/api/v1

authentication

POST /api/v1/auth/session
Content-Type: application/json

{"email": "...", "password_proof": "...", "device": "..."}

returns a short-lived access token and a refresh token. official clients never send the password itself; password_proof is derived with argon2id.

operations

GET  /api/v1/sync/ops?since=<cursor>
POST /api/v1/sync/ops
GET  /api/v1/sync/stream        # long-lived, server-sent events

blobs

PUT  /api/v1/blobs/<id>/chunks/<n>
GET  /api/v1/blobs/<id>/chunks/<n>

unauthenticated requests receive 401 unauthorized with a json error body.