PAPI WhatsApp icon

PAPI WhatsApp

Interaja com a PAPI WhatsApp API

Perfil → Obter Foto de Perfil

AI-generated

Summary

Retrieve the profile picture URL of a WhatsApp contact or group using the WhatsApp instance ID and the contact/group's JID.

Inputs

  • ID da Instância (required) — Specifies the identifier of the WhatsApp instance to use for the request.
  • JID do Perfil (required) — Specifies the JID (Jabber ID) of the contact or group whose profile picture URL you want to obtain.

Output shape

a single JSON object containing the URL or data of the profile picture for the specified JID from the specified instance

The returned data corresponds to the response from the API endpoint /api/instances/{instanceId}/profile-picture/{profileJid}. Errors such as unauthorized access or not found are returned as errors by the node.

Discussion