Call it
curl https://api.peume.com/v1/call/list-a-youtube-channel-s-members \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"part": "your part"
}
}'const res = await fetch("https://api.peume.com/v1/call/list-a-youtube-channel-s-members", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"part": "your part"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/list-a-youtube-channel-s-members",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"part": "your part"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: list-a-youtube-channel-s-members.
Parameters
filterByMemberChannelIdstringComma separated list of channel IDs. Only data about members that are part of this list will be included in the response.
hasAccessToLevelstringFilter members in the results set to the ones that have access to a level.
maxResultsintegerThe *maxResults* parameter specifies the maximum number of items that should be returned in the result set.
modestringParameter that specifies which channel members to return.
listMembersModeUnknown · updates · all_current
pageTokenstringThe *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
partRequiredstringThe *part* parameter specifies the member resource parts that the API response will include. Set the parameter value to snippet.
