Monica
Log in
API v1
v1
View as Markdown

Answer a reminder date of a group

PUT /api/v1/vaults/{vault}/groups/{group}/reminder-occurrences/{occurrence}/answer

Say whether you remembered a date or forgot it. The answer is final, and the change is written to the account log.

Groups are not yet available to every account. Until they are available to yours, every endpoint here answers 404.

remembered is accepted from the date's own day, and earlier answers 422 on answer, saying the reminder is not due yet. forgotten is accepted from the day after, and earlier answers 422 on answer, saying you can say you forgot from the day after. Both are read against today in your time zone.

An answer cannot be changed or taken back. A second answer for the same date answers 422 on answer, saying the reminder has already been answered, whatever it says. A cancelled date answers 422 on answer, saying it was cancelled and cannot be answered.

Answering drops the notifications for that date not sent yet, and touches no other date.

Parameters

Sent as JSON. Anything not listed here is ignored.

vault string Required

The vault the group lives in, named either by the readable name it reports as slug or by its id.

group uuid Required

The id of the group. One addressed through the wrong vault, deleted, or belonging to another account, answers 404.

occurrence uuid Required

The id of the date. A date of another group answers 404.

answer string Required

remembered or forgotten.

Returns

The reminder date object, with its answer.

data object

The date.

data.type string

Always reminder_occurrence. It names the kind of record, so a caller holding several kinds can tell them apart without looking at where they came from.

data.id string

The id of this record, as a string even when it reads as a number. It is what every endpoint naming this record takes.

data.attributes object

Everything the record holds.

data.attributes.reminder uuid

The reminder this date belongs to.

data.attributes.name string

What the reminder says.

data.attributes.group object

The group the reminder is about.

data.attributes.group.id uuid

The id of the group.

data.attributes.group.name string

What the group is called.

data.attributes.entity object

The record a reminder is about. Always null for a group.

data.attributes.date string

The day it falls on, written as a year, a month and a day, in the reminder's time zone.

data.attributes.scheduled_for timestamp

The instant it is told at, as a count of seconds since 1970.

data.attributes.category string

Where it stands while it waits for an answer, read against today in your time zone: upcoming before its day, today on its day, overdue from the day after. Null once it is answered or cancelled.

data.attributes.answer string

What you said about this date: remembered or forgotten. Null while nobody answered. No answer is ever filled in for you, and a notification sent or read never counts as one.

data.attributes.answered_at timestamp

When the answer was given, as a count of seconds, or null.

data.attributes.cancelled_reason string

Why the date will not be asked about any more, such as rule_deleted or rule_changed. Null otherwise. A cancelled date is never counted as forgotten.

data.links object

Where to find what this date belongs to.

data.links.reminder string

The absolute address of the reminder.

Rate limit

Sixty requests per minute, per user, shared by every key and device. Every answer carries the budget left in X-RateLimit-Remaining.

PUT
curl https://people.hansyeoh.com/api/v1/vaults/dunder-mifflin/groups/5d2a7c91-3e48-4b06-9f1d-a83c60e2b4f7/reminder-occurrences/b2f8d051-6e93-4a17-9c4b-58e1a7f03c26/answer \
-X PUT \
-H "Authorization: Bearer $MONICA_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"answer": "remembered"
}'
const response = await fetch('https://people.hansyeoh.com/api/v1/vaults/dunder-mifflin/groups/5d2a7c91-3e48-4b06-9f1d-a83c60e2b4f7/reminder-occurrences/b2f8d051-6e93-4a17-9c4b-58e1a7f03c26/answer', {
method: 'PUT',
headers: { Authorization: `Bearer ${token}`, 'Content-Type': 'application/json' },
body: JSON.stringify({
answer: 'remembered',
}),
})
const data = await response.json()
$response = Http::withToken($token)->put('https://people.hansyeoh.com/api/v1/vaults/dunder-mifflin/groups/5d2a7c91-3e48-4b06-9f1d-a83c60e2b4f7/reminder-occurrences/b2f8d051-6e93-4a17-9c4b-58e1a7f03c26/answer', [
'answer' => 'remembered',
]);
Response 200
{
"data": {
"type": "reminder_occurrence",
"id": "b2f8d051-6e93-4a17-9c4b-58e1a7f03c26",
"attributes": {
"reminder": "7c1e4a82-5b39-4d07-8f62-c3a9e0d51b84",
"name": "Book the conference room for the birthday party",
"group": {
"id": "5d2a7c91-3e48-4b06-9f1d-a83c60e2b4f7",
"name": "Party planning committee"
},
"entity": null,
"date": "2026-10-20",
"scheduled_for": 1792501200,
"category": null,
"answer": "remembered",
"answered_at": 1792504800,
"cancelled_reason": null
},
"links": {
"reminder": "https://people.hansyeoh.com/api/v1/vaults/dunder-mifflin/groups/5d2a7c91-3e48-4b06-9f1d-a83c60e2b4f7/reminders/7c1e4a82-5b39-4d07-8f62-c3a9e0d51b84"
}
}
}

Keys act as you, with exactly the access you have. Make one per integration so you can revoke it alone.