---
title: "Export insights data with threshold"
method: GET
path: "/dashboard/export-insights-data-with-threshold"
tags: ["Dashboard"]
---

# Export insights data with threshold

`GET /dashboard/export-insights-data-with-threshold`

## Request

- Base URL: `https://uberall.com/api`
- URL: `https://uberall.com/api/dashboard/export-insights-data-with-threshold`
- Auth: none declared. Required headers: `X-Uberall-User-Id`

Generates an Excel report and uploads it to S3. If the report completes within the timeout, returns the file URL directly (status=FINISHED). If it exceeds the timeout, the export continues in the background and the user is notified by email (status=EMAIL). Returns status=FAILED on error. Defaults to the last week if startDate is not provided.

## Query parameters

- `startDate` string
- `endDate` string
- `group` 'DAILY' | 'WEEKLY' | 'MONTHLY' | 'QUARTERLY' | 'YEARLY' | 'HOUR' | 'DAY' | 'WEEK' | 'MONTH' | 'YEAR'
- `filterCategory` 'location' | 'business' | 'labels' | 'location-groups'
- `textFilter` unknown
- `locationIds` unknown
- `businessIds` unknown
- `labels` unknown
- `locationGroupIds` unknown
- `excludedLocationIds` unknown
- `excludedBusinessIds` unknown
- `excludedLabels` unknown
- `excludedLocationGroupIds` unknown

## Headers

- `X-Uberall-User-Id` unknown, required

## Response `200`

Export status with optional file URL

- object: Standard API response wrapper
  - `status` string, required: Response status
  - `response` object, required: Response payload
    - `fileUrl` unknown, required
    - `status` 'FINISHED' | 'EMAIL' | 'FAILED', required: Export outcome status

---

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