UazapiGo Unofficial icon

UazapiGo Unofficial

Interage com a API uazapiGO para gerenciar instâncias e enviar mensagens

Overview

This node integrates with the unofficial uazapiGO API to manage WhatsApp instances and send messages. Specifically, the "Instancia" resource with the "Conectar instância ao WhatsApp" operation initiates the connection process of a WhatsApp instance. It supports two pairing methods: generating a QR code for scanning or using a phone number for pairing directly.

Common scenarios include automating WhatsApp session management in workflows, such as programmatically connecting an instance to WhatsApp without manual intervention or integrating WhatsApp messaging capabilities into business processes.

Practical example:

  • Automatically connect a new WhatsApp instance by generating a QR code that can be scanned by the user.
  • Alternatively, pair an instance using a phone number when QR code scanning is not feasible.

Properties

Name Meaning
Url Base URL of the uazapiGO API. Default is https://api.uazapigo.com.
Token da Instância Authentication token specific to the WhatsApp instance (not a credential).
Gerar QR Code Boolean flag: if true, generates a QR code for pairing; if false, uses phone number for pairing.
Número de Telefone Phone number in international format used for pairing if "Gerar QR Code" is false.

Output

The node outputs JSON data representing the response from the uazapiGO API after attempting to connect the WhatsApp instance. This typically includes status information about the connection attempt, such as success confirmation, QR code data (if generated), or error details.

No binary data output is produced by this operation.

Example output JSON structure might include fields like:

{
  "status": "success",
  "qrCode": "base64EncodedQRCodeData",
  "message": "Instance connected successfully"
}

or, if using phone number pairing:

{
  "status": "success",
  "message": "Instance paired with phone number"
}

Dependencies

  • Requires access to the uazapiGO API endpoint specified by the "Url" property.
  • Needs a valid authentication token for the specific WhatsApp instance provided via the "Token da Instância" property.
  • No additional external credentials are mandatory, but the token must be managed securely.
  • The node uses standard HTTP requests with JSON payloads.

Troubleshooting

  • Missing or invalid token: If the token is missing or incorrect, the API will reject the request. Ensure the token is correctly set and valid for the target instance.
  • Incorrect URL: The base URL must be correct and accessible. Verify network connectivity and URL correctness.
  • QR Code generation issues: If "Gerar QR Code" is true but no QR code is returned, check API service status or token validity.
  • Phone number format errors: When pairing via phone number, ensure the number is in international format (e.g., +1234567890).
  • API errors: Any API error messages returned in the JSON output should be reviewed for troubleshooting. Common errors include rate limits, unauthorized access, or malformed requests.

Links and References

Discussion