Getting started
- Base URL
https://cutt.im/api/v1
- Key
- Create it in your dashboard under API. Send it in the header
Authorization: Bearer cutt_… or X-Api-Key: cutt_…
- Request body
- JSON (Content-Type: application/json) or form data
- Response
- UTF-8 JSON, dates in ISO 8601, Almaty time
- Rate limit
- Requests per minute depend on your plan. Remaining quota is in the headers
X-RateLimit-Limit, X-RateLimit-Remaining
Create a link
POSThttps://cutt.im/api/v1/links
Shortens a URL on behalf of the key owner. The link counts towards your plan limit. A custom code is available on plans that allow it; without one, a random code is assigned.
Parameters
Request
curl -X POST https://cutt.im/api/v1/links \
-H "Authorization: Bearer cutt_…" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.kz/sale","code":"sale2026","title":"Акция"}'
Response 201
{
"id": 1024,
"code": "sale2026",
"short_url": "https://cutt.im/sale2026",
"url": "https://example.kz/sale",
"title": "Акция",
"enabled": true,
"custom": true,
"views": 0,
"created_at": "2026-11-24T10:00:00+05:00",
"expires_at": "2027-11-24T10:00:00+05:00",
"qr_url": "https://cutt.im/qr/?text=https%3A%2F%2Fcutt.im%2Fsale2026"
}
Error 409 The code is taken
{
"error": {
"code": "LinkErrCodeBusy",
"message": "This code is taken. Choose another one"
}
}
List links
GEThttps://cutt.im/api/v1/links
The key owner's links, newest first, paginated.
Parameters
Request
curl "https://cutt.im/api/v1/links?page=1&per_page=50" \
-H "Authorization: Bearer cutt_…"
Response 200
{
"items": [
{
"id": 1024,
"code": "sale2026",
"short_url": "https://cutt.im/sale2026",
"url": "https://example.kz/sale",
"title": "Акция",
"enabled": true,
"custom": true,
"views": 37,
"created_at": "2026-11-24T10:00:00+05:00",
"expires_at": "2027-11-24T10:00:00+05:00",
"qr_url": "https://cutt.im/qr/?text=https%3A%2F%2Fcutt.im%2Fsale2026"
}
],
"page": 1,
"per_page": 50,
"total": 1
}
Error 401 Missing, wrong or revoked key
{
"error": {
"code": "ApiErrKey",
"message": "Invalid or revoked API key"
}
}
Get a link
GEThttps://cutt.im/api/v1/links/{code}
One of the key owner's links by its code.
Parameters
Request
curl https://cutt.im/api/v1/links/sale2026 \
-H "Authorization: Bearer cutt_…"
Response 200
{
"id": 1024,
"code": "sale2026",
"short_url": "https://cutt.im/sale2026",
"url": "https://example.kz/sale",
"title": "Акция",
"enabled": true,
"custom": true,
"views": 37,
"created_at": "2026-11-24T10:00:00+05:00",
"expires_at": "2027-11-24T10:00:00+05:00",
"qr_url": "https://cutt.im/qr/?text=https%3A%2F%2Fcutt.im%2Fsale2026"
}
Error 404 No such link among yours
{
"error": {
"code": "ApiErrNotFound",
"message": "No link with this code among yours"
}
}
Update a link
PATCHhttps://cutt.im/api/v1/links/{code}
Changes only the fields you send. The destination URL can be changed on plans that allow it. POST works too.
Parameters
Request
curl -X PATCH https://cutt.im/api/v1/links/sale2026 \
-H "Authorization: Bearer cutt_…" \
-H "Content-Type: application/json" \
-d '{"title":"Чёрная пятница","enabled":false}'
Response 200
{
"id": 1024,
"code": "sale2026",
"short_url": "https://cutt.im/sale2026",
"url": "https://example.kz/sale",
"title": "Чёрная пятница",
"enabled": false,
"custom": true,
"views": 37,
"created_at": "2026-11-24T10:00:00+05:00",
"expires_at": "2027-11-24T10:00:00+05:00",
"qr_url": "https://cutt.im/qr/?text=https%3A%2F%2Fcutt.im%2Fsale2026"
}
Error 403 Changing the URL is not available on your plan
{
"error": {
"code": "CabErrChangeURL",
"message": "Changing the link address is available on Business and Team"
}
}
Delete a link
DELETEhttps://cutt.im/api/v1/links/{code}
Deletes the link with its stats. The short URL stops working. This can't be undone.
Parameters
Request
curl -X DELETE https://cutt.im/api/v1/links/sale2026 \
-H "Authorization: Bearer cutt_…"
Response 204
(empty body)
Error 404 No such link among yours
{
"error": {
"code": "ApiErrNotFound",
"message": "No link with this code among yours"
}
}
Link stats
GEThttps://cutt.im/api/v1/links/{code}/stats
Clicks over the last days, excluding bots and messenger previews: total, per day (Almaty time), sources and devices.
Parameters
Request
curl "https://cutt.im/api/v1/links/sale2026/stats?days=7" \
-H "Authorization: Bearer cutt_…"
Response 200
{
"code": "sale2026",
"days": 7,
"views_total": 37,
"views": 21,
"daily": {
"2026-11-18": 2,
"2026-11-19": 5,
"2026-11-20": 3,
"2026-11-21": 0,
"2026-11-22": 4,
"2026-11-23": 6,
"2026-11-24": 1
},
"referers": {
"direct": 9,
"Instagram": 7,
"Telegram": 3,
"example.kz": 2
},
"devices": {
"iphone": 10,
"android": 8,
"desktop": 3
}
}
Error 404 No such link among yours
{
"error": {
"code": "ApiErrNotFound",
"message": "No link with this code among yours"
}
}
Link QR code
GEThttps://cutt.im/api/v1/links/{code}/qr
Redirects (302) to a QR image of the short link. Download it from the Location header.
Parameters
Request
curl -L "https://cutt.im/api/v1/links/sale2026/qr?format=png" \
-H "Authorization: Bearer cutt_…" -o qr.png
Response 302
Location: https://cutt.im/qr/?text=…&format=png
Error 404 No such link among yours
{
"error": {
"code": "ApiErrNotFound",
"message": "No link with this code among yours"
}
}
Plan and limits
GEThttps://cutt.im/api/v1/account
The key owner's plan, paid-until date, link limit and usage, stats depth and request rate.
Request
curl https://cutt.im/api/v1/account \
-H "Authorization: Bearer cutt_…"
Response 200
{
"tariff": "business",
"tariff_title": "Бизнес",
"paid_until": "2026-12-24T23:59:59+05:00",
"links_limit": 1000,
"links_period": "month",
"links_used": 128,
"custom_codes": true,
"stats_days": 365,
"requests_per_minute": 120
}
Error 429 Rate limit exceeded
{
"error": {
"code": "ApiErrRate",
"message": "No more than 120 requests per minute. Please wait a little"
}
}
Link object
This is how a link is returned by the /links methods.
Errors
Errors come with an HTTP status and the same body: code for your program, message for people.
{
"error": {
"code": "LinkErrCodeBusy",
"message": "This code is taken. Choose another one"
}
}