Skip to main content
Attributes
string
The unique identifier of the organization that owns the WhatsApp account.
string
The unique identifier of the WhatsApp chat (format: {phone_number}@c.us for individual chats or {group_id}@g.us for groups).
object
A map of members in the chat, keyed by WhatsApp ID (format: {phone_number}@c.us).
string
The display name of the chat. For groups, this is the group name. For individual chats, this is the contact’s name.
string
The type of chat. Can be group, user, or business.
string
The organization phone that the chat belongs to(in the format {phone_number}@c.us)
string
The URL of the chat’s profile image.
string
The ISO 8601 formatted timestamp when the chat was created.
string
The ISO 8601 formatted timestamp when the chat was last updated.
object
An object containing details about the latest message sent in the chat.
The invite link of the chat.
boolean
Indicates if notifications for this chat are muted.
boolean
Indicates if the chat has been archived.
object
A map of custom properties associated with the chat. Values depend on the property type:
  • dropdown: Selected option from predefined choices
  • text: Text string value
  • date: Date value
string
The description text for group chats.
number
The number of unread messages in the chat.
string
The ISO 8601 formatted timestamp when the chat was closed, if applicable.
boolean
Indicates if the organization has left this chat.
object
A map of label identifiers associated with the chat, where keys are label IDs and values are booleans.
array
An array of labels associated with the chat.
string
The email address of the user assigned to this chat.
object
A map of user access permissions, where keys are email addresses and values are booleans.
number
The total number of participants in the chat.
object
A map of flagged messages, where keys are phone numbers and values are flagged messages count.
boolean
Indicates if only admins can modify group info.
boolean
Indicates if only admins can send messages in the group.
boolean
Indicates if only admins can add new members to the group.
boolean
Indicates the id of the parent community for the group.