JavaScript Advanced Runtime

Drop to PersistlyClient only when the facade is not enough.

This keeps the JavaScript SDK flow focused while preserving a clear path to direct account, slot, and account/slot HTTP APIs.

Boundary

Advanced runtime APIs are for deliberate lower-level control.

Use PersistlyGameSaves for normal shipped game code.

Use PersistlyClient only for wrappers, custom tooling, direct account/session flows, or payload-level debugging.

If you create accounts manually, store the returned account session in a trusted account backend or durable local save store, and never log the session token.

Do not expose admin/operator workflows through the public runtime API.

References

Use these pages when you need the exact HTTP contract.

Account save pattern

accountId, accountSessionToken, accountData, slot slots, and recovery boundaries.

API examples

Copy-paste request and response shapes for direct HTTP work.