---
title: "Connect"
method: POST
path: "/api/py/integrations/{provider}/connect"
---

# Connect

`POST /api/py/integrations/{provider}/connect`

## Request

- Base URL: `https://api.getauctor.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getauctor.com/api/py/integrations/{provider}/connect`
- Auth: none declared

## Path parameters

- `provider` string, required

## Request body

- ConnectBody
  - `principal_type` 'user' | 'org', required: Who owns a credential; extensible (AUC-5797 §2).
  - `principal_id` string, required
  - `external_key` string
  - `redirect_uri` string, nullable
  - `scopes` string[], nullable
  - `metadata` object

## Response `200`

Successful Response

- ConnectResponse
  - `state` string, required
  - `authorize_url` string, nullable
  - `form_spec` object, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-01** `aeb6faa3b8f0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/getauctor/apis/getauctor-api/changes/api/py/integrations/:provider/connect/post.md)

---

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