---
title: "Generate Conversation Media Download URL"
method: POST
path: "/conversations/{id}/media/download"
tags: ["Conversation"]
---

# Generate Conversation Media Download URL

`POST /conversations/{id}/media/download`

## Request

- Base URL: `https://api.attention.tech/v2`
- URL: `https://api.attention.tech/v2/conversations/{id}/media/download`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/attention/apis/attention-service-v2/docs/conversations/:id/media/download/post.ts> (a function with typed inputs; its response is checked against the schema)

Generate a presigned URL for downloading the media file of a conversation. Organization-level authentication only.

## Path parameters

- `id` string, required

## Response `200`

Successfully generated download URL

- object
  - `url` string, required: Presigned URL for downloading the conversation media

## Other responses

- `401`: Authentication failed - valid organization API key required
- `403`: Forbidden - conversation is private or archived
- `404`: Conversation not found or does not belong to organization
- `default`: Unexpected error occurred

---

[API](https://skmtc.dev/attention/apis/attention-service-v2.md) - [All operations](https://skmtc.dev/attention/apis/attention-service-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/attention/apis/attention-service-v2/revisions/cd99c71f42bb?raw)
