D-API icon

D-API

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

Contato → Listar

AI-generated

Summary

List contacts for a given WhatsApp session by providing the session ID.

Inputs

  • ID Da Sessão (required) — The session ID to identify the WhatsApp session whose contacts will be listed.

Output shape

a list of contact records in JSON format, each representing a contact associated with the specified session

Returns an array of contact objects. If multiple input items provided, concatenates all contacts from each session queried. Errors are returned as objects with an error message if continueOnFail is enabled.

Discussion