Zappify icon

Zappify

Integração completa com a API Zappify para WhatsApp

Mensagens → Fixar

AI-generated

Summary

Pin or unpin a message in a WhatsApp chat via the Zappify integration.

Inputs

  • jid (required) — Recipient JID or group ID (e.g., 5511999999999 ou 123456789@g.us)
  • messageId (required) — ID of the message to pin or unpin
  • fromMe — Whether the message was sent by the user; defaults to true
  • pinMessage (required) — Whether to fixar (true) or desafixar (false)
  • pinDuration — Duration for the pin; options: 24h, 7d, 30d; default 7d (only applicable when pinMessage is true)

Output shape

Returns the message pin/unpin status from the Zappify API.

The operation sends a POST request to /messages/pin with the assembled payload. If pinMessage is true, pinDuration is included in the request body.

Examples

Example 1: Pin a message for 7 days

jid: '5511999999999', messageId: 'ABC123', pinMessage: true, pinDuration: '7d'

Discussion