Set Up Slack Channel
POST/v1/organizations/claude_tag/slack_channels
Requires
anthropic-beta: experimental-claude-tag-2026-10-21. How to send beta headersSet a Slack channel up for Claude Tag and return it with its identifier. If the channel is already set up, whether in claude.ai, by Claude's first use in it or by an earlier request, the existing channel is returned, so the request can be repeated. settings, when sent, is applied as an update applies it. Before a channel is set up, Claude's Slack app confirms with Slack that the channel is in the workspace, is not archived and is visible to the app; a channel that fails the confirmation returns 404. Setting the channel up and applying settings are two steps: when the second is refused, the response is the refusal, the channel stays set up with every setting unset, and the error's details.slack_channel_id holds the channel's identifier.
Headers
Body
Returns
Set Up Slack Channel
curl https://api.anthropic.com/v1/organizations/claude_tag/slack_channels \
-H 'Content-Type: application/json' \
-H 'anthropic-version: 2026-10-21' \
-H 'anthropic-beta: experimental-claude-tag-2026-10-21' \
-H "Authorization: Bearer $ANTHROPIC_API_KEY" \
-d '{
"slack": {
"channel_id": "xx",
"workspace_id": "xx"
}
}'Response 200
{
"id": "id",
"created_at": "2019-12-27T18:11:19.117Z",
"settings": {
"enabled": true,
"environment_id": "environment_id",
"guest_policy": {
"type": "allow"
},
"instructions": "instructions",
"model": "model"
},
"slack": {
"channel_id": "xx",
"workspace_id": "xx"
},
"sources": {
"enabled": {
"slack_channel_id": "slack_channel_id",
"type": "slack_channel"
},
"environment_id": {
"slack_channel_id": "slack_channel_id",
"type": "slack_channel"
},
"guest_policy": {
"slack_channel_id": "slack_channel_id",
"type": "slack_channel"
},
"instructions": [
{
"slack_channel_id": "slack_channel_id",
"type": "slack_channel"
}
],
"model": {
"slack_channel_id": "slack_channel_id",
"type": "slack_channel"
}
},
"type": "slack_channel",
"updated_at": "2019-12-27T18:11:19.117Z"
}Returns Examples
Response 200
{
"id": "id",
"created_at": "2019-12-27T18:11:19.117Z",
"settings": {
"enabled": true,
"environment_id": "environment_id",
"guest_policy": {
"type": "allow"
},
"instructions": "instructions",
"model": "model"
},
"slack": {
"channel_id": "xx",
"workspace_id": "xx"
},
"sources": {
"enabled": {
"slack_channel_id": "slack_channel_id",
"type": "slack_channel"
},
"environment_id": {
"slack_channel_id": "slack_channel_id",
"type": "slack_channel"
},
"guest_policy": {
"slack_channel_id": "slack_channel_id",
"type": "slack_channel"
},
"instructions": [
{
"slack_channel_id": "slack_channel_id",
"type": "slack_channel"
}
],
"model": {
"slack_channel_id": "slack_channel_id",
"type": "slack_channel"
}
},
"type": "slack_channel",
"updated_at": "2019-12-27T18:11:19.117Z"
}