This SDK documentation is outdated. Please do not refer to it, and instead visit the User Guides section.

Skip to main content
Version: 7.0.X

createNewSession(res, userId, jwtPayload, sessionData)


  • res
    • type: Express.Response
  • userId
    • type: string
  • jwtPayload
    • type: object
  • sessonData
    • type: object


  • Promise<Session> on successful creation of a session.
Looking for older versions of the documentation?
Which UI do you use?
Custom UI
Pre built UI