Get chat metadata
Chats
Get chat metadata
Returns a chat’s metadata information
GET
Get chat metadata
Overview
This method is responsible for returning a chat’s metadata information.Attributes
Header
Your instance ID. Available in the Z-API panel under Instances.
Your Z-API instance token.
Path
Contact phone number in DDI DDD NUMBER format. E.g.: 551199999999
Response
200
Contact phone number
Number of unread messages
Last interaction timestamp
0 or 1 indicating if the chat is muted
Whether the chat is marked as spam
Chat photo URL (deleted after 48h by WhatsApp)
Whether it is an announcement group
Whether it is a group
Profile status
Chat annotations (available only for WhatsApp Business)