WhatsApp · JSON Structure

Whatsapp Business Management Api Conversation Analytics Structure

ConversationAnalytics from WhatsApp API

Type: object Properties: 1

ConversationAnalytics is a JSON Structure definition published by WhatsApp, describing 1 property. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

conversation_analytics

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/whatsapp/refs/heads/main/json-structure/whatsapp-business-management-api-conversation-analytics-structure.json",
  "name": "ConversationAnalytics",
  "description": "ConversationAnalytics from WhatsApp API",
  "type": "object",
  "properties": {
    "conversation_analytics": {
      "type": "object",
      "properties": {
        "data": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "data_points": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "start": {
                      "type": "integer"
                    },
                    "end": {
                      "type": "integer"
                    },
                    "conversation": {
                      "type": "integer"
                    },
                    "cost": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}