---
title: "Create Slack Webhook"
method: POST
path: "/api/project/{slug}/slack-webhooks"
---

# Create Slack Webhook

`POST /api/project/{slug}/slack-webhooks`

## Request

- Base URL: `https://fluxito.app` (the document declares no server; this is the origin it was published from)
- URL: `https://fluxito.app/api/project/{slug}/slack-webhooks`
- Auth: none declared

Create a new Slack webhook for the project.

Request body:
  {
    "label":       "#marketing-daily",      # required — human label
    "webhook_url": "https://hooks.slack.com/services/…"  # required
  }

Validates the URL shape by constructing a ``WebhookSender`` (which
raises ``SlackSendError`` on bad prefixes) before persisting.

## Path parameters

- `slug` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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