WhatsThat icon

WhatsThat

Connect sessions, link chats, and send WhatsApp messages

Session → Get Session

AI-generated

Summary

Retrieve the current status details of a specified WhatsApp session by its stable internal session name.

Inputs

  • Session Name (required) — Stable internal name for this session, for example main-phone or support-phone.

Output shape

a single JSON object containing the session's status and related metadata

Returns detailed information about the session including sessionId, status, QR code data (if pairing), phone number, labels, timestamps, and last disconnect reason if applicable. Returns null if session does not exist.

Examples

Example 1: Get the current status of the 'support-phone' WhatsApp session to monitor connection state and pairing data.

Set resource to 'Session', operation to 'Get Session', and enter 'support-phone' as the Session Name.

Links

Discussion