v1
latestOpenAPI 3.0.22026-07-1715222.2 KBAdmin Extension State
Get Extension-wide Viewer State
If the request includes a query parameter list of Twitch user IDs and the requesting JWT auth token is admin-level, returns a mapping of those user IDs to their extension-side viewer state, removing any that are not found.
If no list of IDs is provided and the JWT auth token is viewer-level, returns a JSON object of the viewer's extension-wide state. This is associated with the current viewer, but across all channels.
get/extension_viewer_state
Query parameters
Response
One or more viewer state objects depending on request.
Example response
{
"hello": "world"
}