---
title: "On this day (Trvlrr Plus)"
method: GET
path: "/api/memories"
tags: ["Organise"]
---

# On this day (Trvlrr Plus)

`GET /api/memories`

## Request

- Base URL: `https://trvlrr.app`
- URL: `https://trvlrr.app/api/memories`
- Auth: HTTP bearer

For each of the coming days (default 7, at most 31): photos taken on that date in earlier years, grouped by year and trip, plus trips that merely spanned the date, and a random past trip to fall back on when nothing matches.

## Query parameters

- `days` integer, nullable: Days to cover, 1–31 (default 7).

## Response `200`

Memories by day.

- Memories
  - `days` object[], required
    - `date` string, required
    - `groups` object[], required
      - `year` integer, required
      - `years_ago` integer, required
      - `trip_id` string, required
      - `trip_title` string, required
      - `photos` object[], required
        - `id` string, required
        - `thumb_r2_key` string, nullable, required
        - `taken_at` string, required
      - `art_place` string, nullable
      - `travelers` string[]
  - `fallback` object, nullable, required: A past trip to show when the coming days have nothing.
    - `year` integer, required
    - `years_ago` integer, required
    - `trip_id` string, required
    - `trip_title` string, required
    - `photos` object[], required
      - `id` string, required
      - `thumb_r2_key` string, nullable, required
      - `taken_at` string, required
    - `art_place` string, nullable
    - `travelers` string[]

## Other responses

- `401`: No usable credential: a Clerk session token, a device token or an OAuth access token is required.
- `402`: Trvlrr Plus is required, or this month's AI allowance is used up.
- `403`: The caller may not do this to this account or trip.

---

[API](https://skmtc.dev/trvlrr/apis/trvlrr-api.md) · [All operations](https://skmtc.dev/trvlrr/apis/trvlrr-api/llms.txt) · [OpenAPI document](https://skmtc.dev/trvlrr/apis/trvlrr-api/revisions/ea024946b293?raw)
