---
title: "Allow the workbench: records the pairing."
method: POST
path: "/workbench/pairing-requests/{code}/approve"
tags: ["Workbench"]
---

# Allow the workbench: records the pairing.

`POST /workbench/pairing-requests/{code}/approve`

## Request

- Base URL: `https://www.livediagram.app/api`
- URL: `https://www.livediagram.app/api/workbench/pairing-requests/{code}/approve`
- Auth: HTTP bearer

## Path parameters

- `code` string, required

## Response `200`

Success.

- object
  - `pairing` WorkbenchPairing, required
    - `id` string, required
    - `name` string, nullable, required
    - `origin` string, required
    - `pairedAt` number, required
    - `tokenId` string, required

## Other responses

- `401`: Error.
- `404`: Error.
- `409`: Error.
- `410`: Error.
- `429`: Rate limited. Back off and retry.

---

[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)
