---
title: "Start CLI or MCP device authorization"
method: POST
path: "/v1/oauth/device/authorize"
tags: ["Auth"]
---

# Start CLI or MCP device authorization

`POST /v1/oauth/device/authorize`

## Request body

- DeviceAuthorizationRequest
  - `client_id` string, required
  - `scope` string[], required

## Response `200`

Device authorization started

- DeviceAuthorizationResponse
  - `device_code` string, required
  - `user_code` string, required
  - `verification_uri` string, uri, required
  - `verification_uri_complete` string, uri, required
  - `expires_in` integer, required
  - `interval` integer, required

## Other responses

- `default` — Standard Cerul error envelope

## Changes

- **2026-07-27** `c15615d54993` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/cerul-ai/apis/cerul-api/changes/v1/oauth/device/authorize/post.md)

---

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