---
title: "POST /api/connections"
method: POST
path: "/api/connections"
tags: ["connections"]
---

# POST /api/connections

`POST /api/connections`

## Request

- Base URL: `https://app.heykairon.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.heykairon.com/api/connections`
- Auth: API key in header `x-api-key`

## Request body

- ConnectLinkedinDto
  - `username` string, required
  - `password` string, required
  - `totpSecret` string
  - `captureScope` 'full' | 'future_only' | 'leads_and_platform', required
  - `backfillMonths` integer
  - `country` string

## Response `201`

---

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