---
title: "Get Stats Extended Timeseries"
method: GET
path: "/v1/stats/extended_timeseries"
tags: ["stats"]
---

# Get Stats Extended Timeseries

`GET /v1/stats/extended_timeseries`

## Request

- Base URL: `https://api.linktodm.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.linktodm.com/v1/stats/extended_timeseries`
- Auth: HTTP bearer

Per-bucket time series of dms_sent + follows + contacts.

## Query parameters

- `range` 'all' | '24h' | '7d' | '30d': Time-range window applied to every metric on the stats page. Mirrors the frontend tabs (`All time / 24 hours / 7 days / 30 days`).
- `channel_id` string, nullable

## Response `200`

Successful Response

- StatsExtendedTimeseriesResponse: Per-bucket time series matching `StatsExtendedOverviewResponse` (dms_sent + follows + contacts). Same bucketing rules as `StatsTimeseriesResponse`.
  - `labels` string[], required
  - `dms_sent` integer[], required
  - `follows` integer[], required
  - `contacts` integer[], required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/linktodm/apis/salesmorph.md) - [All operations](https://skmtc.dev/linktodm/apis/salesmorph/llms.txt) - [OpenAPI document](https://skmtc.dev/linktodm/apis/salesmorph/revisions/4af0ad5dbe92?raw)
