GetSessionInfo

The GetSessionInfo action retrieves information about the current session. It returns a session object containing fields such as id (the session UUID).

GetSessionInfo()

Example

{{Set(name="session_id", value=GetSessionInfo().id)}}

{{SendMessage(message=session_id)}}

The above code snippet retrieves the current session's ID and sends it to the chat. The session ID can be used for building URLs, tracking, or passing to external services.