---
title: "POST /v1alpha1/auth/token"
method: POST
path: "/v1alpha1/auth/token"
tags: ["AuthService"]
---

# POST /v1alpha1/auth/token

`POST /v1alpha1/auth/token`

Request token for an Agent or MCP Server

## Request body

- TokenRequest
  - `authorizationCode` string — Pass the code received from the authorization endpoint.

## Response `200`

OK

- TokenResponse
  - `accessToken` string — The access token issued to the Agent or MCP Server.

## Other responses

- `default` — Default error response

---

[API](https://skmtc.net/agntcy/apis/agntcy-identity-service-api.md) · [All operations](https://skmtc.net/agntcy/apis/agntcy-identity-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agntcy/agntcy-identity-service-api/revisions/1dc8f8328648/schema)
