# Remindo API

Your Remindo is your family's calendar screen. Your own programs and AI assistants can put reminders on it and use its
Discover page as a second screen. Make a **key** on the phone web (Settings › AI and apps › Connect a computer); it starts with `rmd_`
and is shown once. Send it as `Authorization: Bearer <key>`. Revoke it on the phone at any time.

## Connect an AI (MCP)

Remindo speaks MCP (Streamable HTTP). Add a custom connector / MCP server:

- URL: `https://server-us.remindo-api.workers.dev/mcp` with the header `Authorization: Bearer <key>`
- or, where a client cannot send a header, the private URL `https://server-us.remindo-api.workers.dev/mcp/k/<key>` (keep it secret: it is the key)

Tools: `add_reminder`, `update_reminder`, `list_lists`, `list_reminders`, `complete_reminder`, `delete_reminder`, `show_card`, `remove_card`.

Machine-readable: `https://server-us.remindo-api.workers.dev/api/openapi.json` (OpenAPI 3.1).

## Reminders

| Call | Body / query | Answer |
| --- | --- | --- |
| `POST /api/v1/reminders` | `{ "what", "date"?, "time"?, "repeat"?, "who"?, "kind"? }` | `{ ok, result: { reminders: [...] } }` |
| `GET /api/v1/reminders?days=7` | days 1–31 | `{ ok, result: { timezone, today, until, reminders } }` |
| `POST /api/v1/reminders/<id>/done` | `{ "done"?: true, "day"? }` | `{ ok, result: { id, done, changed } }` |
| `PATCH /api/v1/reminders/<id>` | any of the fields above | `{ ok, result: { reminders: [...] } }` |
| `DELETE /api/v1/reminders/<id>` | — | `{ ok, result: { id, deleted } }` |
| `GET /api/v1/lists` | — | `{ ok, result: { lists: [{ list_id, name, closed }] } }` |

- `what`: the words, 1–200 characters, as they should be read aloud.
- `date` `YYYY-MM-DD` and `time` `HH:mm` (24-hour) are in the family's time zone (`GET` shows it). A time
  rings and is read aloud; a date without a time is a to-do of that day; neither is a note.
- `repeat`: `daily`, `weekdays`, `weekly`, `monthly`, `yearly` or an RRULE. `who`: family member names.
- `kind: "list"` adds a line to a list (no date or time); `list_id` says which, else the first open list.
- `day` ticks one day of a repeating reminder. Events from a linked Google / Outlook calendar are changed there.
- Errors: `400 { error: "<what>" }` naming the field (`what_required`, `date_invalid`, `time_invalid`, …),
  `401` a wrong or revoked key, `404` no such item in your family, `429` too many calls.

```
curl -s -X POST https://server-us.remindo-api.workers.dev/api/v1/reminders -H "Authorization: Bearer <key>" -H "Content-Type: application/json"   -d '{"what":"Send the Q4 report to Tom","date":"2026-11-20","time":"16:00"}'
```

## Discover cards (your second screen)

`POST /api/v1/cards` puts a card on the Discover page; the same `id` replaces it.

- `{ "id", "kind": "text", "title", "subtitle"?, "text" }`: a short note (text up to 300 characters)
- `{ "id", "kind": "list", "title", "items": [ ... ] }`: up to 8 lines of 60 characters
- `{ "id", "kind": "number", "title", "value", "unit"?, "note"? }`: one big number
- `expires_in_s` (60 s to 30 days) removes it by itself. Title and subtitle 40 characters.

`GET /api/v1/cards` lists them, `DELETE /api/v1/cards/<id>` removes one. At most 12 cards. A family's apps make at most 120 changes an hour, cards and reminders together.

```
curl -s -X POST https://server-us.remindo-api.workers.dev/api/v1/cards -H "Authorization: Bearer <key>" -H "Content-Type: application/json"   -d '{"id":"focus","kind":"number","title":"Focus today","value":"3.5","unit":"h"}'
```

## Window notices for coding assistants

Claude Code, Codex and other agents can ring the Remindo when they need you: see https://server-us.remindo-api.workers.dev/ai/setup.

Remindo only stores and passes on what you send. Nothing here is shared outside your family.
