Press Ticket icon

Press Ticket

Interage com a API do Press Ticket®

WhatsApp → Obter QR Code

AI-generated

Overview

This node interacts with the Press Ticket API to manage WhatsApp connections. Specifically, for the 'WhatsApp' resource and 'Obter QR Code' (Get QR Code) operation, it retrieves the QR code image for a specified WhatsApp connection ID. This is useful for scenarios where you need to display or use the WhatsApp connection QR code for authentication or pairing purposes.

Use Case Examples

  1. Retrieve the QR code for a WhatsApp connection to display it for scanning and authentication.
  2. Use the QR code to pair a WhatsApp client with the Press Ticket system.

Properties

Name Meaning
ID do WhatsApp The ID of the WhatsApp connection for which to obtain the QR code.

Output

JSON

  • qrcode - The QR code string data.
  • qrcodeImage - The QR code image encoded as a base64 PNG data URL.
  • whatsappId - The ID of the WhatsApp connection for which the QR code was retrieved.

Dependencies

  • Press Ticket API authentication token and API URL

Troubleshooting

  • Ensure the WhatsApp connection ID is valid and the connection is active to successfully retrieve the QR code.
  • If the API returns no QR code, verify the connection status and that the WhatsApp service is properly configured.

Discussion