OpenWA icon

OpenWA

Interact with OpenWA WhatsApp API Gateway

Actions164

Message → Pin

AI-generated

Summary

Pins a WhatsApp message in a chat for the selected duration. The pin request uses the session, chat ID, full serialized message ID, and pin duration.

Inputs

  • Session Name or ID (required) — Select the session to use.
  • Chat Name or ID (required) — Select or enter the chat containing the message, such as a personal chat ID ending in @c.us or a group ID ending in @g.us.
  • Message ID (required) — Enter the full serialized ID of the message to pin, as returned by a send operation or delivered by the Trigger.
  • Pin Duration — Choose 24 hours, 7 days, or 30 days. Defaults to 24 hours.

Output shape

A single item containing the API response.

The operation pins the specified message. The UI notes that pins cannot be read back, so a workflow cannot check whether a pin is active or refresh it.

Links

Discussion