---
title: "Issue a one-shot dashboard realtime ticket"
method: POST
path: "/api/realtime/ticket"
tags: ["Rooms"]
---

# Issue a one-shot dashboard realtime ticket

`POST /api/realtime/ticket`

## Request

- Base URL: `http://localhost:3013`
- URL: `http://localhost:3013/api/realtime/ticket`
- Auth: HTTP bearer

The ticket authorizes one dashboard socket for presence rooms: Comb drives (`comb.presence`) and sessions (`session.presence`). An operator-key tab's picked user (`X-Swarm-User-Id`) rides on the ticket so session presence can check that user's access.

## Response `200`

One-shot realtime ticket

- object
  - `ticket` string, required
  - `expiresAt` integer, required

## Other responses

- `403`: Presence is not allowed

## Changes

- **2026-10-19** `47fc2bbb7544`: 1 info
  - removed the non-success response with the status `404`
- **2026-10-02** `8cecc4b82201`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/changes/api/realtime/ticket/post.md)

---

[API](https://skmtc.dev/desplega-ai/apis/agent-swarm-api.md) - [All operations](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/llms.txt) - [OpenAPI document](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/revisions/7e4c7198192a?raw)
