---
title: "Get reports for URLs"
method: GET
path: "/reports/urls"
tags: ["Reports"]
---

# Get reports for URLs

`GET /reports/urls`

With this endpoint you can get the report data grouped by URLs.<Tip>**HTTP Request** <br/>`GET https://api.firstpromoter.com/api/v2/company/reports/urls`</Tip>

## Query parameters

- `columns` string[], required
- `q` string
- `group_by` 'day' | 'week' | 'month' | 'year', required
- `start_date` string, date-time, required
- `end_date` string, date-time, required
- `sorting` object

## Headers

- `Account-ID` string, required

## Response `200`

Successful response

- object[]
  - `url` string
  - `id` string
  - `data` object
    - `clicks_count` integer
    - `revenue_amount` number
    - `promoter_earnings_amount` number
    - `referrals_count` integer
    - `customers_count` integer
    - `sales_count` integer
    - `refunds_count` integer
    - `cancelled_customers_count` integer
    - `referrals_to_customers_cr` number
    - `clicks_to_customers_cr` number
    - `clicks_to_referrals_cr` number

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `422` — Unprocessable Entity

---

[API](https://skmtc.net/firstpromoter/apis/firstpromoter-batch-processes-api.md) · [All operations](https://skmtc.net/firstpromoter/apis/firstpromoter-batch-processes-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/firstpromoter/firstpromoter-batch-processes-api/versions/e15f0d026ccf/schema)
