---
name: "links_get"
area: "links"
title: "Get a short link"
price: "free"
method: "POST"
url: "https://api.conecto.chat/v1/tools/links_get"
mcp_server: "https://api.conecto.chat/mcp/links"
auth: "Authorization: Bearer <conecto_sk_ key>"
docs_url: "https://conecto.chat/tools/links/links_get"
---

# Get a short link (`links_get`)

One short link: where it goes, its clicks and the last click.

Price: Free up to 1,000,000 reads a month for the whole account, then $0.50 per 10,000 reads. A call that fails costs nothing.

## Use it when

Someone asks how one link is doing.

## Say this to your agent

> How many people have used the autumn flyer link so far?

## Inputs

| Name | Type | Required | Description | Allowed values | Default |
|---|---|---|---|---|---|
| `code` | string | yes | The code after cncto.co/, e.g. "x7Kp2Qa". 3 to 40 characters. |  |  |

## Example

Written for Halverson Cycle & Repair, a bike shop with a repair workshop in Portland, Oregon.

MCP: call `links_get` on the MCP server `https://api.conecto.chat/mcp/links` with these arguments:

```json
{
  "code": "autumn-sale"
}
```

REST:

```bash
curl https://api.conecto.chat/v1/tools/links_get \
  -H "Authorization: Bearer $CONECTO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"code": "autumn-sale"}'
```

## Response

```json
{
  "call_id": "5f0c8a2e-3b7d-4c1e-9a64-2d8e1f7b0c93",
  "tool": "links_get",
  "status": "succeeded",
  "replayed": false,
  "cost_usd": "$0.00",
  "balance_usd": "$19.75",
  "result": {
    "link": {
      "code": "autumn-sale",
      "short_url": "https://cncto.co/autumn-sale",
      "url": "https://halversoncycle.example/bikes/gravel?utm_source=flyer&utm_campaign=autumn-sale",
      "title": "Flyer, October",
      "paused": false,
      "blocked": false,
      "clicks": 0,
      "last_clicked_at": null,
      "created_at": "2026-10-14T08:00:00+00:00"
    }
  }
}
```

`result`: The link with its code, short_url, url, title, state, clicks and last click.

## Errors

| Code | Status | When | Fix |
|---|---|---|---|
| `not_found` | 404 | No short link of the business has that code. | Call links_list and use one of its codes. |

The refusals every tool can give (401 key, 402 balance, 429 limits) are on the errors page: https://conecto.chat/docs/errors.md

## Related

- [qr_create](https://conecto.chat/tools/links/qr_create.md): A 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.
- [links_shorten](https://conecto.chat/tools/links/links_shorten.md): A short link at cncto.co/<code> that sends people on and counts the clicks. $0.01 a call.
- [links_list](https://conecto.chat/tools/links/links_list.md): The business's short links, newest first, with their clicks. Free up to 1,000,000 reads a month.
- [links_update](https://conecto.chat/tools/links/links_update.md): Sends a short link somewhere else, retitles it, or pauses and resumes it. $0.01 a call.
- [links_delete](https://conecto.chat/tools/links/links_delete.md): Deletes a short link for good; its code never opens anything again. Free.
