Actions53
- Account Actions
- Contact Actions
- Group Actions
- Message Actions
- Session Actions
Account → Get QR Code
AI-generatedOverview
This node operation retrieves the QR code image for a specified WasenderAPI account session. It is useful for scenarios where a user needs to scan the QR code to authenticate or connect a WhatsApp session programmatically. For example, it can be used in automation workflows to fetch the QR code for a session that is waiting for user authentication.
Use Case Examples
- Fetch the QR code for a WhatsApp session to display it in a user interface for scanning.
- Automatically retrieve and store the QR code image for a session to monitor connection status.
Properties
| Name | Meaning |
|---|---|
| Session | The specific WhatsApp session from which to get the QR code. It can be selected from a list or provided by ID. |
| Options | Additional request options such as retry behavior for API requests. |
Output
Binary
The node outputs the QR code image as binary data in PNG format, which can be used for display or further processing.
JSON
json- The JSON output contains metadata about the QR code retrieval operation.binarydata- The binary data contains the QR code image in PNG format, ready for use or storage.
Dependencies
- Requires an API key credential for WasenderAPI to authenticate requests.
Troubleshooting
- Ensure the session ID is valid and the session exists; otherwise, the API request will fail.
- If the QR code is not returned, verify that the session is in a state that supports QR code generation.
- Network or API errors may occur; enabling retry options can help mitigate transient failures.
Links
- WasenderAPI WhatsApp Sessions QR Code Endpoint - Official API documentation for retrieving the QR code of a WhatsApp session.