Skip to main content
POST
Upload app-state keys

Authorizations

Authorization
string
header
required

Send your team API key or project token as Authorization: Bearer <token>. The credential must have the required permissions. Project tokens can access only their own project.

Path Parameters

sessionId
string
required

Identifier of the connected Polymorfa session.

Body

application/json
keys
object[]
required

Keys associated with this management platform access upload app state keys request.

upgradeTo
enum<string>

When set, atomically flips sessions.config.bartenderMode → passthrough_plus after the keys persist. Eliminates the window where mode is set but no keys are staged.

Allowed values

Available options:
passthrough_plus

Response

Keys persisted; mode may have been flipped per upgradeTo

success
enum<boolean>
required

Whether the request succeeded.

Allowed values

Available options:
true
data
object
required

Structured data carried by this object.