> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nixflex.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Slack integration

> Post call summaries to a Slack channel - configured per phone number.

Connect a Slack incoming webhook to a phone number so Nixflex posts a summary to your Slack channel after each call. Configured **per phone number**.

## Set the Slack webhook

<ParamField path="phoneNumber" type="string" required>
  The phone number in E.164 format (for example `+447446466847`), passed in the URL.
</ParamField>

<ParamField body="webhook_url" type="string" required>
  A Slack incoming webhook URL. Must be an `https` URL on `hooks.slack.com`.
</ParamField>

```bash theme={null}
curl -X PUT "https://api.nixflex.com/v1/integrations/slack/number/+447446466847" \
  -H "Authorization: Bearer nxf_xxx:nxfs_xxx" \
  -H "Content-Type: application/json" \
  -d '{"webhook_url": "https://hooks.slack.com/services/T000/B000/xxxx"}'
```

```json theme={null}
{
  "ok": true,
  "phone_number": "+447446466847"
}
```

## Check the current state

```bash theme={null}
curl -X GET "https://api.nixflex.com/v1/integrations/slack/number/+447446466847" \
  -H "Authorization: Bearer nxf_xxx:nxfs_xxx"
```

## Remove the integration

```bash theme={null}
curl -X DELETE "https://api.nixflex.com/v1/integrations/slack/number/+447446466847" \
  -H "Authorization: Bearer nxf_xxx:nxfs_xxx"
```

## Notes

* The number must belong to your account (matched on your API key). A number you do not own returns `404`.
* The webhook URL must be an `https` Slack incoming webhook (`hooks.slack.com`).
* This setting is stored per phone number and persists until you change or remove it.
* For the feature guide, see [Slack](/integrations/slack).
