---
title: "Confirm Slack Link"
method: POST
path: "/api/v1/integrations/slack/link"
tags: ["integrations"]
---

# Confirm Slack Link

`POST /api/v1/integrations/slack/link`

## Request

- Base URL: `https://api.aws.cognee.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.aws.cognee.ai/api/v1/integrations/slack/link`
- Auth: API key in header `X-Api-Key`

Finish a ``/cognee-link`` started in Slack (CLO-390).

Member-level, not owner-level: everyone links their *own* account, and
requiring an owner would make the escape hatch useless to the people
who need it.

The account linked is taken from the authenticated session, never from
the code. The code only says which Slack member is asking; letting it
also name the account would let anyone holding one link themselves to
somebody else.

## Query parameters

- `tenant_id` string, uuid, required

## Request body

- SlackLinkPayload
  - `code` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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