User

Create a user session

post/user/{userId}/session/create

Request

  • Base URL: https://api.chatbotkit.com/api/v1
  • URL: https://api.chatbotkit.com/api/v1/user/{userId}/session/create
  • Auth: HTTP bearer

Path parameters

userIdstring required

The ID of the user

Request body

durationInSecondsnumber

The lifetime of the session token in seconds

Response

The session was created successfully

idstring required

The ID of the created session

tokenstring required

The temporary session token

expiresAtnumber required

The timestamp for when the session token expires (in milliseconds)

Changes

No recorded changes to this operation across all 1 revision of this API.