---
title: "OAuth token endpoints"
method: POST
path: "/auth/oauth/token"
tags: ["Oauth"]
---

# OAuth token endpoints

`POST /auth/oauth/token`

This endpoint is used to exchange an authorization code or refresh token for an access token.

## Request body

- object
  - `grant_type` 'authorization_code' | 'refresh_token', required
  - `client_id` string
  - `client_secret` string

## Response `200`

Successful response

- unknown

---

[API](https://skmtc.net/hexclave/apis/hexclave-rest-api-3.md) · [All operations](https://skmtc.net/hexclave/apis/hexclave-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hexclave/hexclave-rest-api-3/revisions/9b9326fe08a5/schema)
