---
title: "Connect By Code"
method: POST
path: "/api/me/connect-by-code"
tags: ["me"]
---

# Connect By Code

`POST /api/me/connect-by-code`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/me/connect-by-code`
- Auth: none declared

Send a connection request to the owner of a connect code. If the target auto-accepts, the
connection is established immediately.

## Headers

- `x-impersonate-identity-id` string, nullable

## Request body

- ConnectByCodeRequest
  - `code` string, required

## Response `201`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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