Tearleads

VerifySuccessResponse

A successful sign-in: the new session's bearer token and where the user's data starts.

Shape

object

9 fields
  • authenticatedbooleanrequired
    • always true
  • codenever presentoptional
  • errornever presentoptional
  • isRootbooleanrequired

    True for a platform operator; it only reveals the root console, and the API enforces root access itself.

  • organizationIdstringrequired
    • not empty

    The user's default organization.

  • rootContainerIdstringrequirednullable
    • not empty

    Root container of the default organization, or null after that organization was purged; clients verify its role from signed state.

  • tokenstringrequired
    • not empty

    Bearer token for the Authorization header of later requests.

  • userIdstringrequired
    • not empty
  • wsTicketstringrequired
    • not empty

    Single-use ticket for this session's first WebSocket connection.

Other fields are allowed.

Used by