---
title: "Mark saved report as viewed"
method: POST
path: "/api/saved-report/{id}/mark-viewed"
tags: ["Saved Reports"]
---

# Mark saved report as viewed

`POST /api/saved-report/{id}/mark-viewed`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/saved-report/{id}/mark-viewed`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/saved-report/:id/mark-viewed/post.ts> (a function with typed inputs; its response is checked against the schema)

Marks a saved report as viewed by the authenticated user

## Path parameters

- `id` integer, required

## Response `200`

Report marked as viewed successfully

- SavedReportResource
  - `id` integer
  - `name` string
  - `description` string, nullable
  - `type` string
  - `url` string
  - `payload` object
  - `is_viewed` boolean
  - `source_user_id` integer
  - `source_report_id` integer

## Other responses

- `400`: The stored report payload is not valid JSON.
- `403`: Access denied - user is not the owner of this report
- `404`: Report not found

---

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