Actions75
- Channel Actions
- Chat Actions
- Client Actions
- Contact Actions
- Group Chat Actions
- Message Actions
- Session Actions
Client → Get Chat By ID
AI-generatedSummary
Get a specific chat by its WhatsApp ID using the selected session
Inputs
- sessionId (required) — Select the session identifier (falls back to default credentials if empty)
- chatId (required) — WhatsApp chat identifier; use number@c.us for individuals or number@g.us for groups
Output shape
single chat record
Returns a full chat object containing fields such as id, name, isGroup, isReadOnly, unreadCount, archived, pinned, etc., merged with input fields
Examples
Example 1: Retrieve chat details before sending a message
sessionId chosen from list, chatId set to "34612345678@c.us"
Example 2: Inspect chat metadata for further actions
sessionId selected, chatId entered as "120363XXXXXXXXX@g.us"