---
title: "Generate short-lived SSE stream token"
method: POST
path: "/api/v1/checks/{check_id}/sse-token"
tags: ["checks"]
---

# Generate short-lived SSE stream token

`POST /api/v1/checks/{check_id}/sse-token`

## Request

- Base URL: `https://api.trueight.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.trueight.com/api/v1/checks/{check_id}/sse-token`
- Auth: none declared

Generate a short-lived, check-scoped token for SSE progress streaming.

Use this token as `?token=<token>` in the `GET /progress` EventSource URL
instead of passing the full JWT in the query string.

Token is valid for 5 minutes and scoped to the specified check ID.

## Path parameters

- `check_id` string, required

## Response `200`

SSE stream token

- SSETokenResponse: Short-lived token for SSE progress streaming.
  - `token` string, required: Check-scoped token (valid 5 minutes). Pass as ?token= in the EventSource URL.
  - `expiresIn` integer, required: Token lifetime in seconds
  - `streamUrl` string, required: Full SSE endpoint URL with token appended

## Other responses

- `404`: Check not found
- `422`: Validation Error

---

[API](https://skmtc.dev/trueight/apis/tru8-evidence-research-api.md) · [All operations](https://skmtc.dev/trueight/apis/tru8-evidence-research-api/llms.txt) · [OpenAPI document](https://skmtc.dev/trueight/apis/tru8-evidence-research-api/revisions/5684065fa01a?raw)
