API reference
60 operations and 108 types, generated from the running API. Every page shows a working example with real IDs that you can run right there.
Base URL
https://api.jiltv.app/v1/graphqlThe schema is also available as SDL at /v1/graphql/schema.graphql for
code generators.
Channels
| channel | query | |
| channelByPlatform | query | Look a channel up by its ID on the streaming platform, e.g. |
| setActiveEmoteSet | mutation | Switches the emote set shown in a channel (`setId: null` clears it). |
| inviteChannelEditor | mutation | Invite a user to edit a channel. |
| cancelEditorInvite | mutation | |
| respondEditorInvite | mutation | Accept or decline your own invite to a channel. |
| setEditorPermissions | mutation | |
| removeChannelEditor | mutation | Remove an editor (needs EDITORS), or pass your own ID to leave the channel. |
Emote sets
| emoteSet | query | |
| globalEmoteSets | query | Sets that are available in every channel. |
| createEmoteSet | mutation | |
| duplicateEmoteSet | mutation | Copies any set into a new set of your own in one step, however big. |
| updateEmoteSet | mutation | |
| deleteEmoteSet | mutation | Deletes a set. |
| editEmoteSet | mutation | Applies up to 500 add/remove/rename operations atomically per operation: each one either succeeds or reports an error, without stopping the rest. |
Emotes
| emote | query | An emote. |
| emotes | query | Publicly listed (moderator-approved) emotes, newest first. |
| searchEmotes | query | Search and browse publicly listed emotes. |
| emoteCollectionPreview | query | What applying a variant collection to a set would change (`collection: null`: back to the base emotes). |
| updateEmote | mutation | Rename, retag or flag one of your emotes. |
| deleteEmote | mutation | Soft-deletes one of your emotes. |
| addEmoteVariant | mutation | Makes `variantId` the `collection` variant of `emoteId`, e.g. |
| removeEmoteVariant | mutation | Unlinks a variant from its base emote. |
| addEmoteToSet | mutation | Adds an emote to a set as `alias` (default: the emote's name). |
| removeEmoteFromSet | mutation | Removes an emote from a set. |
| renameSetEmote | mutation | Renames an emote in a set (`alias: null` goes back to the emote's own name). |
| replaceSetEmote | mutation | Swaps `emoteId` in a set for `newEmoteId` in one step. |
| applyEmoteCollection | mutation | Swaps every emote of a set for its variant in `collection` (`null`: back to the base emotes). |
| favoriteEmote | mutation | Adds an emote to your favorites, or removes it (`favorite: false`). |
| prepareEmoteDownload | mutation | A download of the emote in one of its `downloadFormats`, in `scale` 1 to 4 (the 1x to 4x size; a missing scale falls back to the next smaller). |
| transferEmote | mutation | Give an emote to another user. |
| respondEmoteTransfer | mutation | Accept or decline a transfer sent to you, or cancel your own (`accept: false`). |
| setEmoteAttribution | mutation | Credit a creator next to the owner (`role: null` removes the credit). |
| appealEmote | mutation | Ask moderators to look at a rejected emote again (owner). |
Cosmetics
| paints | query | Paints, newest first. |
| paint | query | A paint. |
| badges | query | Badges, newest first. |
| badge | query | A badge. |
| equipPaint | mutation | Wears one of your paints in chat (`paintId: null` takes it off). |
| equipBadge | mutation | Wears one of your badges in chat (`badgeId: null` takes it off). |
Reports
| createReport | mutation |
Users
| supporterAvailable | query | Whether Supporter checkout is configured on this server. |
| supporterTime | query | Supporter time bought once (for yourself or as a gift): price and packages. |
| viewer | query | The caller: user, auth method and granted scopes. |
| user | query | |
| userByUsername | query | Case-insensitive lookup by Twitch username, else by profile tag (`handle`). |
| searchUsers | query | Users whose username, display name or profile tag starts with `query`, exact matches first. |
| userByPlatform | query | Look a user up by their account on a streaming platform: the numeric Twitch user ID or the YouTube channel ID. |
Platform
| monthlyRewards | query | The Supporters' monthly reward running right now (what you get when you subscribe today). |
| creatorProgram | query | The Creator Program as the public sees it: rules, tiers, whether applications are open. |
| creatorGiveaway | query | A community giveaway (public). |
| platformStats | query | Platform-wide totals, refreshed every few minutes. |
| decorations | query | Avatar decorations, newest first. |
| decoration | query | An avatar decoration. |
| myModeration | query | Your emotes that wait for AI moderation or a moderator, newest first. |
| createPersonalSet | mutation | Another personal set to switch to (at most 10). |
| activatePersonalSet | mutation | Makes one of your personal sets the one chat shows; the previous one stays as it is. |
| followTwitchSet | mutation | Makes a YouTube channel show the owner's Twitch set again, now and after every switch there (picking a set for the YouTube channel ends that). |
| updatePresence | mutation | Tells JilTV you are in a channel with a JilTV client, so other clients can show your personal emotes and cosmetics there. |
| equipDecoration | mutation | Wears one of your avatar frames (decorations) around your profile picture (`decorationId: null` takes it off). |
Types
Objects
ApplyEmoteCollectionPayloadAssignedChannelBadgeChannelChannelActivityChannelEditorConnectedAppConnectionCosmeticGrantCosmeticStatsCreatorCreatorApplicationCreatorCodeCreatorGiveawayCreatorGiveawayEntryCreatorMonthCreatorOverviewCreatorProgramCreatorRewardCreatorSubscriptionCodeCreatorTierDecorationEditEmoteSetPayloadEditorInviteEmoteEmoteAppealEmoteAttributionEmoteCollectionPreviewEmoteCollectionSwapEmoteConnectionEmoteDownloadEmoteFileEmoteHistoryEntryEmoteModerationEmoteSearchResultEmoteSetEmoteSetCollectionEmoteSetCollectionsEmoteSetEntryEmoteSetOpResultEmoteSourceEmoteStatsEmoteStatsDayEmoteTransferEmoteVariantEquipBadgePayloadEquipDecorationPayloadEquipPaintPayloadFollowedByNotificationOAuthAppOwnerModerationItemPageInfoPaintPlatformStatsPresenceRealtimeEventReportSessionShopPlacementShopProductStaffRoleSubscriptionSupporterSupporterTimeOfferUserUserConnectionViewer
Inputs
CreateEmoteSetInputCreateReportInputEmoteFilterEmoteSetOpEventTopicInputUpdateEmoteInputUpdateEmoteSetInput
Enums
ActivityKindAttributionRoleAuthMethodCosmeticGrantSourceCosmeticRarityCreatorAgeGroupCreatorApplicationStatusCreatorGiveawayStatusCreatorPlatformCreatorRewardKindCreatorRewardStatusCreatorStatusDownloadStatusEditorPermissionEmoteSetKindEmoteSetOpTypeEmoteSortEmoteStatusFileFormatNotificationKindOwnerModerationStatusPlatformReportReasonReportStatusReportTargetRoleScopeShopSectionStaffPermissionZeroWidthMode