Files

Get an upload link

files_upload_link · Changes data · Markdown

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.

With these arguments
{
  "name": "Insurance form, Rachel Kim.pdf",
  "content_type": "application/pdf"
}
What comes back
{
  "upload_url": "https://api.conecto.chat/v1/files/upload/.eJwlzUsOwiAUheGtkDsGLag8uoPGmTu4XCASW0r6iCbGvUt0cgZ_vuS84Qm95PD4bYIePCnnUUWBWgdx9kEKe1JBONspE73T7kLAoTQ6lHVfsFBkaV4mzm5I9ziya54ONaSGtoaw1jETbnkux3-Nr9rejFOdMdrKzxd4cCXn:1xHMKf:EA40cTWX4K-dO5DqYcaNi0VRKnY9dt83tc37jFX2AjQ",
  "method": "PUT",
  "page_url": "https://cncto.co/u/.eJwlzUsOwiAUheGtkDsGLag8uoPGmTu4XCASW0r6iCbGvUt0cgZ_vuS84Qm95PD4bYIePCnnUUWBWgdx9kEKe1JBONspE73T7kLAoTQ6lHVfsFBkaV4mzm5I9ziya54ONaSGtoaw1jETbnkux3-Nr9rejFOdMdrKzxd4cCXn:1xHMKf:EA40cTWX4K-dO5DqYcaNi0VRKnY9dt83tc37jFX2AjQ",
  "file_id": "bc29ba2e-a66d-4bd1-832d-98027eb9695c",
  "expires_in_minutes": 60,
  "how": "curl -T <path-to-file> \"https://api.conecto.chat/v1/files/upload/.eJwlzUsOwiAUheGtkDsGLag8uoPGmTu4XCASW0r6iCbGvUt0cgZ_vuS84Qm95PD4bYIePCnnUUWBWgdx9kEKe1JBONspE73T7kLAoTQ6lHVfsFBkaV4mzm5I9ziya54ONaSGtoaw1jETbnkux3-Nr9rejFOdMdrKzxd4cCXn:1xHMKf:EA40cTWX4K-dO5DqYcaNi0VRKnY9dt83tc37jFX2AjQ\"",
  "max_size": "25 MB"
}

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

NameTypeWhat it is
nameRequiredstring1 to 200 characters.
content_typestringUp to 120 characters.

The call

Over MCP, call files_upload_link on https://api.conecto.chat/mcp/files. Over REST:

Terminal
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"}'

Give this to your agent.

Set up Conecto from https://conecto.chat/SKILL.md