List channels
Return the channels currently on the allowlist, newest first.
GET/api/v4/allowlist/channels/
Headers
| Header | Required | Description |
|---|---|---|
X-User-ID | No | List the channels of one of your end users instead of your own. See Acting for your end users. |
Query parameters
| Parameter | Required | Description |
|---|---|---|
limit, offset | No | Pagination. Defaults to 50 per page, capped at 200. |
Example request
curl "https://api.slipstreammusic.com/api/v4/allowlist/channels/?limit=50" \
-H "Authorization: Bearer $PARTNER_API_KEY"For one of your end users:
curl "https://api.slipstreammusic.com/api/v4/allowlist/channels/" \
-H "Authorization: Bearer $PARTNER_API_KEY" \
-H "X-User-ID: creator-4821"Example response
{
"count": 2,
"next": null,
"previous": null,
"results": [
{
"id": "9b5c3d2e-0a8e-4b7c-8c4d-2f9e5f6b8d7c",
"channel_id": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
"name": "Google for Developers",
"provider": "youtube",
"image_url": "https://yt3.ggpht.com/..."
},
{
"id": "1f3c4d5e-6a7b-4c9d-8e1f-2a3b4c5d6e7f",
"channel_id": "UCVHFbqXqoYvEWM1Ddxl0QDg",
"name": "Fireship",
"provider": "youtube",
"image_url": "https://yt3.ggpht.com/..."
}
]
}Each entry is a channel object.
Without X-User-ID you get only the channels registered to your own account — your end users’ channels are not included. With it you get only that end user’s. There is no call that returns the whole roster at once; list each end user in turn.