Skip to main content
PUT
Set the Slack auto-join rule

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.

Body

application/json
id_field
string | null
required

The account CRM field that holds a channel id to join; null: none

Maximum string length: 200
name_field
string | null
required

The account CRM field that holds a channel name to join; null: none

Maximum string length: 200
prefixes
string[]
required

Join the channels whose name starts with one

Maximum array length: 20
Maximum string length: 200
suffixes
string[]
required

Join the channels whose name ends with one

Maximum array length: 20
Maximum string length: 200

Response

200 - application/json

Successful Response

id_field
string | null
required
id_field_missing
boolean
required
name_field
string | null
required
name_field_missing
boolean
required
prefixes
string[]
required
suffixes
string[]
required