Import audio or video

Import an audio or video file from a URL for transcription, summary and action items.

POST https://cotlet.dev/api/v1/otter/audios

write Confirm

Fetches the file from the URL and imports it into your Otter account as a new conversation. The file must be up to 5 GB, in a supported audio or video format, and reachable without a login. The import counts toward your plan's transcription limits and the transcript is ready when get_conversation shows the processing as finished. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: import_audio
NameTypeDescription
file_url string required string HTTPS URL of the audio or video file, reachable without a login.
name string string Name for the conversation. Default: the file name.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/otter/audios \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"file_url":"https://example.com/recordings/discovery-call.mp3","name":"Discovery call 14 Oct"}'
Python
result = client.call("otter", "import_audio", {"file_url":"https://example.com/recordings/discovery-call.mp3","name":"Discovery call 14 Oct"})
Node.js
const result = await cotlet.call('otter', 'import_audio', {"file_url":"https://example.com/recordings/discovery-call.mp3","name":"Discovery call 14 Oct"});
CLI
cotlet call otter import_audio --data '{"file_url":"https://example.com/recordings/discovery-call.mp3","name":"Discovery call 14 Oct"}'

Example response

JSON

{
  "conversation_id": "cv_a7710e",
  "name": "Discovery call 14 Oct",
  "status": "processing"
}

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.