Get an upload link
A one-time link for one file of up to 25 MB: a page where a person drops their own file, and an address for code to PUT it to.
Free
This tool costs nothing to call.
An example
Send Rachel a link so she can upload the insurance form for her crash repair.
Your agent callsfiles_upload_linkFree
The example business is Halverson Cycle & Repair, a bike shop with a repair workshop in Portland, Oregon. The reply is the one the tool really gives.
{
"name": "Insurance form, Rachel Kim.pdf",
"content_type": "application/pdf"
}Use it when
A person has their own document to send (a contract to sign, a scan, a form), or a file is too big to send inline.
What it does
A one-time link for one file of up to 25 MB, working for an hour. Give page_url to a person who has their own document (a contract to sign, a scan, a form), the person you chat with included: they open it, pick or drop the file, and it is stored under their file name. From code that reaches api.conecto.chat, PUT the raw file to upload_url, e.g. `curl -T report.pdf "<upload_url>"`, which replies with the file and its download link. A sandbox that can't reach it (claude.ai's can't) hands page_url to the person; never type a file out as base64. A document you write needs no upload: documents_create_pdf makes it. Free to ask for; the upload costs $0.001 when it arrives. files.added tells you it arrived, with its text once read, and files_get with file_id finds it. A key that only reads or drafts gets the links as "[redacted]".
What comes back
page_url for a person, upload_url and method (PUT) for code, the file_id the file will have, how many minutes the link works, and how to use it. Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
nameRequired | string | 1 to 200 characters. |
content_type | string | Up to 120 characters. |
The call
Over MCP, call files_upload_link on https://api.conecto.chat/mcp/files. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/files_upload_link \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Insurance form, Rachel Kim.pdf","content_type":"application/pdf"}'More Files tools
All 13 tools- Upload a file
files_uploadStores a file in the business's file store from its bytes, its text or a public link, with a download link.$0.001 a call - Find files
files_listThe business's files, newest first, filtered by name, words inside, tags, type, correspondent, document date or fields.Free* - Get a file
files_getOne file's details and a fresh download link, with the text of a small text file if asked.Free* - Read a file's words
files_read_textThe words in a file as Conecto read them: text files, PDFs, office files, HTML, and scans once read with OCR.Free* - Say what files are
files_editSays what one file is, or up to 100 at once: title, notes, document date, correspondent, type, tags and fields.$0.005 per file changed - Define a tag, type, field or correspondent
files_defineAdds, renames or deletes a tag, a document type, a custom field or a correspondent to file things with.$0.001 a call - List tags, types, fields and correspondents
files_definitionsThe tags, document types, custom fields and correspondents the business files with, each with how many files use it, and the OCR settings.Free* - Read a scan with OCR
files_ocrReads the words in a scan with OCR: an image, or the pages of a PDF without text; the text is kept.$0.005 per page read
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md