---
title: "POST /oauth-server/token"
method: POST
path: "/oauth-server/token"
---

# POST /oauth-server/token

`POST /oauth-server/token`

## Query parameters

- `code` string, required
- `redirect_uri` string, required
- `grant_type` string, required

## Response `200`

The access token.

- object
  - `access_token` string

## Other responses

- `400` — The grant_type is not supported
- `401` — The redirection URL, client secret or code is invalid
- `404` — The OAuth client does not exist

---

[API](https://skmtc.dev/routine/apis/routine-co.md) · [All operations](https://skmtc.dev/routine/apis/routine-co/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/routine/routine-co/revisions/efced8f8ad00/schema)
