---
title: "code auth"
method: POST
path: "/auth/v1/token/code"
tags: ["auth"]
---

# code auth

`POST /auth/v1/token/code`

## Request body

- CodePayload
  - `clientId` string, required — Client ID
  - `clientSecret` string — Client Secret
  - `code` string, required — Authorization Code
  - `redirectURI` string, required — Redirect URI

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.dev/dynata/apis/sample-api.md) · [All operations](https://skmtc.dev/dynata/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dynata/sample-api/revisions/b3b54de87dfc/schema)
