Skip to main content
PATCH
Update Slack channel

Authorizations

Authorization
string
header
required

Access token issued by gs.service.id. Its access_identity claim carries team_sid, actor_sid and actor_type, and that team scope is authoritative.

Team-SID
string
header
required

Team scope for tokens that do not carry one. Ignored when the token already names a team.

Path Parameters

sid
string
required

Slack channel rule sid (in_sc_...).

Required string length: 18
Pattern: ^in_sc_

Body

application/json

Request body of update_slack_channel.

channel_id
string

Another channel of the same workspace, Slack's id; one rule per channel, so a channel that has one is 409 duplicate_rejected.

Required string length: 1 - 64
channel_name
string

The name that goes with channel_id, without the #.

Required string length: 1 - 255
channel_is_private
boolean

Whether that channel is private.

alerts
enum<string>[]

FULL replacement of the alert kinds the channel hears, at least one.

Minimum array length: 1
Available options:
reply_interested,
reply_received,
agent_handoff,
task_created,
sender_profile_attention,
website_visit,
collection_finished,
webhook_failed,
agent_mode_changed
sender_profile_sids
string[] | null

FULL replacement of the sender profiles covered, at most 100; null or [] = every sender profile again.

Maximum array length: 100
Required string length: 18
status
enum<string>

on | off; on after failed revives the channel. failed is platform-set.

Available options:
on,
off

Response

update success envelope.

success
enum<boolean>
required
Available options:
true
operation
enum<string>
required
Available options:
update
item
object
required
updated_fields
string[]
required
previous_values
object
required
meta
object
required
kept_fields
string[]

The fields this write did not change because the person's own value stands on them (stamped person); read the item for what landed.