Bailey (WhatsApp) icon

Bailey (WhatsApp)

Interact with WhatsApp via Baileys WebSocket API

Actions122

User → Get Profile Picture

AI-generated

Summary

Fetches a WhatsApp user's profile picture URL for the supplied JID, using either the low-resolution preview or the full image lookup.

Inputs

  • JID (required) — WhatsApp JID of the user, such as 12025551234@s.whatsapp.net.
  • Profile Picture Type — Choose Preview (Low Res) or Full Image (High Res); defaults to Preview.

Output shape

A single item with a JSON object containing jid and url.

If no URL is returned, url is null. The operation returns a URL; it does not download the picture.

Examples

Example 1: Get a user's high-resolution profile picture URL

Set JID to the user's WhatsApp JID and Profile Picture Type to Full Image (High Res).

Links

Discussion