---
title: "Token"
method: POST
path: "/t/{tenant}/oauth/token"
tags: ["MCP Entra OAuth"]
---

# Token

`POST /t/{tenant}/oauth/token`

## Request

- Base URL: `https://api.leapsurgebi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.leapsurgebi.com/t/{tenant}/oauth/token`
- Auth: none declared
- TypeScript: <https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/docs/t/:tenant/oauth/token/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `tenant` string, required

## Headers

- `authorization` string

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

- BodyTokenTTenantOauthTokenPost
  - `grant_type` string, required
  - `code` string
  - `redirect_uri` string
  - `code_verifier` string
  - `refresh_token` string
  - `client_id` string
  - `client_secret` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-24** `23b42df3193a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/changes/t/:tenant/oauth/token/post.md)

---

[API](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi.md) - [All operations](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/llms.txt) - [OpenAPI document](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/revisions/13653cb8ee76?raw)
