Skip to content
Proud to collaborate with Microsoft for Startups

wasender.sessions.get_qr ​

Read-only: fetch a WhatsApp session QR code; no database writes

Fetch the pairing QR code for a session via GET /whatsapp-sessions/{id}/qrcode.

Inputs:

  • id: STRING — session id (path param), required.

Outputs (terminal state_data):

  • id / qr_code / qr_image / status / expires_at
  • provider_metadata: raw provider response.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-wasender
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
cloud_connection_uuiduuidYes—Selects the Wasender connection/plugin
idstringYes—Session id (path param)

Output Schema ​

FieldTypeRequiredDefaultDescription
cloud_connection_uuiduuidNo——
idstringNo——
qr_codestringNo——
qr_imagestringNo——
statusstringNo——
expires_atdatetimeNo——
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_qr",
  "initial_data": {
    "cloud_connection_uuid": "value",
    "id": "value"
  }
}