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

Skip to main content
Version: 7.1.X

createNewSession(res, userId, jwtPayload, sessionData)

Parameters#

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

Returns#

  • 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