Skip to main content
PUT
Set the Microsoft Teams channel rules

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 or group chat id; null: none

Maximum string length: 200
name_field
string | null
required

The account CRM field that holds a channel or group chat name; null: none

Maximum string length: 200
prefixes
string[]
required

Read the channels whose name starts with one

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

Read the channels whose name ends with one

Maximum array length: 20
Maximum string length: 200

Response

200 - application/json

Successful Response

conflicts
integer
required
id_field_missing
boolean
required
ingesting
integer
required
name_field_missing
boolean
required
not_ingesting
integer
required
prefixes
string[]
required
suffixes
string[]
required
id_field
string | null
name_field
string | null