Tai lieu workspace

Tai lieu workspace Lynko

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

Mot workspace cho moi diem cham cong khai

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.

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.

Ma QR dong

Tao ma QR co the giu nguyen ma da in trong khi diem den duoc doi sau.

Trang link

Xuat ban trang link-in-bio cho ho so social, chien dich, su kien va diem den quan trong.

Bộ chiến dịch

Gom short link, ma QR, landing page, poll, khoi Reward Unlock va bao cao quanh mot chuong trinh quang ba.

Thẻ thông minh

Chuan bi card in an hoac ky thuat so voi diem den QR co the cap nhat tu workspace.

Poll va trang AMA

Thu thap binh chon hoac cau hoi tu khan gia va xem hoat dong tu cung mot tai khoan.

Trung tâm hỗ trợ

Chia se link quyen gop, shop, lien he va cong dong tu mot trang ho tro cong khai.

Counter va Insight Pixel

Do luot truy cap bang counter nhe va analytics workspace than thien voi rieng tu.

Workspace options

Nhung gi ban co the quan ly tu dashboard

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.

Quan ly asset

Tao, sua, tam dung, khoi phuc va sap xep asset Lynko cong khai tu dashboard.

Analytics

Xem click, scan, luot xem, binh chon, referrer, thiet bi, ngon ngu va ket qua chien dich khi tracking duoc bat.

Gioi han theo goi

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.

Import va export

Di chuyen du lieu workspace vao va ra bang CSV va cong cu export duoc ho tro khi goi cua ban cho phep.

Developer access

Tao API key co pham vi, ket noi webhook va tu dong hoa cac hanh dong workspace duoc ho tro.

Kiem soat rieng tu

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

Bat dau nhanh voi API

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.

URL goc /api/v1
Xac thuc X-API-Key or Authorization: Bearer API_KEY
Dinh dang phan hoi Raw JSON
OpenAPI /openapi.json

Xac thuc

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.

Gioi han toc do API theo goi
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

Dung API theo nhieu cach

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.

Kiem tra API key

curl -H "X-API-Key: YOUR_API_KEY" https://lynko.tv/api/v1/me

Tao short link bang cURL

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"}'

Tao ma QR bang JavaScript

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();

Create a QR code with Windows PowerShell

$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

Doc analytics bang PHP

<?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);

Tu dong hoa thiet lap chien dich

Tao short link, tao ma QR cho cung diem den, roi xem hieu suat tu analytics.

Dong bo diem den cong khai

Cap nhat trang link, Smart Card, Support Hub hoac diem den QR tu cong cu noi bo cua ban.

Xay dung dashboard bao cao

Lay tom tat analytics workspace va ket hop voi ghi chu chien dich hoac bao cao khach hang cua ban.

Nhan su kien bang webhook

Dung webhook cho click link, scan QR, gui capture, lead chien dich, vote poll va thay doi billing.

Quyen va endpoint

Chon bo quyen nho nhat nhung du dung

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.

Tai khoan

  • account:readDoc email tai khoan va chi tiet goi

Asset chinh

  • links:readDoc shortlink
  • links:writeTao va cap nhat shortlink
  • qr:readDoc ma QR
  • qr:writeTao va cap nhat ma QR
  • trees:readDoc trang link
  • trees:writeTao va cap nhat trang link

Engagement

  • polls:readDoc poll
  • polls:writeTao va cap nhat poll
  • ama:readDoc trang AMA
  • ama:writeQuan ly trang AMA
  • capture:readDoc data Reward Unlock
  • capture:writeQuan ly block Reward Unlock

Cong cu workspace

  • campaigns:readDoc Campaign Kits
  • campaigns:writeTao va cap nhat Campaign Kits
  • cards:readDoc Smart Cards
  • cards:writeTao va cap nhat Smart Cards
  • counters:readDoc counter va Insight Pixels
  • counters:writeTao va cap nhat counter va Insight Pixels
  • support:readDoc Support Hub
  • support:writeQuan ly Support Hub
  • drops:readDoc Creator Drops
  • drops:writeTao va cap nhat Creator Drops

Tich hop

  • analytics:readDoc tom tat analytics
  • webhooks:writeQuan ly webhook
  • uploads:writeUpload media API nho

Tai khoan

GET /api/v1/me Chi tiet tai khoan va khoa API account:read for email and subscription details
GET /api/v1/rate-limits Gioi han goi hien tai va chi phi endpoint -

Asset chinh

GET /api/v1/shortlinks Liet ke shortlink links:read
POST /api/v1/shortlinks Tao shortlink links:write
GET /api/v1/qr-codes Liet ke ma QR qr:read
POST /api/v1/qr-codes Tao ma QR qr:write
GET /api/v1/link-pages Liet ke trang link trees:read
POST /api/v1/link-pages Tao trang link trees:write

Engagement

GET /api/v1/polls Liet ke poll polls:read
POST /api/v1/polls Tao poll polls:write
GET /api/v1/ama Doc cai dat AMA ama:read
POST /api/v1/ama Tao hoac cap nhat cai dat AMA ama:write
GET /api/v1/capture/blocks Liet ke block Reward Unlock capture:read
POST /api/v1/capture/blocks Tao hoac cap nhat block Reward Unlock capture:write
GET /api/v1/capture/submissions Liet ke submission Reward Unlock capture:read

Cong cu workspace

GET /api/v1/campaign-kits Liet ke Campaign Kits campaigns:read
POST /api/v1/campaign-kits Tao Campaign Kit campaigns:write
GET /api/v1/smart-cards Liet ke Smart Cards cards:read
POST /api/v1/smart-cards Tao Smart Card cards:write
GET /api/v1/counters Liet ke counter va Insight Pixels counters:read
POST /api/v1/counters Tao counter hoac Insight Pixel counters:write
GET /api/v1/support-hub Doc cai dat Support Hub support:read
PUT /api/v1/support-hub Cap nhat cai dat Support Hub support:write
GET /api/v1/creator-drops Liet ke Creator Drops drops:read
POST /api/v1/creator-drops Tao Creator Drop drops:write
POST /api/v1/creator-drops/{id}/images Upload mot anh Creator Drop drops:write + uploads:write

Tich hop

GET /api/v1/analytics/summary Doc tom tat analytics workspace analytics:read
GET /api/v1/webhooks Liet ke endpoint webhook webhooks:write
POST /api/v1/webhooks Tao endpoint webhook webhooks:write
PATCH /api/v1/webhooks/{id} Cap nhat endpoint webhook webhooks:write
DELETE /api/v1/webhooks/{id} Xoa endpoint webhook webhooks:write
POST /api/v1/webhooks/{id}/test Dua event test webhook vao hang doi webhooks:write

Buoc tiep theo

Link workspace huu ich

Dung cac trang nay khi ban san sang tao API key, ket noi webhook, export du lieu hoac can ho tro tich hop.