---
title: "Check code [Beta]"
method: GET
path: "/v1/codes/check"
---

# Check code \[Beta\]

`GET /v1/codes/check`

## Request

- Base URL: `https://auth.api.sandbox.cleeng.com`
- URL: `https://auth.api.sandbox.cleeng.com/v1/codes/check`
- Auth: none required

Use this endpoint for Device Flow Login (PIN Pair) functionality to check if the generated code has been authorized.

## Query parameters

- `code` string, required
- `deviceId` string, required
- `broadcasterId` integer, required

## Response `200`

200

- object
  - `tokenType` string
  - `accessToken` string
  - `refreshToken` string
  - `expiresIn` integer
  - `customerId` string
  - `additionalPayload` string

## Other responses

- `400`: 400
- `401`: 401
- `404`: 404
- `410`: 410
- `500`: 500

---

[API](https://skmtc.dev/cleeng/apis/authentication-api.md) - [All operations](https://skmtc.dev/cleeng/apis/authentication-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cleeng/apis/authentication-api/revisions/e41656c81b43?raw)
