D-API icon

D-API

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

Chat → Listar

AI-generated

Summary

List chats from a specified session with pagination and sorting options.

Inputs

  • ID Da Sessão (required) — The ID of the session from which to list chats.
  • Campos Adicionais — Optional parameters to control pagination and sorting, including max number of results (Limite), page number (Página), field to sort by (Campo De Ordenação: Data or Nome), and sort order (Ordem De Classificação: ascending or descending).

Output shape

a list of chat objects returned as JSON documents, one per output item

Supports pagination through 'limit' and 'page' inputs; results can be sorted by 'timestamp' or 'name' in ascending or descending order.

Discussion