Create Session
CreateSession creates a new session resource.
Use this method to initialize a new conversation session. Provide a CreateSessionRequest containing the desired session details.
Request: CreateSessionRequest Response: Session
HTTP: POST /v1/conversation/sessions
Query parameters
session_id is a client-assigned identifier for the Session.
Request
display_name is the title of the session.
session_type defines the type of the session, such as Public, Private, or Temporary.
default_channels specifies the default channels for the session.
name is the resource identifier for the Session. It follows the format “sessions/{session}” and uniquely identifies a Session resource.
allowed_users contains the list of users allowed in the session.
secret_key is the secret key for the session.
Response
display_name is the title of the session.
session_type defines the type of the session, such as Public, Private, or Temporary.
default_channels specifies the default channels for the session.
name is the resource identifier for the Session. It follows the format “sessions/{session}” and uniquely identifies a Session resource.
allowed_users contains the list of users allowed in the session.
secret_key is the secret key for the session.