---
title: "Get Trip Unread Targets"
method: GET
path: "/trips/{trip_id}/notifications/unread-targets"
tags: ["notifications"]
---

# Get Trip Unread Targets

`GET /trips/{trip_id}/notifications/unread-targets`

## Request

- Base URL: `https://stardrift.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://stardrift.ai/trips/{trip_id}/notifications/unread-targets`
- Auth: none declared

List of (type, scope, target_id) for each unread notification on
this trip. Card renderers use this to flash a dot on items the user has
something new on. One round trip per trip page mount.

## Path parameters

- `trip_id` string, uuid, required

## Response `200`

Successful Response

- UnreadTargetsResponse
  - `targets` UnreadTarget[], required
    - `type` string, required
    - `scope` string, required
    - `target_id` string, required

## Other responses

- `422`: Validation Error

---

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