Skip to content

List channels in the connected team

GET
/v1/integrations/teams/{id}/channels
curl --request GET \
--url https://api.monita.ai/v1/integrations/teams/example/channels \
--header 'Authorization: Bearer <token>'
id
required
string

OK

Media typeapplication/json
object
channels
required
Array<object>
object
id
required
string
name
required
string
Examplegenerated
{
"channels": [
{
"id": "example",
"name": "example"
}
]
}

Not found

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}

Connector error

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}

Bot not configured

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}