---
title: "Get a code"
method: GET
path: "/open-api/v3/oauth/authorize"
tags: ["Authentication"]
---

# Get a code

`GET /open-api/v3/oauth/authorize`

## Query parameters

- `clientId` string, required

## Response `200`

OK

- CodeRespDTO
  - `code` string — Error code
  - `message` string — Error message
  - `data` CodeRespData
    - `code` string, required — code As a ticket in exchange for an access token, code can only be used once. If it is not used for 10 minutes, it will expire automatically
    - `timestamp` integer, required — response time stamp

## Other responses

- `400` — Bad Request

---

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