Wacap icon

Wacap

Interact with WhatsApp using Wacap Docker API

Contact → Get Profile Picture

AI-generated

Summary

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-picture using 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'

Discussion