Skip to content

Get a channel

GET
/v1/channels/{channelId}
curl --request GET \
--url https://api.roundrobinbot.eu/v1/channels/example \
--header 'Authorization: Bearer <token>'

One Slack channel, as this workspace’s own installation sees it. A channel Round Robin cannot reach answers 404 whether it is private, archived or does not exist, so a 404 here is not proof that the id is wrong.

channelId
required
string

OK

Media typeapplication/json

A Slack channel. Served by GET /v1/channels/{channelId}.

object
id

The Slack channel id.

string
teamId
string
name
null | string
isPrivate
boolean
Examplegenerated
{
"id": "example",
"teamId": "example",
"name": "example",
"isPrivate": true
}

Unauthorized

Media typeapplication/json
object
type
null | string
title
null | string
status
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
detail
null | string
instance
null | string
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Forbidden

Media typeapplication/json
object
type
null | string
title
null | string
status
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
detail
null | string
instance
null | string
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Not Found

Media typeapplication/json
object
type
null | string
title
null | string
status
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
detail
null | string
instance
null | string
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}