---
title: "List reports"
---

> Documentation Index
> Fetch the complete documentation index at: https://api.whyviral.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List reports

Path: WhyViral API › Reports

`GET /reports`

URL: `https://whyviral.ai/api/v1/reports`

A project’s reports, newest first, revoked ones included. Free.

## Authentication

Requires one of the following:

- `bearer`, http bearer, header `Authorization`
- `apiKeyHeader`, apiKey, in header, header `x-api-key`

## Query parameters

- `project` (`listReports.query.project`; string, optional) — A project’s id or exact name; case is ignored. Leave it out for the project active in the app.

## Code samples

### cURL

```bash
curl --request GET \
  --url https://whyviral.ai/api/v1/reports \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://whyviral.ai/api/v1/reports';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://whyviral.ai/api/v1/reports"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

The reports.

#### Example

```json
{
  "object": "list",
  "project": {
    "id": "q17d3k9x2v8q1m4n6b0c5w7h2r9t3y8a",
    "name": "Crumbsheet"
  },
  "data": [
    {
      "id": "sh7d3k9x2v8q1m4n6b0c5w7h2r9t3y8a",
      "object": "report",
      "kind": "mentions",
      "title": "Crumbsheet · Mentions report",
      "prepared_by": "Northlight Social",
      "url": "https://whyviral.ai/r/3q9XkT0cV5mB8nR2yW7uJ4hL6dZ1aP0sE9fG3iK5oMx",
      "period_from": "2026-11-10T10:00:00.000Z",
      "period_to": "2026-11-17T10:00:00.000Z",
      "hidden": [],
      "created_at": "2026-11-17T10:00:12.000Z",
      "revoked_at": null,
      "expires_at": null
    }
  ]
}
```

- `object` (`listReports.response.200.object`; string, required)
- `project` (`listReports.response.200.project`; object, required)
  - `id` (`listReports.response.200.project.id`; string, required) — The project’s id.
  - `name` (`listReports.response.200.project.name`; string, required) — Its name.
- `data` (`listReports.response.200.data`; array of object, required)
  - `id` (`listReports.response.200.data.id`; string, required) — The report’s id.
  - `object` (`listReports.response.200.data.object`; string, required) — `"report"`.
  - `kind` (`listReports.response.200.data.kind`; string, required) — `mentions`, `creators` or `campaign`.
    - one of `"mentions"`, `"creators"`, `"campaign"`
  - `title` (`listReports.response.200.data.title`; string, required) — The page’s title.
  - `prepared_by` (`listReports.response.200.data.prepared_by`; string, required) — The name the page shows as “Prepared by”; empty for none.
  - `url` (`listReports.response.200.data.url`; any of, required) — The page’s link. Anyone who has it can open it with no account; null once revoked or expired.
    - any of the following: `string`, `null`
  - `period_from` (`listReports.response.200.data.period_from`; any of, required) — The start of what the report covers.
    - any of the following: `string`, `null`
  - `period_to` (`listReports.response.200.data.period_to`; any of, required) — The end of what it covers.
    - any of the following: `string`, `null`
  - `hidden` (`listReports.response.200.data.hidden`; array of string, required) — Sections its owner hid on the page.
  - `created_at` (`listReports.response.200.data.created_at`; any of, required) — When it was made.
    - any of the following: `string`, `null`
  - `revoked_at` (`listReports.response.200.data.revoked_at`; any of, required) — When its link was revoked, else null.
    - any of the following: `string`, `null`
  - `expires_at` (`listReports.response.200.data.expires_at`; any of, required) — When its link stops opening; null while it has no end.
    - any of the following: `string`, `null`

### 400

`INVALID_REQUEST`: The body isn’t JSON, its `url` is missing or too long, or a parameter has a value it doesn’t take. `AMBIGUOUS_PROJECT`: Several of your projects share the name you sent; pass the project’s `id`.

#### Example

```json
{
  "error": {
    "code": "INVALID_REQUEST",
    "message": "The body isn’t JSON, its url is missing or too long, or a parameter has a value it doesn’t take."
  }
}
```

- `error` (`listReports.response.400.error`; object, required) — Some codes add details, such as `cap`, `required` or `balance`.
  - `code` (`listReports.response.400.error.code`; string, required)
    - one of `"INVALID_REQUEST"`, `"UNSUPPORTED_LINK"`, `"INVALID_PERIOD"`, `"AMBIGUOUS_PROJECT"`, `"INVALID_REPORT"`, `"CREATOR_NOT_SAVED"`, `"TOO_MANY_REPORTS"`, `"INVALID_API_KEY"`, `"INSUFFICIENT_CREDITS"`, `"ACCOUNT_DISABLED"`, `"NOT_FOUND"`, `"TRACKER_NOT_FOUND"`, `"MONTHLY_LIMIT"`, `"RATE_LIMITED"`, `"INTERNAL"`, `"SEARCH_UNAVAILABLE"`
  - `message` (`listReports.response.400.error.message`; string, required) — What went wrong, in words.

### 401

`INVALID_API_KEY`: The key is missing, mistyped or revoked.

#### Example

```json
{
  "error": {
    "code": "INVALID_API_KEY",
    "message": "The key is missing, mistyped or revoked."
  }
}
```

- `error` (`listReports.response.401.error`; object, required) — Some codes add details, such as `cap`, `required` or `balance`.
  - `code` (`listReports.response.401.error.code`; string, required)
    - one of `"INVALID_REQUEST"`, `"UNSUPPORTED_LINK"`, `"INVALID_PERIOD"`, `"AMBIGUOUS_PROJECT"`, `"INVALID_REPORT"`, `"CREATOR_NOT_SAVED"`, `"TOO_MANY_REPORTS"`, `"INVALID_API_KEY"`, `"INSUFFICIENT_CREDITS"`, `"ACCOUNT_DISABLED"`, `"NOT_FOUND"`, `"TRACKER_NOT_FOUND"`, `"MONTHLY_LIMIT"`, `"RATE_LIMITED"`, `"INTERNAL"`, `"SEARCH_UNAVAILABLE"`
  - `message` (`listReports.response.401.error.message`; string, required) — What went wrong, in words.

### 403

`ACCOUNT_DISABLED`: The key’s account is disabled.

#### Example

```json
{
  "error": {
    "code": "ACCOUNT_DISABLED",
    "message": "The key’s account is disabled."
  }
}
```

- `error` (`listReports.response.403.error`; object, required) — Some codes add details, such as `cap`, `required` or `balance`.
  - `code` (`listReports.response.403.error.code`; string, required)
    - one of `"INVALID_REQUEST"`, `"UNSUPPORTED_LINK"`, `"INVALID_PERIOD"`, `"AMBIGUOUS_PROJECT"`, `"INVALID_REPORT"`, `"CREATOR_NOT_SAVED"`, `"TOO_MANY_REPORTS"`, `"INVALID_API_KEY"`, `"INSUFFICIENT_CREDITS"`, `"ACCOUNT_DISABLED"`, `"NOT_FOUND"`, `"TRACKER_NOT_FOUND"`, `"MONTHLY_LIMIT"`, `"RATE_LIMITED"`, `"INTERNAL"`, `"SEARCH_UNAVAILABLE"`
  - `message` (`listReports.response.403.error.message`; string, required) — What went wrong, in words.

### 404

`NOT_FOUND`: No read, project, creator, campaign or report like this on your account.

#### Example

```json
{
  "error": {
    "code": "NOT_FOUND",
    "message": "No read, project, creator, campaign or report like this on your account."
  }
}
```

- `error` (`listReports.response.404.error`; object, required) — Some codes add details, such as `cap`, `required` or `balance`.
  - `code` (`listReports.response.404.error.code`; string, required)
    - one of `"INVALID_REQUEST"`, `"UNSUPPORTED_LINK"`, `"INVALID_PERIOD"`, `"AMBIGUOUS_PROJECT"`, `"INVALID_REPORT"`, `"CREATOR_NOT_SAVED"`, `"TOO_MANY_REPORTS"`, `"INVALID_API_KEY"`, `"INSUFFICIENT_CREDITS"`, `"ACCOUNT_DISABLED"`, `"NOT_FOUND"`, `"TRACKER_NOT_FOUND"`, `"MONTHLY_LIMIT"`, `"RATE_LIMITED"`, `"INTERNAL"`, `"SEARCH_UNAVAILABLE"`
  - `message` (`listReports.response.404.error.message`; string, required) — What went wrong, in words.

### 429

`RATE_LIMITED`: Too many new reads, data requests, searches or report links; wait the `Retry-After` header’s seconds.

#### Example

```json
{
  "error": {
    "code": "RATE_LIMITED",
    "message": "Too many new reads, data requests, searches or report links; wait the Retry-After header’s seconds."
  }
}
```

- `error` (`listReports.response.429.error`; object, required) — Some codes add details, such as `cap`, `required` or `balance`.
  - `code` (`listReports.response.429.error.code`; string, required)
    - one of `"INVALID_REQUEST"`, `"UNSUPPORTED_LINK"`, `"INVALID_PERIOD"`, `"AMBIGUOUS_PROJECT"`, `"INVALID_REPORT"`, `"CREATOR_NOT_SAVED"`, `"TOO_MANY_REPORTS"`, `"INVALID_API_KEY"`, `"INSUFFICIENT_CREDITS"`, `"ACCOUNT_DISABLED"`, `"NOT_FOUND"`, `"TRACKER_NOT_FOUND"`, `"MONTHLY_LIMIT"`, `"RATE_LIMITED"`, `"INTERNAL"`, `"SEARCH_UNAVAILABLE"`
  - `message` (`listReports.response.429.error.message`; string, required) — What went wrong, in words.

### 500

`INTERNAL`: Something broke on our side; try again.

#### Example

```json
{
  "error": {
    "code": "INTERNAL",
    "message": "Something broke on our side; try again."
  }
}
```

- `error` (`listReports.response.500.error`; object, required) — Some codes add details, such as `cap`, `required` or `balance`.
  - `code` (`listReports.response.500.error.code`; string, required)
    - one of `"INVALID_REQUEST"`, `"UNSUPPORTED_LINK"`, `"INVALID_PERIOD"`, `"AMBIGUOUS_PROJECT"`, `"INVALID_REPORT"`, `"CREATOR_NOT_SAVED"`, `"TOO_MANY_REPORTS"`, `"INVALID_API_KEY"`, `"INSUFFICIENT_CREDITS"`, `"ACCOUNT_DISABLED"`, `"NOT_FOUND"`, `"TRACKER_NOT_FOUND"`, `"MONTHLY_LIMIT"`, `"RATE_LIMITED"`, `"INTERNAL"`, `"SEARCH_UNAVAILABLE"`
  - `message` (`listReports.response.500.error.message`; string, required) — What went wrong, in words.


Source: https://api.whyviral.ai/api/reports/list/index.md
