---
title: "Finish connecting a Slack workspace"
method: POST
path: "/notifications/slack/callback/"
tags: ["notifications"]
---

# Finish connecting a Slack workspace

`POST /notifications/slack/callback/`

## Request

- Base URL: `https://api.getoneprofile.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getoneprofile.ai/notifications/slack/callback/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

## Request body

- SlackCallbackSchema
  - `code` string, required
  - `state` string, required

## Response `200`

Successful Response

- SlackConnectionReadSchema
  - `connected_by_user_id` string, required
  - `team_id` string, required
  - `team_name` string, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `422`: The install could not be completed.
- `500`: Internal server error.
- `502`: Bad gateway error.
- `503`: Service unavailable.

---

[API](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile.md) · [All operations](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/llms.txt) · [OpenAPI document](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/revisions/4a6bd71e3f02?raw)
