Pin / Unpin messages
Messages
Pin / Unpin messages
Pin or unpin a message in a private chat or group
POST
Pin / Unpin messages
Documentation Index
Fetch the complete documentation index at: https://developer.z-api.io/llms.txt
Use this file to discover all available pages before exploring further.
Overview
With this method you can pin messages in a conversation, whether private chats or groups.Attributes
Header
Your instance ID. Available in the Z-API panel under Instances.
Your Z-API instance token.
Required
Recipient’s phone number (or group ID for group messages) in DDI DDD NUMBER format. E.g.: 551199999999
ID of the message to be pinned or unpinned
Action to be executed:
pin or unpinDuration the message will remain pinned:
24_hours, 7_days or 30_days. Has no effect when unpinning a message.