PAPI WhatsApp icon

PAPI WhatsApp

Interaja com a PAPI WhatsApp API

Instância → Obter QR Code

AI-generated

Summary

Retrieve the QR code image for a specified WhatsApp instance by its ID.

Inputs

  • ID da Instância (required) — The unique identifier of the WhatsApp instance from which to obtain the QR code.

Output shape

a JSON object containing the QR code data for the specified instance

Returns the QR code image or data needed to connect to the WhatsApp instance. Errors are returned if the instance ID is invalid or the instance is not connected.

Examples

Example 1: Retrieve a QR code for instance 'minha-instancia' to connect it to WhatsApp

Set 'Resource' to 'Instância', 'Operation' to 'Obter QR Code', and provide 'ID da Instância' as 'minha-instancia'.

Discussion