MsgCore icon

MsgCore

Universal messaging gateway - send messages across multiple platforms

Overview

This node operation retrieves a QR code for WhatsApp authentication from the MsgCore universal messaging gateway. It is useful when you want to authenticate or link a WhatsApp platform instance by scanning a QR code, typically during setup or re-authentication of the WhatsApp integration.

Practical examples include:

  • Automating the process of obtaining the WhatsApp login QR code in workflows.
  • Integrating WhatsApp authentication into custom automation pipelines.
  • Monitoring or refreshing WhatsApp platform connections programmatically.

Properties

Name Meaning
WhatsApp Platform ID The unique identifier of the WhatsApp platform instance for which to get the QR code.
Project The project identifier within which the WhatsApp platform is configured and operated on.
Id Alias for the WhatsApp Platform ID; the platform instance's unique ID parameter.

Output

The output JSON contains the response from the API endpoint that provides the WhatsApp QR code data. This typically includes the QR code image or data string needed for authentication.

No binary data output is indicated, so the QR code is expected to be returned as JSON data (e.g., a base64-encoded string or URL).

Dependencies

  • Requires an active connection to the MsgCore API service.
  • Requires valid API credentials with access rights to the specified project.
  • The node uses the configured API base URL and authentication token from the credentials.

Troubleshooting

  • Invalid or missing WhatsApp Platform ID: Ensure the platform ID is correct and corresponds to an existing WhatsApp platform configuration in the specified project.
  • Authentication errors: Verify that the API key credential is valid and has permissions for the project.
  • Network or API errors: Check connectivity to the MsgCore API endpoint and ensure the service is operational.
  • Empty or malformed QR code data: Confirm the WhatsApp platform is properly set up and currently able to generate a QR code.

Links and References

  • MsgCore API Documentation (generic reference, replace with actual if available)
  • WhatsApp Business API documentation for QR code authentication (for understanding QR code usage)

Discussion