---
title: "Post Account Link Code"
method: POST
path: "/account-link/code"
---

# Post Account Link Code

`POST /account-link/code`

## Request

- Base URL: `https://api.local-mcp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.local-mcp.com/account-link/code`
- Auth: none declared

Device-code linking (contract account-link-code.v1): a code for the user to type in «My LMCP».

## Request body

- CodeRequest
  - `machine_id` string
  - `t` integer
  - `label` string
  - `sig` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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