WA-AKG icon

WA-AKG

Interact with WA-AKG WhatsApp Gateway API

Session → Get QR

AI-generated

Summary

Retrieve QR code for a specified session

Inputs

  • targetSessionId (required) — The ID of the session whose QR code should be fetched (e.g., "my_session_1")
  • additionalFields — Optional extra fields; currently only relevant for create/update operations and empty for Get QR

Output shape

binary QR code image data

The operation returns the QR code as a binary payload; success response contains the image, no additional fields are included.

Examples

Example 1: Fetch QR code for session "my_session_1"

targetSessionId = my_session_1; additionalFields left empty

Example 2: Get QR for a newly created session with custom ID

targetSessionId = custom_id_123; additionalFields.newSessionId = custom_id_123

Example 3: Integrate with a webhook to display QR in a UI

targetSessionId = my_session_2; additionalFields omitted

Links

Discussion