Implementation: Activities

Stay organized with collections Save and categorize content based on your preferences.
YouTube is deprecating the channel bulletin feature. As a result, the activities.insert method will be deprecated, and the activities.list method will stop returning channel bulletins. These changes will be effective in the API on or after May 18, 2020. For more details, please see the YouTube Help Center.

The following examples show how to use the YouTube Data API (v3) to perform functions related to user activity.

Retrieve a list of channel activities

To retrieve a list of events related to a particular channel, call the activities.list method using one of the following two methods to identify the channel:

Retrieve a list of subscription activities

Subscription activities refer to events associated with channels that the authenticated user subscribes to. To retrieve a list of subscription activities for the currently authenticated user, call the activities.list method and set the home parameter's value to true. The request must be authorized using OAuth 2.0.