---
title: "Complete Builder Connect"
method: POST
path: "/project-imports/{provider}/connect/complete"
tags: ["project-imports"]
---

# Complete Builder Connect

`POST /project-imports/{provider}/connect/complete`

## Request

- Base URL: `https://api.nanocorp.so` (the document declares no server; this is the origin it was published from)
- URL: `https://api.nanocorp.so/project-imports/{provider}/connect/complete`
- Auth: HTTP bearer

Turn one provider return into a temporary connection, for the initiating user only.

## Path parameters

- `provider` string, required

## Request body

- CompleteBuilderConnectRequest: What the provider appended to the callback, relayed by the callback page.
  - `state` string, nullable
  - `code` string, nullable
  - `error` string, nullable

## Response `200`

Successful Response

- CompleteBuilderConnectResponse: ``status``: ``ready`` (``connection_id`` set), ``declined``, ``expired``, ``missing_scope`` or ``unavailable``.
  - `status` string, required
  - `provider` string, required
  - `return_to` string, required
  - `connection_id` string, uuid, nullable
  - `account_label` string, nullable
  - `expires_in_seconds` integer, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-02** `c4a504a5119e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nanocorp/apis/nanocorp-api/changes/project-imports/:provider/connect/complete/post.md)

---

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