Skip to main content

Subscriptions - Check Subscription Status

Description

Gets broadcaster’s subscriptions by user ID (one or more).

Required OAuth Scope: channel:read:subscriptions

Method Definition

@RequestLine("GET /subscriptions?broadcaster_id={broadcaster_id}&user_id={user_id}")
@Headers("Authorization: Bearer {token}")
HystrixCommand<SubscriptionList> getSubscriptionsByUser(
@Param("token") String authToken,
@Param("broadcaster_id") String broadcasterId,
@Param("user_id") List<String> userIds
);

Required Parameters

NameTypeDescription
tokenstringUser access token from the broadcaster with the channel:read:subscriptions scope.
broadcaster_idstringID of the broadcaster. Must match the User ID in the Bearer token.
user_idstringReturns streams broadcast by one or more specified user IDs. You can specify up to 100 IDs.

Optional Parameters

None