WhatGHL icon

WhatGHL

Send actions to WhatGHL API

Actions42

💬 **CHATTING** · Set Offline

AI-generated

Summary

Set the online presence status of a WhatsApp session to offline using WhatGHL API.

Inputs

  • Session Mode (required) — Determines how the session is selected: Auto (default backend selection), By Session Name (specific WAHA session name), or Select Session (choose from available sessions for the API key).
  • Session — The specific session to use when Session Mode is 'Select Session'; selected from available sessions loaded dynamically.
  • Session Name — The WAHA session name to use when Session Mode is 'By Session Name'.

Output shape

a single JSON object detailing the result of the set offline presence API call

No additional inputs such as Chat ID are required. The operation posts to the /actions endpoint with the action 'set_offline' and returns the API response as JSON.

Links

Discussion