Dokumentasi workspace

Dokumentasi workspace Lynko

Pelajari bagaimana opsi workspace Lynko, akses API developer, webhooks, dan analytics saling terhubung agar kamu bisa membuat link, kode QR, dan alur campaign dengan percaya diri.

Ikhtisar ruang kerja

Satu workspace untuk setiap touchpoint publik

Workspace Lynko menyimpan link publik, kode QR, halaman, campaign, dan laporan di satu tempat. Tiap tool bisa berjalan sendiri, tetapi workflow terkuat menggabungkannya.

Short link

Buat link rapi yang mudah dibagikan dengan tracking opsional, aturan kedaluwarsa, password, Smart Redirects, dan statistik publik.

Kode QR dinamis

Buat kode QR yang tetap memakai kode cetak yang sama meski destinasi diubah nanti.

Halaman link

Publikasikan halaman link-in-bio untuk profil sosial, campaign, event, dan destinasi penting.

Kit Kampanye

Gabungkan short link, kode QR, landing page, poll, blok Reward Unlock, dan laporan dalam satu promosi.

Kartu Pintar

Siapkan card cetak atau digital dengan destinasi QR yang bisa kamu update dari workspace.

Poll dan halaman AMA

Kumpulkan vote atau pertanyaan dari audiens dan lihat aktivitas dari akun yang sama.

Support Hub

Bagikan link donasi, toko, kontak, dan komunitas dari halaman support publik.

Counter dan Insight Pixel

Ukur kunjungan dengan counter ringan dan analytics workspace yang ramah privasi.

Workspace options

Yang bisa kamu kelola dari dashboard

Opsi workspace mencakup pembuatan konten, analytics, import, export, akses developer, dan kontrol ramah privasi. Limit paket berlaku untuk aset aktif atau terlacak, sedangkan short link tanpa tracking tetap unlimited.

Manajemen aset

Buat, edit, pause, restore, dan atur aset Lynko publik dari dashboard.

Analytics

Lihat klik, scan, view, vote, referrer, perangkat, bahasa, dan hasil campaign saat tracking aktif.

Limit sesuai paket

Short link terlacak, halaman publik, kode QR aktif, Smart Card, poll, counter, pixel, tombol Support Hub, dan Campaign Kit mengikuti limit paket.

Import dan export

Pindahkan data workspace masuk dan keluar dengan CSV dan tool export yang didukung sesuai paketmu.

Developer access

Buat API key dengan scope, hubungkan webhook, dan otomatisasi aksi workspace yang didukung.

Kontrol privasi

Gunakan analytics ramah privasi, URL root Lynko, upload aman, dan ownership check di semua tool workspace.

API developer

Mulai cepat API

API Lynko adalah API JSON full-platform untuk otomatisasi workspace. Buat API key di workspace Developer, pilih hanya permission yang dibutuhkan integrasi, lalu kirim request ke base URL API.

Base URL /api/v1
Autentikasi X-API-Key or Authorization: Bearer API_KEY
Format response Raw JSON
OpenAPI /openapi.json

Autentikasi

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.

Rate limit API sesuai paket
Paket Request per menit Request per hari
Free / Bronze 20 1000
Silver 60 5000
Gold 120 20000

Read memakai limit normal. Write dan ringkasan analytics memakai limit lebih ketat, sedangkan export, test webhook, dan upload kecil memakai limit paling ketat.

Contoh penggunaan

Gunakan API dengan beberapa cara

Contoh ini menunjukkan pola umum. Ganti YOUR_API_KEY dengan key berscope dari workspace Developer dan jaga key itu tetap privat.

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.

Cek API key

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

Buat short link dengan 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"}'

Buat kode QR dengan 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

Baca analytics dengan 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);

Otomatisasi setup campaign

Buat short link, buat kode QR untuk destinasi yang sama, lalu lihat performa dari analytics.

Sinkronkan destinasi publik

Update halaman link, Smart Card, Support Hub, atau destinasi QR dari tool internalmu sendiri.

Bangun dashboard laporan

Ambil ringkasan analytics workspace dan gabungkan dengan catatan campaign atau laporan klienmu.

Terima event dengan webhook

