Skip to main content
POST
Create 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.

Body

application/json

Request body of create_slack_channel.

provider_connection_sid
string
required

The Slack workspace (in_cn_...): a provider connection of provider slack, found with search_provider_connections.

Required string length: 18
Pattern: ^in_cn_
channel_id
string
required

Slack's channel id as list_slack_workspace_channels answers it (C... public, G... private).

Required string length: 1 - 64
channel_name
string
required

The channel's name as listed, without the #; display only.

Required string length: 1 - 255
alerts
enum<string>[]
required

What the channel hears, at least one. reply_interested: a reply the AI SDR read as interested or a meeting ask; reply_received: every reply (noisy); agent_handoff: the AI SDR needs a person; task_created: a task by anyone else.

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
channel_is_private
boolean

true for a private channel (the picker's is_private): it hears alerts only once the GetSales app is invited to it. Default false.

sender_profile_sids
string[] | null

The sender profiles (ub_sp_...) it covers, at most 100; absent, null or [] = all. A narrowed channel never hears an alert no sender profile owns: a website visit, a finished collection, a disabled webhook.

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

on (the default) or off; failed is the platform's.

Available options:
on,
off

Response

create success envelope.

success
enum<boolean>
required
Available options:
true
operation
enum<string>
required
Available options:
create
item
object
required
already_exists
boolean
required
meta
object
required