WAHA

Connect with Whatsapp HTTP API

Actions116

Overview

This node is designed to retrieve a QR code for authentication purposes within a specified session. It supports generating the QR code in different formats, such as an image or raw data, making it useful for scenarios where a user needs to authenticate via scanning a QR code. Practical applications include automating login processes or integrating with services that require QR code-based authentication.

Use Case Examples

  1. Generating a QR code image for a user session to display on a web interface for scanning.
  2. Retrieving raw QR code data to process or store for later use in an authentication workflow.

Properties

Name Meaning
Session The name of the session for which the QR code is to be retrieved.
Format The format in which the QR code should be returned, either as an image or raw data.
Request Options Additional HTTP request options such as batching, SSL certificate validation, proxy settings, and timeout configuration.

Output

JSON

  • qrCode - The QR code data returned by the node, either as an image or raw format depending on the selected option.

Dependencies

  • Requires an API key credential or authentication token to access the service providing the QR code.

Troubleshooting

  • If the session name is incorrect or does not exist, the node may fail to retrieve the QR code. Verify the session name is correct.
  • If the format option is set incorrectly, the output may not be usable. Ensure the format matches the expected use case (image or raw).
  • Network issues such as proxy misconfiguration or SSL certificate problems can cause request failures. Check proxy settings and SSL options if errors occur.
  • Timeout errors may occur if the server is slow to respond. Adjust the timeout setting as needed.

Discussion