---
title: "Demo Track"
method: POST
path: "/api/v1/demo/track"
tags: ["demo"]
---

# Demo Track

`POST /api/v1/demo/track`

## Request

- Base URL: `https://yondry.app` (the document declares no server; this is the origin it was published from)
- URL: `https://yondry.app/api/v1/demo/track`
- Auth: none declared

Record that a partner's demo link was opened.

Returns 204 whatever happens. This is fired from the page on load, so a
failure here must be invisible to the visitor — a prospect must never see
the demo break because attribution had a bad day.

## Request body

- DemoTrackRequest: Beacon sent when the demo page loads. Only "view" is accepted here — a plan is recorded by the plan route itself, so the client cannot inflate the number that matters.
  - `partner` string, nullable
  - `event` 'view'
  - `session_id` string, nullable
  - `referrer` string, nullable

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

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