---
title: "Fetch a shared report's rendered data by share token (login + workspace membership required)"
description: "Returns the report name, description, table rows, and chart data. The caller MUST be a signed-in member of the report's workspace. No public access."
---

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

Path: Channel Automation API › Analytics

`GET /api/analytics/shared-report/{token}`

Returns the report name, description, table rows, and chart data. The caller MUST be a signed-in member of the report's workspace. No public access.

## Authentication

- `BearerAuth`, http, header `Authorization`, format `JWT`

## Path parameters

- `token` (`get/api/analytics/shared-report/token.path.token`; string, required)

## Code samples

### cURL

```bash
curl --request GET \
  --url 'https://api.channelautomation.com/api/analytics/shared-report/<token>' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/analytics/shared-report/<token>';
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://api.channelautomation.com/api/analytics/shared-report/<token>"

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

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

print(response.text)
```

## Responses

### 200

Report payload including name, report description, columns, rows, and chart configuration

### 403

Caller is not a member of the report's workspace

### 404

Share token not found or sharing revoked


Source: https://developer.channelautomations.com/api/get-api-analytics-shared-report-token/index.md
