---
updatedAt: 2025-10-20T13:38:58.000Z
agentTools:
  projectIndex: https://developers.kommo.com/llms.txt
---

# Incoming leads summary information

This method allows getting summary information about the incoming leads.

## Response parameters

| Parameter           | Data type | Description                                           |
| :------------------ | :-------- | :---------------------------------------------------- |
| total               | int       | Total number of incoming leads                        |
| accepted            | int       | Total number of accepted incoming leads               |
| declined            | int       | Total number of declined incoming leads               |
| average\_sort\_time | int       | Average sorting time in seconds                       |
| categories          | object    | The number of incoming leads of a particular category |

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "kommo-api-references",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://{subdomain}.kommo.com",
      "variables": {
        "subdomain": {
          "default": "subdomain"
        }
      }
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {}
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/api/v4/leads/unsorted/summary": {
      "get": {
        "summary": "Incoming leads summary information",
        "description": "This method allows getting summary information about the incoming leads.",
        "operationId": "incoming-leads-summary",
        "parameters": [
          {
            "name": "filter[uid]",
            "in": "query",
            "description": "Filter by the incoming lead UID",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "filter[created_at]",
            "in": "query",
            "description": "Filter by creation date and incoming lead acceptance date.  You can pass a timestamp, in which case data will be returned for the incoming lead created and received from the passed timestamp.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "filter[created_at][from]",
            "in": "query",
            "description": "Filter by creation date and incoming lead acceptance date. You can pass a timestamp, in which case data will be returned for the incoming lead created and received from the passed timestamp.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "filter[created_at][to]",
            "in": "query",
            "description": "Filter by creation date and incoming lead acceptance date. You can pass a timestamp, in which case data will be returned for the incoming lead created and received from the passed timestamp.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "filter[pipeline_id]",
            "in": "query",
            "description": "Filter by the pipeline ID",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Request successful": {
                    "value": {
                      "total": 6,
                      "accepted": 1,
                      "declined": 3,
                      "average_sort_time": 44153027,
                      "categories": {
                        "sip": {
                          "total": 2
                        },
                        "forms": {
                          "total": 3
                        },
                        "chats": {
                          "total": 1
                        }
                      }
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "total": {
                      "type": "integer",
                      "example": 6,
                      "default": 0
                    },
                    "accepted": {
                      "type": "integer",
                      "example": 1,
                      "default": 0
                    },
                    "declined": {
                      "type": "integer",
                      "example": 3,
                      "default": 0
                    },
                    "average_sort_time": {
                      "type": "integer",
                      "example": 44153027,
                      "default": 0
                    },
                    "categories": {
                      "type": "object",
                      "properties": {
                        "sip": {
                          "type": "object",
                          "properties": {
                            "total": {
                              "type": "integer",
                              "example": 2,
                              "default": 0
                            }
                          }
                        },
                        "forms": {
                          "type": "object",
                          "properties": {
                            "total": {
                              "type": "integer",
                              "example": 3,
                              "default": 0
                            }
                          }
                        },
                        "chats": {
                          "type": "object",
                          "properties": {
                            "total": {
                              "type": "integer",
                              "example": 1,
                              "default": 0
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "The user is not authorized": {
                    "value": {
                      "title": "Unauthorized",
                      "type": "https://httpstatus.es/401",
                      "status": 401,
                      "detail": "Invalid user name or password"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```