/api/v1/linksList links
Query parameters
includestringOptional- Comma-separated extras. `qr` attaches the link's QR code as inline SVG plus a PNG URL. Off by default — rendering a code per link is work nobody wants on every list call.
qrpageintegerOptional- default 1
perPageintegerOptional- default 25
searchstringOptional
Errors
400`include=qr` was requested with a perPage above 50. Lower perPage or drop the include — the request is refused rather than timing out half-rendered.401Error
Request
curl https://www.ryabils.com/api/v1/links?page=1&perPage=25 \
-H "Authorization: Bearer lnk_live_YOUR_API_KEY"Response · 200
{
"success": true,
"data": [
{
"id": "6f3c1b2a-1111-4222-8333-444455556666",
"slug": "spring-sale",
"domain": "ryabi.ls",
"destinationUrl": "https://example.com/spring-sale",
"shortUrl": "https://ryabi.ls/spring-sale",
"title": "string",
"description": "string",
"tags": [],
"totalClicks": 0,
"uniqueClicks": 0,
"isActive": true,
"isArchived": false,
"isTest": false,
"expiresAt": "2026-08-20T12:00:00Z",
"createdAt": "2026-08-20T12:00:00Z",
"qr": {
"svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" ...>",
"png": "https://www.ryabils.com/api/v1/qr/render?data=https%3A%2F%2Fryabi.ls%2Fspring-sale&size=512"
}
}
],
"meta": {
"pagination": {
"page": 1,
"perPage": 1,
"total": 1,
"totalPages": 1
}
}
}