Skip to content
Anlyon
Esc
↑↓navigate↵open⌘Jpreview

Select a Slack channel

Attempt to join the channel, then persist it even when auto-join reports an error.

PATCH/api/v2/integrations/slack/{id}/channel
Authorization
AuthorizationBearer token (Anlyon API key) · headerrequired

Workspace API key sent as Authorization: Bearer <key>.

or
better-auth.session_tokenAPI key · cookierequired

Browser session used by dashboard-only operations.

Path parameters
idstring<uuid>required

Integration connection UUID.

Header parameters
X-Request-Idstring

Optional caller correlation ID. Unsafe or oversized values are replaced.

max length 128
Request body
requiredapplication/json
channelIdstringrequired
min length 1
channelNamestringrequired
min length 1
Responses
200

Slack channel selection and auto-join result returned.

successbooleanrequired
Allowed:true
dataobjectrequired
Show properties
messagestringrequired
channelIdstringrequired
channelNamestringrequired
autoJoinedbooleanrequired
isPrivateboolean | nullrequired
joinErrorstring | nullrequired
400

Bad Request - Invalid input data

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
401

Unauthorized - Invalid or missing API key

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
403

Authenticated credential lacks the required scope or workspace access.

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
404

Not Found - Resource does not exist

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
429

Too Many Requests - Rate limit exceeded

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X PATCH 'https://api.anlyon.com/api/v2/integrations/slack/497f6eca-6276-4993-bfeb-53cbbbba6f08/channel' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "channelId": "string",
  "channelName": "string"
}'
Response
{
  "success": true,
  "data": {
    "message": "string",
    "channelId": "string",
    "channelName": "string",
    "autoJoined": true,
    "isPrivate": true,
    "joinError": "string"
  }
}