Metrics

Kommo metrics via API

Your customer connects their Kommo account and your product queries 31 metrics through the same endpoint as every other platform. Each metric has an id (reference_key) that goes in the request.

POST /api/metrics/get-data
Authorization: Bearer <merchant token>
x-customer-token: <customer token>

{
  "customer_integration": "<connection uuid>",
  "start": "2026-10-01",
  "end": "2026-10-31",
  "comparison_start": "2026-09-01",
  "comparison_end": "2026-09-30",
  "metrics": [
    {
      "id": "m1",
      "reference_key": "kommo:total_leads",
      "component": "number_v1",
      "metrics": [
        "total_leads"
      ],
      "dimensions": [
        "leads"
      ]
    }
  ]
}
Example: "Total Leads" in October, compared to September.

More Kommo request examples

The same endpoint for every kind of metric. The metrics and dimensions of each item come from the platform catalog (GET /api/metrics/{integration_slug}).

Chart

Created Leads by User

Number of created leads in the analysis period, grouped by user.

POST /api/metrics/get-data
Authorization: Bearer <merchant token>
x-customer-token: <customer token>

{
  "customer_integration": "<connection uuid>",
  "start": "2026-10-01",
  "end": "2026-10-31",
  "metrics": [
    {
      "id": "m1",
      "reference_key": "kommo:created_leads_by_user",
      "component": "chart_v1",
      "metrics": [
        "created_leads"
      ],
      "dimensions": [
        "users"
      ]
    }
  ]
}

Table

Lost Leads by Reason

Number of lost leads in the analysis period, grouped by reason.

POST /api/metrics/get-data
Authorization: Bearer <merchant token>
x-customer-token: <customer token>

{
  "customer_integration": "<connection uuid>",
  "start": "2026-10-01",
  "end": "2026-10-31",
  "metrics": [
    {
      "id": "m1",
      "reference_key": "kommo:lost_leads_by_reason",
      "component": "datatable_v1",
      "metrics": [
        "lost_leads",
        "lost_leads_rate"
      ],
      "dimensions": [
        "reasons"
      ]
    }
  ]
}

Number

Lost Leads

Number of leads marked as lost in the analysis period.

POST /api/metrics/get-data
Authorization: Bearer <merchant token>
x-customer-token: <customer token>

{
  "customer_integration": "<connection uuid>",
  "start": "2026-10-01",
  "end": "2026-10-31",
  "metrics": [
    {
      "id": "m1",
      "reference_key": "kommo:lost_leads",
      "component": "number_v1",
      "metrics": [
        "lost_leads"
      ],
      "dimensions": [
        "leads"
      ]
    }
  ]
}

Numbers

21 metrics

  • Total Leads

    Value of leads throughout the analysis period.

    kommo:total_leads
  • Lost Leads

    Number of leads marked as lost in the analysis period.

    kommo:lost_leads
  • Win Leads

    Number of leads marked as won in the analysis period.

    kommo:win_leads
  • Open Leads

    Number of open leads in the analysis period.

    kommo:open_leads
  • No Task Leads

    Number of leads with no tasks linked in the analysis period.

    kommo:no_task_leads
  • Total Leads Value

    Total value of leads registered in the analysis period.

    kommo:total_leads_value
  • Win Leads Value

    Value of won leads in the analysis period.

    kommo:win_leads_value
  • Lost Leads Value

    Value of lost leads in the analysis period.

    kommo:lost_leads_value
  • Open Leads Value

    Value of open leads in the analysis period.

    kommo:open_leads_value
  • No Task Leads Value

    Value of leads with no tasks linked in the analysis period.

    kommo:no_task_leads_value
  • Total Tasks

    Total number of tasks created in the analysis period.

    kommo:total_tasks
  • Completed Tasks

    Total number of tasks completed by users within the selected period.

    kommo:completed_tasks
  • Open Tasks

    Number of open tasks in the analysis period.

    kommo:open_tasks
  • Total open leads

    Total number of open leads, regardless of the period they were created.

    kommo:total_open_leads
  • Total win leads

    Total number of won leads, regardless of the period they were created.

    kommo:total_win_leads
  • Total lost leads

    Total number of lost leads, regardless of the period they were created.

    kommo:total_lost_leads
  • Total leads with no task

    Total number of no task leads, regardless of the period they were created.

    kommo:total_no_task_leads
  • Total open leads value

    Total value of open leads, regardless of the period they were created.

    kommo:total_open_leads_value
  • Total win leads value

    Total value of won leads, regardless of the period they were created.

    kommo:total_win_leads_value
  • Total lost leads value

    Total value of lost leads, regardless of the period they were created.

    kommo:total_lost_leads_value
  • Total leads with no task value

    Total value of no task leads, regardless of the period they were created.

    kommo:total_no_task_leads_value

Charts

8 metrics

  • Created Leads by User

    Number of created leads in the analysis period, grouped by user.

    kommo:created_leads_by_user
  • Win Leads by User

    Number of win leads in the analysis period, grouped by user.

    kommo:win_leads_by_user
  • Lost Leads by User

    Number of lost leads in the analysis period, grouped by user.

    kommo:lost_leads_by_user
  • Created Leads Value by User

    Value of created leads in the analysis period, grouped by user.

    kommo:created_leads_value_by_user
  • Win Leads Value by User

    Value of win leads in the analysis period, grouped by user.

    kommo:win_leads_value_by_user
  • Lost Leads Value by User

    Value of lost leads in the analysis period, grouped by user.

    kommo:lost_leads_value_by_user
  • Leads Over Time

    Number of leads created throughout the analysis period.

    kommo:leads_over_time
  • Leads Value Over Time

    Tracking the value of leads over time.

    kommo:leads_value_over_time

Tables

2 metrics

  • Lost Leads by Reason

    Number of lost leads in the analysis period, grouped by reason.

    kommo:lost_leads_by_reason
  • Leads by User Status

    Number of leads in the analysis period, grouped by status and user.

    kommo:leads_by_user_status

See Connect applied to your product.

Try it for 15 days with no card, or walk our team through your use case.