---
title: "Connect a Slack channel"
method: POST
path: "/api/v1/channels/connect/slack"
tags: ["channels"]
---

# Connect a Slack channel

`POST /api/v1/channels/connect/slack`

## Request

- Base URL: `https://api.cadencz.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.cadencz.com/api/v1/channels/connect/slack`
- Auth: HTTP bearer

Verifies a Slack Incoming Webhook by posting a confirmation message, then stores the webhook URL encrypted for the workspace.

## Request body

- SlackConnectRequest
  - `webhook_url` string, required: Slack Incoming Webhook URL (https://hooks.slack.com/services/…).
  - `display_name` string, nullable: Optional label for the channel.

## Response `200`

Successful Response

- ChannelRead
  - `id` string, required
  - `workspace_id` string, required
  - `platform` string, required
  - `handle` string, required
  - `display_name` string, nullable, required
  - `avatar_url` string, nullable, required
  - `status` string, required
  - `byo_app` boolean, required
  - `token_expires_at` string, date-time, nullable, required
  - `followers` integer, required
  - `capabilities` object
  - `plan_entitled` boolean
  - `entitlement_status` 'available' | 'plan_paused' | 'disconnected'
  - `plan_pause_reason` 'plan_required' | 'workspace_limit' | 'platform_limit', nullable

## Other responses

- `401`: Missing or invalid Supabase bearer token.
- `422`: Validation Error
- `502`: The upstream provider rejected the request.

---

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