Sessions
Add a session
Create a new chat session from the parameter appId
POST
Path Parameters
The resourceSlug is a URL parameter of the teamId associated with the user.
Body
req.json ยท string
JSON body containing appId of the app to use for this session.
Mongodb Object id, unique identifier, length of 24 characters fitting the following regex; [a-f0-9]{24}
Response
302
dynamicResponse
Successful operation, redirect to '/{resourceSlug}/session/{sessionId}'. Redirect field contains path to the newly created session to initialise app.
Server response after successsfully adding a new object
The unique Mongo id of the newly inserted object.
a string containing the redirect link to get all objects after a successful insertion.