Palantiri API icon

Palantiri API

Enviar mensagens e consultar a Palantiri API (WhatsApp)

Consultar Contato

AI-generated

Summary

Retrieve information about a specific WhatsApp contact using their JID or phone number within a specified instance.

Inputs

  • Instance ID (required) — ID of the instance. When using an instance API key, it must match the instance owning the key.
  • JID Do Contato (required) — Phone number or JID of the contact to fetch information for, e.g., '5511999999999' or '5511999999999@s.whatsapp.net'.

Output shape

a single JSON object containing the contact's information in the response body.

Returns detailed contact information retrieved from the Palantiri API for the specified JID. The data is provided in JSON format and includes various contact properties depending on the API's response.

Examples

Example 1: Fetch WhatsApp contact info

Set 'Instance ID' to the target instance's ID and 'JID Do Contato' to the contact's phone number or JID to retrieve their contact details.

Links

Discussion