---
title: "Conversation counts for a record"
url: https://docs.gleap.ai/en/reference/rest-api/counts
method: GET
path: "/records/{recordType}/{recordId}/counts"
api: "API Reference"
tag: "Records"
operationId: "Counts"
updatedAt: "2026-11-01T18:40:15.677Z"
language: en
---

# Conversation counts for a record

`GET https://api.gleap.io/v3/records/{recordType}/{recordId}/counts`

Open and total conversation counts for a record, so a tab can show a real number instead of the size of whatever page happens to be loaded.

## Authorization

- `Authorization` (header, required): `Bearer <token>`

## Path parameters

- `recordType` (string, required)
- `recordId` (string, required)

## Headers

- `project` (string, required)

## Example request

```bash
curl --request GET \
  --url 'https://api.gleap.io/v3/records/{recordType}/{recordId}/counts' \
  --header 'Authorization: Bearer <token>' \
  --header 'project: <project>'
```

## Responses

### 200 (`application/json`)

Ok

- `total` (number<double>, required)
- `open` (number<double>, required)

```json
{
  "total": 0,
  "open": 0
}
```
