Channel → Get Many
AI-generatedSummary
Retrieves instantKOM channels from the /v1/channels endpoint, optionally returning all pages of results.
Inputs
- Return All — Whether to return all results or only up to a given limit. When enabled, Limit is ignored and all pages are fetched automatically.
- Limit — Max number of results to return when Return All is false. Defaults to 50 and accepts 1–100.
Output shape
array of JSON items
Normally, each returned channel is emitted as a separate item: { json: channelObject }. If the API response is not an array, the raw response is emitted as a single item: { json: response }.
Examples
Example 1: Return a limited list of channels
Leave Return All off and set Limit to the desired number of channels, for example 20. The node sends GET /v1/channels?limit=20 and returns the channels from the response data array.
Example 2: Return all channels
Enable Return All. The node ignores Limit and pages through GET /v1/channels?page=...&limit=100 until a page with fewer than 100 records is returned, collecting all channels.