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
Name | Type | Description |
---|---|---|
token | string | User access token from the broadcaster with the channel:read:subscriptions scope. |
broadcaster_id | string | ID of the broadcaster. Must match the User ID in the Bearer token. |
user_id | string | Returns streams broadcast by one or more specified user IDs. You can specify up to 100 IDs. |
Optional Parameters
None