---
title: "Token"
method: POST
path: "/api/v1/oauth/token"
tags: ["oauth"]
---

# Token

`POST /api/v1/oauth/token`

Exchange authorization code for API key (as access_token).

ChatGPT sends:
  POST /oauth/token
  Content-Type: application/x-www-form-urlencoded
  grant_type=authorization_code&code=...&redirect_uri=...&client_id=...&client_secret=...

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.net/usebolsai/apis/bolsai.md) · [All operations](https://skmtc.net/usebolsai/apis/bolsai/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usebolsai/bolsai/versions/4ff1922c6a7f/schema)
