You can use Kaltura’s API tools to list all users subscribed to a specific channel (category). Here's how:
1. Open the API console
Use one of the following:
If you're using the TestMe Console, you must first generate a Kaltura Session (KS). Follow the steps in How to create a Kaltura Session.
2. Paste your session key
In the field labeled “Kaltura API session (string)”, paste your generated session key.
3. Set up the API call
- Service: categoryUser
- Action: list
Under filter (KalturaCategoryUserFilter):
- Set categoryIdEqual to the ID of your channel (Category ID).
- Set permissionNamesMatchAnd to: CATEGORY_SUBSCRIBE
4. (Optional) Handle large result sets
If your channel has more than 500 subscribers:
- Under pager (KalturaFilterPager), click Edit.
- Set:
- pageSize: 500
- pageIndex: 1
- Click Send to get the first batch.
- If the total count is higher than 500, increment pageIndex to fetch the next batch (e.g., 2, 3, etc.).
Repeat as needed.
5. Export the results to excel
- Copy the XML output from the results area into a text editor (e.g., Notepad++).
- Save the file with an .xml extension.
- Open the file in Microsoft Excel.
- (Optional) You can convert it to a CSV file if preferred. See How to convert an XML file to a CSV or Excel spreadsheet.