---
title: "Start connecting an agent to a human"
method: POST
path: "/v1/agent/device/authorize"
tags: ["agent"]
---

# Start connecting an agent to a human

`POST /v1/agent/device/authorize`

## Request

- Base URL: `https://api.day1work.com`
- URL: `https://api.day1work.com/v1/agent/device/authorize`
- Auth: none declared

## Request body

- object
  - `client_name` string, required
  - `provider` string
  - `scopes` string[]

## Response `200`

device_code, user_code, verification_uri and interval

---

[API](https://skmtc.dev/day1work/apis/day1work-agent-api.md) · [All operations](https://skmtc.dev/day1work/apis/day1work-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/day1work/apis/day1work-agent-api/revisions/013058eece72?raw)
