Palantiri API icon

Palantiri API

Enviar mensagens e consultar a Palantiri API (WhatsApp)

Listar Chats

AI-generated

Summary

Retrieve a list of WhatsApp chats from a specified Palantiri API instance, with control over the maximum number of chats returned.

Inputs

  • Instance ID (required) — Identifier of the Palantiri API instance; required to match the instance owning the API Key.
  • Limite — Maximum number of chat records to return; defaults to 50 if not specified.

Output shape

a JSON array containing chat objects as returned by the Palantiri API's /chats endpoint

The result set is limited by the 'Limite' parameter; each input item produces one output item with the chat list data under the JSON property.

Examples

Example 1: List 10 chats from an instance with ID 'default'

Set 'Instance ID' to 'default' and 'Limite' to 10.

Links

Discussion