cURL
Endpoints
List Channels
Discover accessible channel and DM IDs for CLI and automation
GET
cURL
Overview
Returns the chat channels and direct-message conversations visible to the token user.Query Parameters
| Param | Type | Description |
|---|---|---|
q | string | Optional case-insensitive search over channel name, custom DM name, description, and participant name/email. |
type | string | Optional channel type filter, such as text, voice, meeting, or whatsapp. |
kind | string | Optional channel kind filter: group or dm. |
participantId | string | Optional user or team ID that must participate in the returned channels. |
limit | number | Optional result limit, 1-200. Defaults to 100. |
offset | number | Optional pagination offset. Defaults to 0. |
Usage Notes
- Use this endpoint before
send-messagewhen a script needs to resolve a channel ID. - DM names are resolved for the token user when the DM has no custom name.
- Results are scoped to the token workspace and participant access.
Authorizations
Bearer token
Query Parameters
Case-insensitive search over channel name, custom DM name, description, and participant name/email.
Maximum string length:
200Filter by channel type.
Available options:
category Filter by channel kind.
Available options:
group Return channels containing this user or team participant.
Required string length:
24Pattern:
^[0-9a-fA-F]{24}$Max results (1-200). Defaults to 100.
Required range:
1 <= x <= 200Pagination offset. Defaults to 0.
Required range:
x >= 0