---
title: "Generate an access token"
method: POST
path: "/open-api/v3/oauth/access-token"
tags: ["Authentication"]
---

# Generate an access token

`POST /open-api/v3/oauth/access-token`

## Request body

- AccessTokenReqDTO
  - `clientId` string, required — Client ID.
  - `code` string, required — Authorization code.

## Response `200`

OK

- AccessTokenRespDTO
  - `code` string — Error code
  - `message` string — Error message
  - `data` AccessTokenRespData
    - `accessToken` string, required — Interface call credential
    - `refreshToken` string, required — refresh token(valid for 30 days, reauthorization is required after refresh token expires)
    - `expiresIn` integer, required — Certificate validity time, unit: second
    - `timestamp` integer, required — response time stamp

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/interlace/apis/core-resource.md) · [All operations](https://skmtc.net/interlace/apis/core-resource/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/interlace/core-resource/revisions/29c08a4da357/schema)
