Aplica uma etiqueta (label) a um chat
Auth:Documentation Index
Fetch the complete documentation index at: https://docs.ryzeapi.cloud/llms.txt
Use this file to discover all available pages before exploring further.
TokenAccount ou TokenInstance • Rate-limit: Global (100/min) • Idempotente: sim
tag_id aplicado. O chat_jid não é incluído quando o handler delega apenas para o serviço (campos omitempty); confie em success/message para o resultado da operação.
| Nome | Obrigatório | Exemplo | Descrição |
|---|---|---|---|
Content-Type | sim | application/json | — |
token | sim (ou Authorization) | a1b2c3d4-... | TokenAccount ou TokenInstance. |
5511999999999), JID privado (...@s.whatsapp.net ou ...@lid), JID de grupo (...@g.us) ou newsletter.| HTTP | error.message | Quando ocorre |
|---|---|---|
| 400 | Instance name is required | — |
| 400 | Invalid request body: <...> | JSON malformado. |
| 400 | Number is required | — |
| 400 | tagId is required | — |
| 401 | Invalid token | — |
| 404 | Instance not found | — |
| 404 | Tag not found | tagId inexistente. |
| 503 | Instance is not connected to WhatsApp | — |