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

Parameters: export_conversation
NameTypeDescription
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
curl "https://cotlet.dev/api/v1/otter/conversations/conversation_8c41d2/export?format=txt" \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("otter", "export_conversation", {"conversation_id":"conversation_8c41d2","format":"txt"})
Node.js
const result = await cotlet.call('otter', 'export_conversation', {"conversation_id":"conversation_8c41d2","format":"txt"});
CLI
cotlet call otter export_conversation --data '{"conversation_id":"conversation_8c41d2","format":"txt"}'

Example response

JSON

{
  "conversation_id": "cv_7f3a91",
  "format": "docx",
  "file_name": "Pricing review with Acme.docx",
  "download_url": "https://files.cotlet.dev/exports/example-pricing-review.docx"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.