---
title: "POST /v1/oauth2/device/authorize"
method: POST
path: "/v1/oauth2/device/authorize"
---

# POST /v1/oauth2/device/authorize

`POST /v1/oauth2/device/authorize`

## Request

- The document declares no server URL.
- Auth: none declared

## Request body `application/x-www-form-urlencoded`

- object
  - `client_id` string, required
  - `scope` string

## Response `200`

Default Response

- object
  - `device_code` string, required
  - `user_code` string, required
  - `verification_uri` string, required
  - `verification_uri_complete` string, required
  - `expires_in` number, required
  - `interval` number, required

## Other responses

- `400`: Default Response
- `500`: Default Response

---

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