---
title: "List of raw clicks"
method: POST
path: "/domain/{domainId}/last_clicks"
tags: ["domain"]
---

# List of raw clicks

`POST /domain/{domainId}/last_clicks`

Returns list of latest raw clicks

## Path parameters

- `domainId` integer, required

## Request body

- Model15
  - `limit` number — Limit records to receive
  - `endDate` string, date — Returns statistics for clicks before given date. Required if period is custom
  - `startDate` string, date — Returns statistics for clicks after given date. Required if period is custom
  - `beforeDate` string, date — Parameter is used for pagination
  - `afterDate` string, date — Parameter is used for pagination
  - `period` 'custom' | 'today' | 'yesterday' | 'total' | 'week' | 'month' | 'lastmonth' | 'last7' | 'last30' — One of predefined time intervals. Select custom to provide custom dates
  - `tz` string — Timezone name
  - `include` Model12 — Filter records by provided values
    - `countries` string[] — Return clicks from provided countries
    - `dt` string[]
    - `browsers` string[] — Return clicks from provided browsers
    - `human` boolean — Returns human clicks only if true
    - `socials` string[] — Return clicks from provided social networks
    - `browserVersions` string[] — Return clicks from provided browser versions
    - `statuses` number[] — Return clicks with provided statuses
    - `paths` string[] — Return clicks with provided paths
    - `protos` string[] — Return clicks with provided protocols
    - `methods` string[] — Return clicks with provided methods
    - `refhosts` string[] — Return clicks from provided referrers
    - `utmSources` string[] — Return clicks from provided utm sources
    - `utmMediums` string[] — Return clicks from provided utm mediums
    - `utmCampaigns` string[] — Return clicks from provided utm campaigns
  - `exclude` Model14 — Exclude records with provided values
    - `countries` string[] — Return clicks from provided countries
    - `dt` string[]
    - `browsers` string[] — Return clicks from provided browsers
    - `human` boolean — Returns human clicks only if true
    - `socials` string[] — Return clicks from provided social networks
    - `browserVersions` string[] — Return clicks from provided browser versions
    - `statuses` number[] — Return clicks with provided statuses
    - `paths` string[] — Return clicks with provided paths
    - `protos` string[] — Return clicks with provided protocols
    - `methods` string[] — Return clicks with provided methods
    - `refhosts` string[] — Return clicks from provided referrers
    - `utmSources` string[] — Return clicks from provided utm sources
    - `utmMediums` string[] — Return clicks from provided utm mediums
    - `utmCampaigns` string[] — Return clicks from provided utm campaigns

## Response `200`

last click list

---

[API](https://skmtc.net/short/apis/short-io-api.md) · [All operations](https://skmtc.net/short/apis/short-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/short/short-io-api/revisions/288b112e7951/schema)
