Skip to main content

Users - Get Active Extensions

Description

Gets information about active extensions installed by a specified user, identified by a user ID or Bearer token.

To include extensions that you have under development, you must specify a user access token that includes the user:read:broadcast or user:edit:broadcast scope.

Method Definition

@RequestLine("GET /users/extensions?user_id={user_id}")
@Headers("Authorization: Bearer {token}")
HystrixCommand<ExtensionActiveList> getUserActiveExtensions(
@Param("token") String authToken,
@Param("user_id") String userId
);

Required Parameters

None

Optional Parameters

NameTypeDescription
tokenstringUser Auth Token with the user:read:broadcast or user:edit:broadcast scope.
user_idstringID of the user whose installed extensions will be returned.

Code-Snippets

ExtensionActiveList resultList = twitchClient.getHelix().getUserActiveExtensions(testUtils.getCredential().getAccessToken(), twitchUserId).execute();

System.out.println(resultList.getData());