Actions101
- 🖥️ Sessions Actions
- 🔑 Auth Actions
- 🖼️ Screenshot Actions
- 📤 Chatting Actions
- 📢 Channels Actions
- 🟢 Status Actions
- 💬 Chats Actions
- 👤 Contacts Actions
- 👥 Groups Actions
- ✅ Presence Actions
- 🏷️ Labels Actions
- 🔍 Observability Actions
🖥️ Sessions → Get Me
AI-generatedOverview
The 'Get Me' operation of the 'Sessions' resource retrieves information about a specific session by its name. This operation is beneficial when you need to access details of a particular session, such as its status, participants, or other session-specific data.
Use Case Examples
- Retrieving the status of a user session to determine if it's active or expired.
- Fetching session details to display user-specific information in a dashboard.
Properties
| Name | Meaning |
|---|---|
| session | The name of the session to retrieve information for. This property is required and defaults to the value of $json.session. |
Output
JSON
sessionId- The unique identifier of the session.status- The current status of the session (e.g., active, expired).startTime- The timestamp when the session started.endTime- The timestamp when the session ended, if applicable.userId- The identifier of the user associated with the session.
Troubleshooting
- Ensure that the 'session' property is correctly set to the desired session name.
- Verify that the session exists and is accessible to the user.
- Check for any network issues that might prevent retrieving session information.