---
title: "Start a device-code connection"
method: POST
path: "/v1/connect/start"
tags: ["Connection"]
---

# Start a device-code connection

`POST /v1/connect/start`

## Request

- Base URL: `https://app.taskfuel.ai`
- URL: `https://app.taskfuel.ai/v1/connect/start`
- Auth: none required

Returns a short-lived code and browser URL. Show both to the user and ask them to sign in and approve the connection. No API key is required.

## Response `200`

Connection request created.

- ConnectStart
  - `code` string, required
  - `verification_url` string, uri, required
  - `expires_in` integer, required: Lifetime in seconds.
  - `poll_interval` integer, required: Recommended polling interval in seconds.

---

[API](https://skmtc.dev/taskfuel/apis/taskfuel-gateway-api.md) · [All operations](https://skmtc.dev/taskfuel/apis/taskfuel-gateway-api/llms.txt) · [OpenAPI document](https://skmtc.dev/taskfuel/apis/taskfuel-gateway-api/revisions/fbf2d5210800?raw)
