Actions75
- Channel Actions
- Chat Actions
- Client Actions
- Contact Actions
- Group Chat Actions
- Message Actions
- Session Actions
Client → Get Contacts
AI-generatedSummary
Retrieve contacts
Inputs
- sessionId (required) — Session identifier. Select from the list or use an expression. Falls back to credentials default if empty.
Output shape
array of contact objects
Each contact object includes fields such as id, number, name, shortName, pushname, isUser, isGroup, isMyContact, isBlocked, etc., as defined by the WhatsApp Web API.
Examples
Example 1: Fetch all contacts from the selected session
resource=Client, operation=Get Contacts, sessionId=DefaultSession
Example 2: Get contacts for a different session using expression
resource=Client, operation=Get Contacts, sessionId=$myOtherSession
Example 3: Retrieve contacts after filtering with a custom session
resource=Client, operation=Get Contacts, sessionId=$customSessionId