---
title: "Link clicks"
method: POST
path: "/domain/{domainId}/link_clicks"
tags: ["domain"]
---

# Link clicks

`POST /domain/{domainId}/link_clicks`

## Request

- Base URL: `https://statistics.short.io/statistics`
- URL: `https://statistics.short.io/statistics/domain/{domainId}/link_clicks`
- Auth: API key in header `Authorization`

Gets link clicks for link paths

## Path parameters

- `domainId` integer, required

## Query parameters

- `startDate` string, date
- `endDate` string, date

## Request body

- Model22
  - `pathsDates` Model21[]
    - `path` string: link path
    - `createdAt` string: link created date

## Response `200`

link clicks by paths dictionary

- Model23: Dictionary with shortURL and link clicks

---

[API](https://skmtc.dev/short/apis/statistics-api.md) - [All operations](https://skmtc.dev/short/apis/statistics-api/llms.txt) - [OpenAPI document](https://skmtc.dev/short/apis/statistics-api/revisions/b87df490eedc?raw)
