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