All requests go to https://api.notes.test/v2. Authenticate with the
X-Notes-Key header.
GET /notes returns notes, newest first, 50 per page. Pass the
next_page value from the response as page_token to get the next page.
| Parameter | Type | Description |
|---|---|---|
| page_token | string | Cursor from a previous response |
| tag | string | Only notes with this tag |
{
"notes": [{"id": "n_1", "text": "Buy milk", "tags": ["home"]}],
"next_page": "abc123"
}
GET /notes/:note_id returns a single note.
POST /notes with a JSON body:
{"text": "Buy milk", "tags": ["home"]}
text is required.
DELETE /notes/:note_id deletes it permanently.
Webhooks