New Evolution API icon

New Evolution API

Interact with Evolution API - Complete WhatsApp Integration (114+ operations)

Actions129

Etiqueta → Gerenciar Etiqueta

AI-generated

Summary

Add or remove a label on a contact/chat by specifying the contact's phone number and the label ID.

Inputs

  • Número (required) — Phone number of the contact/chat to apply or remove the label, e.g., '5511999999999'.
  • ID Da Etiqueta (required) — ID of the label to manage; obtain this ID by using the "Buscar Etiquetas" operation.
  • Ação (required) — Action to perform on the label: either 'Adicionar' (add) or 'Remover' (remove).

Output shape

a JSON array containing the result of the label management operation for each input item.

The operation returns a JSON array with the outcome of applying or removing the label on the specified contact/chat. Ensure the label ID is valid and obtained from the appropriate label listing operation.

Examples

Example 1: Add a label to a contact

Set 'Número' to the contact's phone number, 'ID Da Etiqueta' to the label ID to add, and 'Ação' to 'Adicionar'.

Example 2: Remove a label from a contact

Set 'Número' to the contact's phone number, 'ID Da Etiqueta' to the label ID to remove, and 'Ação' to 'Remover'.

Discussion