List open channels
This action retrieves a list of open channels. You can use various query parameters to determine the search scope and select what kind of information you want to receive about the queried channels.
HTTP request
Parameters
The following table lists the parameters that this action supports.
Optional
Parameter name | Type | Description |
---|---|---|
token | string | Specifies a page token that indicates the starting index of a chunk of results to retrieve. If not specified, the index is set as 0. |
limit | int | Specifies the number of results to return per page. Acceptable values are |
custom_types | string | Specifies a comma-separated string of one or more custom types to filter open channels. Urlencoding each type is recommended (for example, |
name_contains | string | Searches for open channels containing the specified value in their channel names. Note that this parameter is |
url_contains | string | Searches for open channels containing the specified value in their channel URLs. Urlencoding the value is recommended. |
show_frozen | boolean | Determines whether to include frozen channels in the response. Frozen channels are channels where only channel operators are allowed to send messages. (Default: |
show_metadata | boolean | Determines whether to include channel metadata in the response. (Default: |
channel_urls | string | Specifies a comma-separated string of one or more open channel URLs to restrict the search scope. URL encoding each channel URL is recommended. |
| string | (Deprecated) Searches channels whose |
Responses
If successful, this action returns a list of open channel resources that match the query parameters in the response body.
List of response properties
Property name | Type | Description |
---|---|---|
channels[] | array of objects | An array of open channel resources that match the specified optional parameters. |
next | string | The value for the |
Error
In the case of an error, an error object like below is returned. See the error codes section for more details.