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

# Export Call History

> Export call history as XLSX

## Request

```bash theme={null}
curl "https://app.orova.ai/api/history/export?workspaceId=WORKSPACE_ID&startDate=2025-01-01&endDate=2025-01-31" \
  -H "x-api-key: YOUR_API_KEY" \
  -o call-history.xlsx
```

## Query parameters

| Parameter     | Type   | Description                              |
| ------------- | ------ | ---------------------------------------- |
| `workspaceId` | string | Workspace ID                             |
| `startDate`   | string | Start date (ISO 8601)                    |
| `endDate`     | string | End date (ISO 8601)                      |
| `agentType`   | string | Filter by type: `voice`, `chat`, `video` |

## Response

Returns an XLSX file with columns: Name, Phone, Type, Duration, End Reason, Summary, Date.
