---
title: "Track Share View"
method: POST
path: "/api/v1/share/{share_token}/view"
tags: ["share"]
---

# Track Share View

`POST /api/v1/share/{share_token}/view`

Increment the view count for a shared project.

Called by the frontend once per browser session to track views.
Separated from the GET endpoint to avoid double-counting from
React StrictMode's double-mount cycle.

Args:
    share: Validated ProjectShare from token
    share_service: ProjectShareService for view count operations

Returns:
    Success confirmation

## Path parameters

- `share_token` string, required

## Response `200`

Successful Response

- ShareViewResponse — Response for POST view tracking on a share link.
  - `success` boolean, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/maia-analytics/apis/maia-api.md) · [All operations](https://skmtc.net/maia-analytics/apis/maia-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/maia-analytics/maia-api/versions/ba2b8d962161/schema)
