---
title: "Get Workspace Click Statistics"
method: GET
path: "/workspaces/{workspace_id}/clicks"
tags: ["Analytics"]
---

# Get Workspace Click Statistics

`GET /workspaces/{workspace_id}/clicks`

## Request

- Base URL: `https://api.rebrandly.com/v1`
- URL: `https://api.rebrandly.com/v1/workspaces/{workspace_id}/clicks`
- Auth: API key in header `apikey`

Get click statistics for a workspace.

**Requires:** `metrics.advanced` feature flag (owner must have it).

## Path parameters

- `workspace_id` string, required

## Query parameters

- `group` 'hours' | 'days' | 'months'

## Headers

- `apikey` string, required

## Response `200`

Click statistics

- ClickStats[]
  - `date` string, date-time: Start of the time period
  - `clicks` integer: Number of clicks in the period

## Other responses

- `403`: Feature not enabled or no access

---

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