Admin API / Queries
chatChannels
Channels the caller can read. Callers with ADMIN or higher get every channel, except that only an OWNER gets a channel whose read role is OWNER. query matches the name. Defaults to POSITION, ascending. first outside 1 to 100 (1 to 10,000 for Soho) or a malformed after gives a thrown VALIDATION_ERROR. Reads the first 1,000 rows (1,000,000 for Soho): an after at the ceiling gives a thrown PAGE_OUT_OF_RANGE.
Requires a client key with one of these scopes:
admin:chat:readRequires this member role or higher: SELLERchatChannels(
after: String
first: Int
query: String
sort: ChatChannelSortInput
where: ChatChannelWhereInput
): ChatChannelConnection!Arguments
| Argument | Type | Description |
|---|---|---|
after | String | Return items after this cursor. Omit for the first page. |
first | Int | Maximum number of items to return. Defaults to 20, capped at 100 (10,000 for Soho). |
query | String | Text to find in the name, case-insensitive. Empty or blank matches every channel. |
sort | ChatChannelSortInput | Sort order. Defaults to POSITION, ascending. |
where | ChatChannelWhereInput | Filters to narrow the list. |