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 lesson. We can use these values to check the functionality of this endpoint.
Get hands-on with 1300+ tech skills courses.