D-API icon

D-API

Interagir com D-API para automação do WhatsApp

Contato → Obter Avatar

AI-generated

Summary

Retrieve the avatar image of a WhatsApp contact by providing the session ID and the user's phone number.

Inputs

  • ID Da Sessão (required) — The session ID identifying the WhatsApp session to use for the request.
  • ID Do Usuário (required) — The phone number of the user whose avatar is to be obtained.

Output shape

a single record containing the avatar data as returned by the API.

The output contains the avatar image or URL data returned by the D-API for the specified contact. If multiple inputs are processed, outputs are returned in an array of such records. Errors are returned as error messages in the JSON under an 'error' key if 'continueOnFail' is enabled.

Discussion