ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Histórico → Etiquetar Mensagem

AI-generated

Summary

Label a message with selected tags

Inputs

  • chat (required) — The conversation identifier (numeric or JID) where the message resides.
  • messageId (required) — The unique identifier of the message to label.
  • labelIds (required) — Comma‑separated list of label IDs to apply to the message; one per line.

Output shape

a single object containing the applied label IDs and the message ID

The response may include additional metadata; fields are optional and the exact payload can vary by instance.

Examples

Example 1: Add label ID 12 and 34 to a message in a specific chat

chat = 5511999999999, messageId = 3EB0..., labelIds = 12\n34

Example 2: Apply a new label to a recently received message

chat = 5511999999999, messageId = 3EB1..., labelIds = new-label

Links

Discussion