List time slots
GET
/api/time-slots
Life-moment containers - "Early morning", "Before work", "Evening"
(REDESIGN-V03 §6.0). The dashboard and the Reminders surface group by
this same table, so "morning" means one thing across the app.
An item belongs to the slot with the latest start_time <= its time of
day, where time of day is anchor_time if set, else due_at read in
the user's timezone.
Authorizations
bearerAuth
API token created via POST /api/tokens or the db:create-token CLI command
Type
HTTP (bearer)
Responses
Time slots, earliest first
application/json
JSON
{
"data": {
"time_slots": [
{
"id": 0,
"user_id": 0,
"label": "Early morning",
"start_time": "07:00",
"sort_order": 0,
"created_at": "string"
}
],
"count": 0
}
}
GET
/api/time-slots
