Actions20
- Message Actions
- Presence Actions
- Session Actions
- Group Actions
- Contact Actions
Contact → Get Profile Picture
AI-generatedSummary
Retrieves a WhatsApp contact's profile picture.
Inputs
- Session ID (required) — Identifier of the Wacap session; defaults to 'default'.
- Chat ID (required) — Phone number or chat ID of the contact whose picture is to be fetched.
Output shape
Each input item yields an output item containing the binary picture data (or API response) under the json key.
The node makes a GET request to
/api/sessions/<sessionId>/contacts/<chatId>/profile-pictureusing the configured wacapApi credentials (base URL and optional API key).
Examples
Example 1: Get the profile picture for a known contact
Session ID = 'default' (or a custom session name), Chat ID = '628123456789'