Skip to content
Proud to collaborate with Microsoft for Startups

wasender.sessions.get_status ​

Read-only: get WhatsApp session status; no database writes

Get the connection status of the key's session via GET /status.

Inputs:

  • (none beyond the shared cloud_connection_uuid selector)

Outputs (terminal state_data):

  • connected: bool — whether the session is connected.
  • status: str — provider session status string.
  • phone_number: str — paired phone number, if any.
  • provider_metadata: raw provider status response.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-wasender
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
cloud_connection_uuiduuidYes—Selects the Wasender connection/plugin

Output Schema ​

FieldTypeRequiredDefaultDescription
cloud_connection_uuiduuidNo——
connectedbooleanNo——
statusstringNo——
phone_numberstringNo——
provider_metadatajsonNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerintegerNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "wasender.sessions.get_status",
  "initial_data": {
    "cloud_connection_uuid": "value"
  }
}