ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Chat → Etiquetar Mensagem

AI-generated

Summary

Tags a specific WhatsApp message with one or more labels via the ZapGate API.

Inputs

  • chat (required) — The phone number (with country code, e.g., 5511999999999) or JID of the chat. Required for the API path.
  • messageId (required) — The WhatsApp message ID to be tagged.
  • labelIds (required) — One or more label IDs, one per line. Use 'Criar/Editar Etiqueta' operation to find or create label IDs.

Output shape

A single record containing the result of the API request (usually { success: true } or the API's response object).

Returns the API response; success is indicated by the response structure. Errors are thrown if required fields are missing or the API request fails.

Examples

Example 1: Tag a specific message in a chat with label ID 'work-important'.

Chat: 5511999999999, Message ID: 3EB0..., Label IDs: work-important

Example 2: Add multiple labels to a message.

Chat: 5511999999999, Message ID: 3EB0..., Label IDs: work-important
archive-old

Links

Discussion