Press Ticket icon

Press Ticket

Interage com a API do Press Ticket®

Sessão WhatsApp → Excluir

AI-generated

Overview

This node interacts with the Press Ticket API to manage WhatsApp sessions. Specifically, for the 'Sessão WhatsApp' resource and 'Excluir' operation, it deletes a WhatsApp session by its session ID. This is useful for automating the removal of WhatsApp sessions in workflows, such as cleaning up inactive or obsolete sessions.

Use Case Examples

  1. Deleting a WhatsApp session by providing its session ID to free up resources or manage active connections.
  2. Automating session cleanup in a customer support system integrated with WhatsApp.

Properties

Name Meaning
ID do WhatsApp ID da conexão WhatsApp, required for create, update, and delete operations on WhatsApp sessions.
ID da Sessão WhatsApp ID da sessão WhatsApp, required for update and delete operations on WhatsApp sessions.

Output

JSON

  • success - Indicates if the deletion was successful
  • whatsappSessionId - The ID of the WhatsApp session that was deleted
  • error - Error message if the deletion failed

Dependencies

  • Press Ticket API with an API token credential

Troubleshooting

  • Ensure the 'whatsappSessionId' provided is valid and exists; otherwise, the API will return an error.
  • Check that the API token credential is correctly configured and has permissions to delete WhatsApp sessions.
  • If the API returns an error, verify the network connectivity and the API endpoint URL.

Discussion