WhatsApp Web API (WWebJS) icon

WhatsApp Web API (WWebJS)

Interact with WhatsApp Web API via WWebJS — send messages, manage sessions, chats, groups, contacts and channels

Client → Get Profile Picture URL

AI-generated

Summary

Fetch profile picture URL

Inputs

  • sessionId (required) — Session identifier to use for the API request.
  • contactId (required) — WhatsApp contact identifier in the format number@c.us.

Output shape

profile picture URL (string)

May be null if the contact has no profile picture.

Examples

Example 1: Get profile picture URL for a contact using a selected session

resource=client, operation=Get Profile Picture URL, sessionId set to chosen session, contactId set to 1234567890@c.us

Links

Discussion