Apps & SurfacesMu Mutation

createCustomAppSession

Topics: Apps

Create a session token for a custom app. The token should be passed in the X-App-Session header for RPC calls. Open to anyone who can see the app: customapp:read holders by the usual visibility rule, and other signed-in users for a published app assigned to them directly or through a team (as customAppView). Previewing a version needs customapp:read.

Returns

CustomAppSession!

Arguments

Session creation input

Exact field SDL
"""
Create a session token for a custom app. The token should be passed in the X-App-Session header for RPC calls. Open to anyone who can see the app: customapp:read holders by the usual visibility rule, and other signed-in users for a published app assigned to them directly or through a team (as customAppView). Previewing a version needs customapp:read.
"""
createCustomAppSession(
  """Session creation input"""
  input: CreateCustomAppSessionInput!
): CustomAppSession! @topic(names: ["apps"])

Declared on Mutation. Access is checked by the platform for each operation.