Skip to main content

updateUserAppState

Creates or replaces the authenticated user’s per-app state for input.appId (upsert keyed by appId+userId). Requires a valid game token; always writes the caller’s own state. input.state is base64-encoded binary.

updateUserAppState(
input: CreateUserAppStateInput!
): UserAppState!

Arguments

updateUserAppState.input ● CreateUserAppStateInput! non-null input

Target appId and the new state blob (see CreateUserAppStateInput).

Type

UserAppState object