Press Ticket icon

Press Ticket

Interage com a API do Press Ticket®

WhatsApp → Obter

AI-generated

Overview

This node interacts with the Press Ticket® API to manage WhatsApp connections. Specifically, for the 'WhatsApp' resource and 'Obter' (Get) operation, it retrieves details of a specific WhatsApp connection by its ID. This is useful for scenarios where you need to fetch the current status or configuration details of a WhatsApp connection within the Press Ticket system.

Use Case Examples

  1. Retrieve details of a WhatsApp connection by providing its WhatsApp ID to monitor connection status or update configurations.
  2. Use case: Automate monitoring of WhatsApp connections in a customer support system to ensure all connections are active and properly configured.

Properties

Name Meaning
ID do WhatsApp The unique identifier of the WhatsApp connection to retrieve details for.

Output

JSON

  • id - The unique identifier of the WhatsApp connection.
  • name - The name of the WhatsApp connection.
  • status - The current status of the WhatsApp connection (e.g., CONNECTED, DISCONNECTED).
  • isDefault - Indicates if this WhatsApp connection is the default one.
  • qrcode - QR code data if available (for other operations).
  • qrcodeImage - Base64 encoded QR code image (for other operations).

Dependencies

  • Press Ticket® API access with an API token credential

Troubleshooting

  • Ensure the provided WhatsApp ID is correct and exists in the Press Ticket system.
  • Check that the API token credential is valid and has the necessary permissions to access WhatsApp connection details.
  • Handle API errors gracefully, such as connection timeouts or invalid responses.

Discussion