---
title: "Mint a single-use, one-minute ticket that opens a document in a paired developer tool. An origin the token is not paired with answers 428 with the pairing URL."
method: POST
path: "/workbench/tickets"
tags: ["Workbench"]
---

# Mint a single-use, one-minute ticket that opens a document in a paired developer tool. An origin the token is not paired with answers 428 with the pairing URL.

`POST /workbench/tickets`

## Request

- Base URL: `https://www.livediagram.app/api`
- URL: `https://www.livediagram.app/api/workbench/tickets`
- Auth: HTTP bearer

## Request body

- WorkbenchTicketRequest
  - `documentId` string, required
  - `origin` string, required
  - `tabId` string

## Response `201`

Success.

- WorkbenchTicketResponse
  - `documentId` string, required
  - `expiresAt` number, required
  - `tabId` string, nullable, required
  - `url` string, required

## Other responses

- `400`: Error.
- `401`: Error.
- `403`: Error.
- `404`: Error.
- `410`: Error.
- `428`: Error.
- `429`: Error.

---

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