skip to content

notes API

OpenAPI specification

Create API keys at account. Send Authorization: Bearer YOUR_KEY. Browser requests use secure session cookies. Mutations require an Origin header matching the application origin; command-line clients must include it too. Data belongs to the authenticated account. Invalid credentials return 401; account outages return 503.

curl -H 'Authorization: Bearer YOUR_KEY' https://notes.dorianmarie.com/api/identity
MethodPathPurpose
GET/apiPublic application metadata
GET/api/identityAuthenticated identity
POST/api/syncSync {owner: account_user_id, notes:[{id,title,body,pinned,deleted,updated,revision,base}]}. At most five notes per request; title up to 500 characters, body up to 100000. UUID revisions compare against base; stale edits return the server note so offline edits can be preserved as conflict copies. Returns only the signed-in account’s notes.

open application