---
title: "Token"
method: POST
path: "/v1/mcp/oauth/token"
tags: ["mcp", "mcp_oauth"]
---

# Token

`POST /v1/mcp/oauth/token`

## Request

- Base URL: `https://api.linktodm.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.linktodm.com/v1/mcp/oauth/token`
- Auth: none declared

Exchange authorization code for an access token (RFC 6749 + PKCE).

## Request body `application/x-www-form-urlencoded`

- BodyTokenV1McpOauthTokenPost
  - `grant_type` string, required
  - `code` string
  - `redirect_uri` string
  - `client_id` string
  - `code_verifier` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/linktodm/apis/salesmorph.md) - [All operations](https://skmtc.dev/linktodm/apis/salesmorph/llms.txt) - [OpenAPI document](https://skmtc.dev/linktodm/apis/salesmorph/revisions/4af0ad5dbe92?raw)
