Manage Channel Subscriptions
Learn how to manage subscriptions and subscribers of a channel using the Vimeo API.
This lesson covers subscriptions and subscribers of a channel. We'll perform the following operations:
Check if a user has subscribed to a channel.
Make a user subscribe to a specific channel.
Get all the subscribers of a channel.
Make a user unsubscribe from a specific channel.
We’ll use the two endpoints below to achieve these tasks:
We’ll use the
{base_url}/users/{userID}/channels/{channelID}
endpoint to check, subscribe, and unsubscribe from a channel.We’ll use the
{base_url}/channels/{channelID}/users
endpoint to get all subscribers of a channel.
Check if a user has subscribed to a channel
In this section, we'll see how to check the subscription status of a specific user for a specific channel. We’ll use the {base_url}/users/{userID}/channels/{channelID}
endpoint to check the subscription of any Vimeo user for a channel. We'll also check if we are subscribing to a channel.
We have some channel names with their respective owner (user ID) in the table below. More details about channels in a category and their information are found in this ...
Channel ID | Channel Name | User ID |
1403294 | Blackmagic Pocket Cinema Camera 4K/6K/Pro | 1867528 |
525124 | Fabulous Commercials +++ Plus | 14520072 |
143484 | Francesco Calabrese | 1163729 |
We can use these cha ...