---
title: "Start an agent connect request (no key needed)"
method: POST
path: "/v1/agent/connect"
---

# Start an agent connect request (no key needed)

`POST /v1/agent/connect`

## Request

- Base URL: `https://varosity.ai/api`
- URL: `https://varosity.ai/api/v1/agent/connect`
- Auth: none required

Device-authorization style sign-in for agents. Show the user verification_uri_complete; they sign in and approve. Then poll /v1/agent/connect/poll with request_id and poll_token every `interval` seconds until it returns api_key (once). Requests expire after 15 minutes.

## Request body

- object
  - `agentName` string

## Response `200`

Request started

- object
  - `request_id` string
  - `poll_token` string
  - `user_code` string
  - `verification_uri` string
  - `verification_uri_complete` string
  - `expires_in` integer
  - `interval` integer

## Other responses

- `429`: Too many requests

---

[API](https://skmtc.dev/varosity/apis/varosity-ai-api.md) · [All operations](https://skmtc.dev/varosity/apis/varosity-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/varosity/apis/varosity-ai-api/revisions/81d0169a4897?raw)
