---
title: "oauth token endpoint"
method: POST
path: "/inter-api/iam/oauth2/token"
tags: ["iam/oauth", "iamOauth"]
---

# oauth token endpoint

`POST /inter-api/iam/oauth2/token`

## Query parameters

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

## Response `200`

A successful response.

- object
  - `code` integer
  - `data` OAuthTokenResp
    - `access_token` string, required
    - `expires_in` integer, required
    - `scope` string
    - `token_type` string, required
  - `msg` string

---

[API](https://skmtc.net/freezonex/apis/untitled-api.md) · [All operations](https://skmtc.net/freezonex/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/freezonex/untitled-api/revisions/1837fd35a283/schema)
