DevConnectAi Tool icon

DevConnectAi Tool

Ferramenta para agentes IA interagirem com WhatsApp via DevConnectAi - Envia mensagens, gerencia contatos, tickets e muito mais

✏️ Atualizar Ticket

AI-generated

Summary

Updates a specific ticket's metadata using a JSON payload.

Inputs

  • tokenType (required) — Selects which authentication token to use: Connection (WhatsApp), Company (contacts/tags), or Admin (enterprise operations).
  • ticketId (required) — The ID of the ticket to update.
  • updateData (required) — JSON object containing the fields to update (e.g., {"status": "closed", "userId": 1}).

Output shape

A single item containing a success status, the operation name, and the raw API result.

Returns success/failure status and the API response in the `` field. The API endpoint is PUT /api/updateTicket.

Examples

Example 1: Close a ticket assigned to a specific user.

Set tokenType to 'connection' or 'admin', provide the ticketId, and set updateData to {"status": "closed", "userId": 123}.

Example 2: Update ticket metadata for an enterprise account.

Set tokenType to 'company' or 'admin', provide the ticketId, and set updateData to {"status": "pending", "priority": "high"}.

Discussion