Liên kết rút gọn
Tao link gon gang de chia se voi tracking tuy chon, quy tac het han, mat khau, Smart Redirects va thong ke cong khai.
Tai lieu workspace
Tim hieu cach tuy chon workspace Lynko, quyen truy cap API developer, webhooks va analytics ket hop voi nhau de ban tao link, ma QR va luong chien dich tu tin hon.
Tong quan workspace
Workspace Lynko giu link cong khai, ma QR, trang, chien dich va bao cao cua ban trong mot noi. Moi cong cu co the dung rieng, nhung workflow manh nhat se ket hop chung.
Tao link gon gang de chia se voi tracking tuy chon, quy tac het han, mat khau, Smart Redirects va thong ke cong khai.
Tao ma QR co the giu nguyen ma da in trong khi diem den duoc doi sau.
Xuat ban trang link-in-bio cho ho so social, chien dich, su kien va diem den quan trong.
Gom short link, ma QR, landing page, poll, khoi Reward Unlock va bao cao quanh mot chuong trinh quang ba.
Chuan bi card in an hoac ky thuat so voi diem den QR co the cap nhat tu workspace.
Thu thap binh chon hoac cau hoi tu khan gia va xem hoat dong tu cung mot tai khoan.
Chia se link quyen gop, shop, lien he va cong dong tu mot trang ho tro cong khai.
Do luot truy cap bang counter nhe va analytics workspace than thien voi rieng tu.
Workspace options
Tuy chon workspace bao gom tao noi dung, analytics, import, export, quyen developer va kiem soat huong den rieng tu. Gioi han goi ap dung cho asset dang hoat dong hoac co tracking, con short link khong tracking van khong gioi han.
Tao, sua, tam dung, khoi phuc va sap xep asset Lynko cong khai tu dashboard.
Xem click, scan, luot xem, binh chon, referrer, thiet bi, ngon ngu va ket qua chien dich khi tracking duoc bat.
Short link co tracking, trang da xuat ban, ma QR dang hoat dong, Smart Card, poll, counter, pixel, nut Support Hub va Campaign Kit tuan theo gioi han goi.
Di chuyen du lieu workspace vao va ra bang CSV va cong cu export duoc ho tro khi goi cua ban cho phep.
Tao API key co pham vi, ket noi webhook va tu dong hoa cac hanh dong workspace duoc ho tro.
Dung analytics than thien voi rieng tu, URL Lynko goc, upload an toan va kiem tra quyen so huu trong cac cong cu workspace.
API developer
API Lynko la API JSON toan nen tang cho tu dong hoa workspace. Tao API key trong workspace Developer, chi chon quyen ma tich hop can, roi gui request den URL goc cua API.
Use X-API-Key for the most reliable API authentication. Authorization Bearer tokens are also supported when your hosting environment passes Authorization headers to PHP.
A 401 response means the key was not accepted. Check that the key is active, not revoked, copied without spaces, and belongs to the API host you are calling.
| Goi | Request moi phut | Request moi ngay |
|---|---|---|
| Free / Bronze | 20 | 1000 |
| Silver | 60 | 5000 |
| Gold | 120 | 20000 |
Lenh doc dung gioi han binh thuong. Lenh ghi va tom tat analytics dung gioi han chat hon, con export, test webhook va upload nho dung gioi han chat nhat.
Vi du su dung
Cac vi du nay cho thay mau thuong dung. Thay YOUR_API_KEY bang key co pham vi tu workspace Developer va giu key rieng tu.
The JavaScript example must be run in a browser console or Node.js, not directly in Windows PowerShell. For PowerShell, use the Windows PowerShell example.
curl -H "X-API-Key: YOUR_API_KEY" https://lynko.tv/api/v1/me
curl -X POST https://lynko.tv/api/v1/shortlinks \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/landing","title":"Campaign launch"}'
const response = await fetch('https://lynko.tv/api/v1/qr-codes', {
method: 'POST',
headers: {
'X-API-Key': 'YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
target_url: 'https://example.com/menu',
title: 'Menu QR code'
})
});
const qrCode = await response.json();
$headers = @{
'X-API-Key' = 'YOUR_API_KEY'
}
$body = @{
target_url = 'https://example.com/menu'
title = 'Menu QR code'
} | ConvertTo-Json
$response = Invoke-RestMethod `
-Uri 'https://lynko.tv/api/v1/qr-codes' `
-Method Post `
-Headers $headers `
-ContentType 'application/json' `
-Body $body
$response
<?php
$ch = curl_init('https://lynko.tv/api/v1/analytics/summary');
curl_setopt_array($ch, [
CURLOPT_HTTPHEADER => ['X-API-Key: YOUR_API_KEY'],
CURLOPT_RETURNTRANSFER => true,
]);
$json = curl_exec($ch);
curl_close($ch);
$summary = json_decode((string)$json, true);
Tao short link, tao ma QR cho cung diem den, roi xem hieu suat tu analytics.
Cap nhat trang link, Smart Card, Support Hub hoac diem den QR tu cong cu noi bo cua ban.
Lay tom tat analytics workspace va ket hop voi ghi chu chien dich hoac bao cao khach hang cua ban.
Dung webhook cho click link, scan QR, gui capture, lead chien dich, vote poll va thay doi billing.
Quyen va endpoint
API key co pham vi. Moi tich hop chi nen co quyen can thiet, sau do xoay vong hoac thu hoi key tu workspace Developer khi khong can truy cap nua.
/api/v1/me
Chi tiet tai khoan va khoa API
account:read for email and subscription details
/api/v1/rate-limits
Gioi han goi hien tai va chi phi endpoint
-
/api/v1/shortlinks
Liet ke shortlink
links:read
/api/v1/shortlinks
Tao shortlink
links:write
/api/v1/qr-codes
Liet ke ma QR
qr:read
/api/v1/qr-codes
Tao ma QR
qr:write
/api/v1/link-pages
Liet ke trang link
trees:read
/api/v1/link-pages
Tao trang link
trees:write
/api/v1/polls
Liet ke poll
polls:read
/api/v1/polls
Tao poll
polls:write
/api/v1/ama
Doc cai dat AMA
ama:read
/api/v1/ama
Tao hoac cap nhat cai dat AMA
ama:write
/api/v1/capture/blocks
Liet ke block Reward Unlock
capture:read
/api/v1/capture/blocks
Tao hoac cap nhat block Reward Unlock
capture:write
/api/v1/capture/submissions
Liet ke submission Reward Unlock
capture:read
/api/v1/campaign-kits
Liet ke Campaign Kits
campaigns:read
/api/v1/campaign-kits
Tao Campaign Kit
campaigns:write
/api/v1/smart-cards
Liet ke Smart Cards
cards:read
/api/v1/smart-cards
Tao Smart Card
cards:write
/api/v1/counters
Liet ke counter va Insight Pixels
counters:read
/api/v1/counters
Tao counter hoac Insight Pixel
counters:write
/api/v1/support-hub
Doc cai dat Support Hub
support:read
/api/v1/support-hub
Cap nhat cai dat Support Hub
support:write
/api/v1/creator-drops
Liet ke Creator Drops
drops:read
/api/v1/creator-drops
Tao Creator Drop
drops:write
/api/v1/creator-drops/{id}/images
Upload mot anh Creator Drop
drops:write + uploads:write
/api/v1/analytics/summary
Doc tom tat analytics workspace
analytics:read
/api/v1/webhooks
Liet ke endpoint webhook
webhooks:write
/api/v1/webhooks
Tao endpoint webhook
webhooks:write
/api/v1/webhooks/{id}
Cap nhat endpoint webhook
webhooks:write
/api/v1/webhooks/{id}
Xoa endpoint webhook
webhooks:write
/api/v1/webhooks/{id}/test
Dua event test webhook vao hang doi
webhooks:write
Buoc tiep theo
Dung cac trang nay khi ban san sang tao API key, ket noi webhook, export du lieu hoac can ho tro tich hop.