Set slack client channel
Set one client's Slack channel and which Sayintel posts go there: alerts (needs approval, safety block, out of credits or cap, integration disconnected, campaign finished), replies and hot leads, Ask Q, and the daily summary (default 09:00 Asia/Jerusalem). Inputs: client_id (the client this channel answers for), channel_id and channel_name (the Slack channel), the four switches alerts/replies/ask_q/summary, and optional summary_hour (0-23) plus summary_timezone (IANA name) overriding the daily summary schedule. The channel cannot be shared with another client. Sends nothing now. Refuses when Slack is not set up.
Request
curl -X POST "https://sayintel.com/api/public/v1/clients/<client_id>/slack-app" \
-H "Authorization: Bearer $SAYINTEL_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"channel_id": "<channel_id>", "alerts": <alerts>, "replies": <replies>, "ask_q": <ask_q>, "summary": <summary>}'Try it out
Sent as a bearer token to this site only, and kept in this tab's session storage. It is never written to disk or sent anywhere else.
Path parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| client_id | path | string | yes | — |
Body
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| channel_id | body | string | yes | — |
| channel_name | body | string | no | — |
| alerts | body | boolean | yes | — |
| replies | body | boolean | yes | — |
| ask_q | body | boolean | yes | — |
| summary | body | boolean | yes | — |
| summary_hour | body | number | no | — |
| summary_timezone | body | string | no | — |
| workspace | body | string | no | Not accepted on this tool: it acts on your own account, and naming another workspace is refused. |
| acting_account | body | string | no | Which sayintel login this call acts on: an account_id or email from list_accounts. Required once logins are linked to this connection. |
Response
{
"ok": true,
"tool": "set_slack_client_channel",
"kind": "write",
"data": { ... },
"error": null
}Notes
- Scope required: write. How scopes work.
- Accepts Idempotency-Key. A retry with the same key replays the first result instead of repeating the work.
- Same capability over MCP as the tool set_slack_client_channel. MCP setup.