---
title: "Start Connection Oauth"
method: POST
path: "/api/v1/connections/{connection_id}/oauth/start"
tags: ["Connections"]
---

# Start Connection Oauth

`POST /api/v1/connections/{connection_id}/oauth/start`

## Request

- The document declares no server URL.
- Auth: one of:
  - OAuth 2
    - Password
    - Token URL: `api/v1/login`
  - API key in query parameter `x-api-key`
  - API key in header `x-api-key`

Authorize an instance-configured registration for an existing connection.

## Path parameters

- `connection_id` string, uuid, required

## Request body

- OAuthStartRequest
  - `registration_id` string, required
  - `scopes` string[], required

## Response `200`

Successful Response

- OAuthStartResponse
  - `authorization_url` string, required: Open in the consent browser, including the loopback handoff on Desktop.

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-21** `4349fbe90c64`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/langflow-ai/apis/langflow/changes/api/v1/connections/:connection_id/oauth/start/post.md)

---

[API](https://skmtc.dev/langflow-ai/apis/langflow.md) - [All operations](https://skmtc.dev/langflow-ai/apis/langflow/llms.txt) - [OpenAPI document](https://skmtc.dev/langflow-ai/apis/langflow/revisions/4349fbe90c64?raw)
