---
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`

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/fastapi.md) · [All operations](https://skmtc.dev/stardrift/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stardrift/fastapi/revisions/00746572572a/schema)
