WAHA icon

WAHA

Connect with Whatsapp HTTP API

Overview

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

  1. Retrieving the status of a user session to determine if it's active or expired.
  2. 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.

Discussion