v1

latestOpenAPI 3.0.02026-07-2483164186.3 KB
AI Summary

Get AI Summary of a 1:1 Chat

AI summary of a 1:1 conversation over an inclusive UTC date range of at most 7 days. Requires the Chat Summary feature to be enabled for the organization, and consumes one AI summarisation credit per generation.

get/channel/chat/ai-summary

Query parameters

wabaNumberstring required
Example:919999999998

The WhatsApp Business Account (WABA) number the conversation belongs to. Digits only, no leading +.

customerNumberstring required
Example:15551230000

The customer's WhatsApp number, with country code. Digits only, no leading +.

startDatestring date required
Example:2026-06-15

Inclusive start of the range (UTC, day granularity).

endDatestring date required
Example:2026-06-21

Inclusive end of the range (UTC). Must be on or after startDate, and at most 7 days from it.

Response

Summary retrieved (freshly generated or served from cache).

startDatestring date-time
endDatestring date-time
chatTypestring
chatMessagesCountinteger

Messages included in the summary (calls excluded).

callsCountinteger

Calls included in the summary.

Example response

{
  "startDate": "2026-06-15T00:00:00.000Z",
  "endDate": "2026-06-21T23:59:59.999Z",
  "chatType": "INDIVIDUAL",
  "chatMessagesCount": 34,
  "callsCount": 1,
  "summaries": [
    {
      "title": "Order shipment delay reported",
      "description": "John Doe reported that order #4821 had not shipped and asked for an update; the agent confirmed a two-day delay, apologised, and shared a revised delivery date, which was accepted."
    }
  ]
}