Actions24
- �� Enviar Mensagem
- 📋 Enviar Lista
- 🔍 Verificar Número
- 👤 Criar Contato
- �� Listar Contatos
- ✏️ Atualizar Contato
- 🗑️ Remover Contato
- 🏢 Criar Empresa
- ��️ Criar Tag
- 📋 Listar Tags
- 🗑️ Deletar Tag
- 📅 Criar Agendamento
- 📋 Listar Agendamentos
- 🗑️ Deletar Agendamento
- ✏️ Atualizar Ticket
- 📋 Listar Tickets
- ��️ Mostrar Ticket
- ��️ Deletar Ticket
- �� Listar Empresas
- 👁️ Mostrar Empresa
- ✏️ Atualizar Empresa
- 🗑️ Deletar Empresa
- 🏷️ Adicionar Tag ao Ticket
- 🏷️ Remover Tag do Ticket
✏️ Atualizar Ticket
AI-generatedSummary
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"}.