Skip to content
twitch.apiv2.0

Reference / API groups

twitch.contentLabels

Content classification labels and their localized names.

Every method of twitch.contentLabels, with its parameters, what it returns and the token it needs.

twitch.contentLabels.list(params?, options?): Promise<ContentLabel[]>

Lists every content classification label, with its name and description in the language you ask for.

Token: app or user.

NameTypeDescription
localeContentLabelLocaleLanguage of the names and descriptions. Twitch defaults to "en-US".

options: Request options for this call: as, token, signal, timeout, retries.

Promise<ContentLabel[]>

Fields of ContentLabel
NameTypeDescription
idstringID of the label, such as "Gambling".
descriptionstringWhat the label covers, in the requested language.
namestringName of the label, in the requested language.
const labels = await twitch.contentLabels.list({ locale: "fr-FR" });

Twitch reference