---
title: "Issue a short-lived token for live delivery diagnostics"
method: GET
path: "/api/token/delivery"
tags: ["Live Telemetry"]
---

# Issue a short-lived token for live delivery diagnostics

`GET /api/token/delivery`

Returns a plain-text bearer token, valid for 60 seconds, that authorises
connecting to `/api/live/delivery/{target}` as a query parameter
(`?token=...`). Useful for EventSource clients that cannot send
`Authorization` headers. Requires `LiveDeliveryTest` permission.

## Response `200`

Short-lived delivery token

## Other responses

- `401` — Missing or invalid credentials
- `403` — Authenticated principal lacks the required permission

---

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