Press Ticket icon

Press Ticket

Interage com a API do Press Ticket®

Overview

This node integrates with the Press Ticket® API to manage various communication-related resources, including WhatsApp connections. Specifically, for the WhatsApp - Verificar Número (Check Number) operation, it verifies if a given phone number is registered on WhatsApp.

This functionality is useful in scenarios where you want to validate whether a phone number can receive WhatsApp messages before attempting to send communications. For example, a business could use this to filter contact lists or confirm customer availability on WhatsApp prior to outreach campaigns.

Properties

Name Meaning
Número The phone number to be verified if it is registered on WhatsApp.

The property "Número" expects a string representing the phone number in international format.

Output

The output JSON contains the response from the Press Ticket® API endpoint that checks the WhatsApp registration status of the provided number. Typically, this will include fields indicating whether the number is registered and possibly additional metadata about the number's WhatsApp status.

Example output structure (simplified):

{
  "success": true,
  "number": "5511999999999",
  "isRegistered": true,
  "details": {
    // Additional info returned by the API
  }
}

The exact fields depend on the API response but generally confirm the registration status.

Dependencies

  • Requires an active connection to the Press Ticket® API.
  • Needs an API token credential configured in n8n to authenticate requests.
  • The node uses the base URL and API token from these credentials to make HTTP requests.

Troubleshooting

  • Invalid or missing API token: Ensure the API token credential is correctly set up and valid.
  • Incorrect phone number format: The number should be in international format without spaces or special characters.
  • API errors or downtime: If the Press Ticket® API is unreachable or returns errors, verify network connectivity and API service status.
  • Unexpected response format: If the API changes its response schema, the node might not parse results correctly.

If the node throws errors related to request failures, check the credentials and input parameters carefully.

Links and References


Note: This summary focuses exclusively on the "WhatsApp - Verificar Número" operation as requested.

Discussion