Make a short link
A short link at cncto.co/<code> that sends people on and counts the clicks.
$0.01 a call
From your agent’s balance. A call that fails costs nothing.
An example
Make a short link for the autumn flyer that goes to the gravel bikes, something like cncto.co/autumn-sale.
Your agent callslinks_shorten$0.01 a call
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.
{
"url": "https://halversoncycle.example/bikes/gravel?utm_source=flyer&utm_campaign=autumn-sale",
"alias": "autumn-sale",
"title": "Flyer, October"
}Use it when
A long address goes into a message, a flyer or a QR code, and the clicks should be counted.
What it does
A short link at cncto.co/<code> that sends people to url and counts the clicks, for messages, print and QR codes. Give alias for a readable one (cncto.co/spring-sale) or leave it out for a random 7-character code. The destination can be changed later; a deleted link's code is never reused. Needs an account that has topped up once.
What comes back
The link: code, short_url, url, title, paused, blocked, clicks, last_clicked_at and created_at. Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
urlRequired | string | Where it goes: https://... 8 to 2,000 characters. |
alias | string | Lower-case letters, digits and dashes, e.g. "spring-sale". 3 to 40 characters. |
title | string | A note for yourself, e.g. "Flyer, October". Up to 200 characters. |
The call
Over MCP, call links_shorten on https://api.conecto.chat/mcp/links. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/links_shorten \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://halversoncycle.example/bikes/gravel?utm_source=flyer&utm_campaign=autumn-sale","alias":"autumn-sale","title":"Flyer, October"}'When it refuses
A refused call costs nothing and says what to do next.
| Code | When | What to do |
|---|---|---|
payment_required402 | The business has never topped up; short links need one real top-up. | Top up once (POST /v1/topups). |
invalid_input400 | The url is not an http(s) address with a full domain, points at a short link, or is not on the public internet. | Send a full address like https://halversoncycle.example/bikes. |
invalid_input400 | The alias is not 3 to 40 lower-case letters, digits and single dashes. | Send an alias like "autumn-sale", or leave it out for a random code. |
alias_taken409 | Someone already has that alias. | Pick another alias, or leave it out. |
limit_reached409 | The business has as many short links as it may. | Delete old ones with links_delete. |
conflict409 | No free random code was found. | Call again. |
More Links & QR codes tools
All 6 tools- Make a QR code
qr_createA QR code for a link or any text, saved in the file store as a PNG or SVG with a download link.$0.01 a call - List short links
links_listThe business's short links, newest first, with their clicks.Free* - Get a short link
links_getOne short link: where it goes, its clicks and the last click.Free* - Change a short link
links_updateSends a short link somewhere else, retitles it, or pauses and resumes it.$0.01 a call - Delete a short link
links_deleteDeletes a short link for good; its code never opens anything again.Free
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md