Export conversation
Export a conversation as TXT, DOCX, PDF or SRT, or its audio as MP3, and return a download link.
GET https://cotlet.dev/api/v1/otter/conversations/{conversation_id}/export
read
Runs Otter's Export for one conversation and returns a download link and the file name. Text formats can include speaker names, timestamps and highlights. mp3 exports the audio. Basic plan accounts can export TXT only; the call fails with that reason on other formats. Exports reach only you, so they run without asking.
Parameters
| Name | Type | Description |
|---|---|---|
| conversation_id string required | string | Conversation ID from list_conversations or search_transcripts. |
| format enum required | enum | txt, docx, pdf, srt or mp3 (audio). |
| show_speaker_names boolean | boolean | Text formats only. Default: true. |
| show_timestamps boolean | boolean | Text formats only. Default: false. |
| show_highlights boolean | boolean | Text formats only. Default: false. |
Request
curl "https://cotlet.dev/api/v1/otter/conversations/conversation_8c41d2/export?format=txt" \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("otter", "export_conversation", {"conversation_id":"conversation_8c41d2","format":"txt"}) const result = await cotlet.call('otter', 'export_conversation', {"conversation_id":"conversation_8c41d2","format":"txt"}); cotlet call otter export_conversation --data '{"conversation_id":"conversation_8c41d2","format":"txt"}' Example response
{
"conversation_id": "cv_7f3a91",
"format": "docx",
"file_name": "Pricing review with Acme.docx",
"download_url": "https://files.cotlet.dev/exports/example-pricing-review.docx"
}