# Get a downloadable transcript link

> GET /chat/sessions/{id}/transcript. HeyRik API parameters and documented request and response examples.

Source: https://www.heyrik.com/docs/api-reference/chat/get-chat-sessions-id-transcript-get-a-downloadable-transcript-link

GET https://server.heyrik.com/api/v1/chat/sessions/{id}/transcript

## Path parameters

- id (required): Replace {id} in the request URL with the value for this resource.

## Headers

Authorization: Bearer $HEYRIK_API_KEY (required). Keep your key on your server.

## Notes

Archives the thread to storage and returns a short-lived download URL. Needs storage configured — check archive_configured in GET /chat/config first.

## Request example

```sh
curl https://server.heyrik.com/api/v1/chat/sessions/cht_c09b79cc/transcript \
  -H "Authorization: Bearer $HEYRIK_API_KEY"
```

## Response example

```json
{ "data": { "session_id": "cht_c09b79cc", "key": "chats/cht_c09b79cc.json", "url": "https://…" } }
```
