---
title: "Export Conversations"
method: GET
path: "/v1/agent-analytics/conversations/export"
---

# Export Conversations

`GET /v1/agent-analytics/conversations/export`

Exports conversation data for a voice agent as an Excel file. Returns the file as a downloadable attachment.

## Query parameters

- `voiceAgentId` string, uuid, required
- `status` 'COMPLETED' | 'PENDING' | 'FAILED' | 'IN_PROGRESS' | 'NO_ANSWER'
- `period` 'LAST_HOUR' | 'TODAY' | 'YESTERDAY' | 'THIS_WEEK' | 'THIS_MONTH' | 'CUSTOM'
- `startPeriod` string
- `endPeriod` string
- `timeDifference` string

## Response `200`

Successful response - returns Excel file download

## Other responses

- `400` — Bad request - validation error
- `401` — Unauthorized
- `500` — Server Side Error

---

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