D-API icon

D-API

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

Chat → Obter

AI-generated

Summary

Retrieve information about a specific chat using its chat ID and session ID.

Inputs

  • ID Da Sessão (required) — The session ID to identify the WhatsApp session.
  • ID Do Chat (required) — The unique identifier of the chat to retrieve.

Output shape

a single record containing the chat's details as returned by the D-API

Returns JSON data for the specified chat. If multiple input items are provided, returns an array of chat detail records.

Examples

Example 1: Fetch details for a chat within a WhatsApp session

Provide the required Session ID and Chat ID parameters to obtain the chat details.

Discussion