Skip to content

List Work Channels

GET
/work/channels

The channels this credential may read.

The cheap half of GET /work/room: membership only, no message or event history. Decided by room_visibility.visible_room — the same predicate the room read and the realtime socket run — so a channel can never be listed here and refused there.

Authorizations

Parameters

Header Parameters

X-Target-Org-Id
Any of:
string

Responses

200

Successful Response

object
data
required

The channels this credential may read.

object
channels

Channels visible to the caller

Array<object>

One Work channel as the room stores it.

object
archivedAt
Any of:
string
createdAt
Any of:
string
createdBy
Any of:
string
description
Any of:
string
displayName
Any of:
string
id
Any of:
string
kind
Any of:
string
memberUserIds
Any of:
Array<string>
name
Any of:
string
participantAgentIds
Any of:
Array<string>
system
Any of:
boolean
visibility
Any of:
string
key
additional properties
any
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string