Gunakan webhook untuk klik link, scan QR, submission capture, lead campaign, vote poll, dan perubahan billing.

Permission dan endpoint

Pilih permission terkecil yang tetap berguna

API key memiliki scope. Beri tiap integrasi hanya permission yang dibutuhkan, lalu rotasi atau revoke key dari workspace Developer saat akses tidak lagi diperlukan.

Akun

  • account:readBaca email akun dan detail langganan

Aset inti

  • links:readBaca shortlink
  • links:writeBuat dan update shortlink
  • qr:readBaca kode QR
  • qr:writeBuat dan update kode QR
  • trees:readBaca halaman link
  • trees:writeBuat dan update halaman link

Engagement

  • polls:readBaca poll
  • polls:writeBuat dan update poll
  • ama:readBaca halaman AMA
  • ama:writeKelola halaman AMA
  • capture:readBaca data Reward Unlock
  • capture:writeKelola blok Reward Unlock

Tool workspace

  • campaigns:readBaca Campaign Kits
  • campaigns:writeBuat dan update Campaign Kits
  • cards:readBaca Smart Cards
  • cards:writeBuat dan update Smart Cards
  • counters:readBaca counter dan Insight Pixels
  • counters:writeBuat dan update counter dan Insight Pixels
  • support:readBaca Support Hub
  • support:writeKelola Support Hub
  • drops:readBaca Creator Drops
  • drops:writeBuat dan update Creator Drops

Integrasi

  • analytics:readBaca ringkasan analytics
  • webhooks:writeKelola webhook
  • uploads:writeUpload media API kecil

Akun

GET /api/v1/me Detail akun dan kunci API account:read for email and subscription details
GET /api/v1/rate-limits Batas plan saat ini dan biaya endpoint -

Aset inti

GET /api/v1/shortlinks Daftar shortlink links:read
POST /api/v1/shortlinks Buat shortlink links:write
GET /api/v1/qr-codes Daftar kode QR qr:read
POST /api/v1/qr-codes Buat kode QR qr:write
GET /api/v1/link-pages Daftar halaman link trees:read
POST /api/v1/link-pages Buat halaman link trees:write

Engagement

GET /api/v1/polls Daftar poll polls:read
POST /api/v1/polls Buat poll polls:write
GET /api/v1/ama Baca pengaturan AMA ama:read
POST /api/v1/ama Buat atau update pengaturan AMA ama:write
GET /api/v1/capture/blocks Daftar blok Reward Unlock capture:read
POST /api/v1/capture/blocks Buat atau update blok Reward Unlock capture:write
GET /api/v1/capture/submissions Daftar submission Reward Unlock capture:read

Tool workspace

GET /api/v1/campaign-kits Daftar Campaign Kits campaigns:read
POST /api/v1/campaign-kits Buat Campaign Kit campaigns:write
GET /api/v1/smart-cards Daftar Smart Cards cards:read
POST /api/v1/smart-cards Buat Smart Card cards:write
GET /api/v1/counters Daftar counter dan Insight Pixels counters:read
POST /api/v1/counters Buat counter atau Insight Pixel counters:write
GET /api/v1/support-hub Baca pengaturan Support Hub support:read
PUT /api/v1/support-hub Update pengaturan Support Hub support:write
GET /api/v1/creator-drops Daftar Creator Drops drops:read
POST /api/v1/creator-drops Buat Creator Drop drops:write
POST /api/v1/creator-drops/{id}/images Upload satu gambar Creator Drop drops:write + uploads:write

Integrasi

GET /api/v1/analytics/summary Baca ringkasan analytics workspace analytics:read
GET /api/v1/webhooks Daftar endpoint webhook webhooks:write
POST /api/v1/webhooks Buat endpoint webhook webhooks:write
PATCH /api/v1/webhooks/{id} Update endpoint webhook webhooks:write
DELETE /api/v1/webhooks/{id} Hapus endpoint webhook webhooks:write
POST /api/v1/webhooks/{id}/test Masukkan event test webhook ke antrean webhooks:write

Langkah berikutnya

Link workspace yang membantu

Gunakan halaman ini saat kamu siap membuat API key, menghubungkan webhook, export data, atau meminta bantuan integrasi.