---
title: "Get clicks"
method: GET
path: "/clicks"
tags: ["Click"]
---

# Get clicks

`GET /clicks`

Retrieve the raw click data for your account. Clicks are retrieved by creation date in descending order. 

 If there are more results than the limit for the request the response will return you a value in lastId property you can specify it in the continueFrom query parameter to get the next batch of records.

## Query parameters

- `continueFrom` string
- `limit` integer

## Response `200`

returns Array of Click models, also returns lastId

- GetClicksModel
  - `clicks` ClickModel[]
    - `country` string
    - `os` string
    - `createdAt` integer
    - `domain` string
    - `aliasId` string
    - `alias` string
    - `destination` string
    - `userAgent` string
    - `browser` string
    - `referrer` string
  - `lastId` string

---

[API](https://skmtc.dev/shorten/apis/shorten-rest-api-documentation.md) · [All operations](https://skmtc.dev/shorten/apis/shorten-rest-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/shorten/shorten-rest-api-documentation/revisions/0c70b4c97c45/schema)
