Importing calls
Bring calls you already have into Krans: recordings and transcripts from Circleback, Fireflies, Otter, Granola, Fathom, Teams, Zoom, Meet or anywhere else. Every route needs conversations:write, and every imported call is processed like one recorded in Krans.
| You have | Send it with | How |
|---|---|---|
| One recording file | POST /uploads, then POST /conversations | Upload, then create the call. Answers at once with the call. |
| Recordings at https URLs | POST /conversations/import-urlimport_conversations_from_urls | 1 to 50 per request, downloaded in the background. |
| Transcript files | POST /conversations/transcriptsimport_transcripts | 1 to 50 per request, as upload keys or https URLs, in the background. No recording needed. |
Upload a recording
- Ask for an upload URL.
POST /uploadswithfilename,content_typeandfile_size, or up to 50 files infiles(the answer is{ files: [...] }in the same order). Each file gets anupload_urland akey. - PUT the bytes to
upload_urlwith the sameContent-Type, beforeexpires_at. - Create the call.
POST /conversationswith thekey,title,filenameandfile_size. It answers with the call,statussubmitted: processing has started. A503means processing could not start and nothing was kept: send the same request again.
curl -X POST https://api.krans.ai/v1/uploads \
-H "Authorization: Bearer $KRANS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"filename": "acme-demo.m4a", "content_type": "audio/mp4", "file_size": 18234567}'
curl -X PUT "<upload_url>" -H "Content-Type: audio/mp4" --data-binary @acme-demo.m4a
curl -X POST https://api.krans.ai/v1/conversations \
-H "Authorization: Bearer $KRANS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"key": "<key>", "title": "Acme demo", "filename": "acme-demo.m4a", "file_size": 18234567,
"recorded_at": "2026-10-28T14:00:00+01:00", "external_id": "rec-4711"}'Import in bulk
- Send the items.
POST /conversations/import-urltakes items with aurlthat serves the audio or video file itself (not a share page), up to 5 GB from a public host, plustitleandrecorded_at.POST /conversations/transcriptstakes items with atitleand atranscript: akeyfromPOST /uploadswithkind: "transcript", or aurl. Formats are Circleback .md, TXT, SRT, VTT, DOCX and Fireflies CSV or JSON, at most 10 MB;formatis detected unless you set it. - Read the answer.
Each item is checked on its own and comes back
accepted,skipped(already in the venture;conversation_idis that call) orrefused(seeerror_code). One bad item does not stop the rest. The answer carries ajob_id, null when nothing was accepted. - Follow the job.
GET /imports/{job_id}(get_import) lists every item asqueued,imported,duplicateorfailed, with the call'sconversation_state:processing,readyorfailed.doneturns true once every item has an outcome.GET /imports(list_imports) lists your jobs still running;status=allshows finished ones too.
curl -X POST https://api.krans.ai/v1/conversations/transcripts \
-H "Authorization: Bearer $KRANS_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: import-2026-11-04-1" \
-d '{"items": [{
"title": "Acme discovery call",
"transcript": {"url": "https://example.com/acme-discovery.vtt"},
"recorded_at": "2026-10-28T14:00:00+01:00",
"source": {"tool": "fireflies", "meeting_id": "01JB7Q4", "url": "https://app.fireflies.ai/view/01JB7Q4"},
"account": {"domain": "acme.com"},
"participants": [{"name": "Jane Doe", "email": "jane@acme.com", "side": "external"}]
}]}'Tell Krans what you know
Every route takes the same optional fields. Each one saves Krans a guess.
external_id: your own id for the recording. A second import with the same id is skipped (POST /conversationsanswers409).source: thetoolit came from, themeeting_idthere and aurlback to it. A call with the samemeeting_idalready in the venture makes it a duplicate, so send the id of this one occurrence, not a recurring meeting's shared id. The link comes back assource_urlonGET /conversations/{id}.participants: up to 30 people withname,email,companyandside(internalorexternal), or a knowncontact_id. This names the speakers on calls that are on no connected calendar.account: the company the meeting was with, byid,domain(links or creates it) orname(links an existing one only).call_type: set it to skip Krans classifying the call.recorded_at: when the meeting started, ISO 8601 with a time zone, at most 24 hours ahead. A transcript may leave it out only when the file holds a full timestamp; a Circleback .md has a date but no time, so it needs one.- Transcript limits. A transcript with more than 20 speakers or 20,000 segments is refused with
transcript_too_long. - A recording with its transcript. An
import-urlitem may carry atranscripttoo: the recording is kept and the text comes from the transcript, so it is not transcribed again.
Retries and limits
- Retry safely. Send an
Idempotency-Keyheader on the bulk routes. The same key with the same body within 24 hours returns the first answer and imports nothing again; the same key with a different body is409 conflict(idempotency_key_reused), and so is a retry while the first request is still being answered. Without a key, a repeated item is still skipped when it has anexternal_idorsource.meeting_id; a URL recording whose file is already in the venture is skipped after download. - Failed items are final. Fix what
error_codeandmessagesay and send just those items again: a failed call never blocks a new import with the sameexternal_idormeeting_id. - Venture.
venture_idmay be left out when you reach exactly one venture; with several it is required (422 venture_required). This holds for MCP too: the import tools do not fall back to your default venture. - From MCP. There is no upload tool and no
Idempotency-Key, so give a transcript as aurland setexternal_idorsource.meeting_idto make a repeat safe. - Who sees a job. Members see their own imports; venture admins see everyone's (
user_idsays whose). - Never held. Calls you import yourself start processing straight away, whatever a connection's import mode is. Only calls a connection brings in on its own can wait in the review queue.