API referansı
Tüm public uçlar gateway üzerinden /api/v1/links altında çalışır. Bu sayfa herkese açık; gerçek istek göndermek için konsoldaki API tester’ı kullanın.
- Uç
- 45 uç
- Grup
- 5 grup
- Scope
- 5 scope
- Metodlar
- GET 20
- POST 8
- PATCH 9
- DELETE 8
Links
7 uçLink ve route graph kaynaklarının yaşam döngüsü.
Linkleri cursor pagination ve filtrelerle listeler.
cURLBağlantıcurl -X GET "https://api.beklio.com/api/v1/links" \ -H "Authorization: Bearer $BEKLIO_API_KEY"
Kısa biçim (url) veya tam route graph ile link oluşturur.
cURLBağlantıcurl -X POST "https://api.beklio.com/api/v1/links" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Size ait bir linki route graph ile birlikte döner.
cURLBağlantıcurl -X GET "https://api.beklio.com/api/v1/links/{id}" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Metadata, routing ve route graph günceller.
cURLBağlantıcurl -X PATCH "https://api.beklio.com/api/v1/links/{id}" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Linki ve bağlı graph kaynaklarını siler.
cURLBağlantıcurl -X DELETE "https://api.beklio.com/api/v1/links/{id}" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Salt okunur platform/cihaz kataloğu.
cURLBağlantıcurl -X GET "https://api.beklio.com/api/v1/links/platform-catalog" \ -H "Authorization: Bearer $BEKLIO_API_KEY"
Bir slug’ın boş olup olmadığını kontrol eder; isteğe bağlı domainId ve yeniden adlandırma için excludeLinkId alır.
cURLBağlantıcurl -X GET "https://api.beklio.com/api/v1/links/links/slug-availability" \ -H "Authorization: Bearer $BEKLIO_API_KEY"
Routes
17 uçHedefleme koşulları, hedefler ve özellikler.
Linkin route listesini döner.
cURLBağlantıcurl -X GET "https://api.beklio.com/api/v1/links/{id}/routes" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Yeni route ekler.
cURLBağlantıcurl -X POST "https://api.beklio.com/api/v1/links/{id}/routes" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Bir linkin tek bir route’unu routeId ile döner.
cURLBağlantıcurl -X GET "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Route günceller.
cURLBağlantıcurl -X PATCH "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Route siler.
cURLBağlantıcurl -X DELETE "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Route koşullarını listeler (COUNTRY, DEVICE_PROFILE, OS, USER_AGENT, LANGUAGE, REFERRER_DOMAIN).
cURLBağlantıcurl -X GET "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}/conditions" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Koşul ekler (GET ile listelenir; PATCH/DELETE /:conditionId).
cURLBağlantıcurl -X POST "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}/conditions" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Bir route koşulunu kısmen günceller.
cURLBağlantıcurl -X PATCH "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}/conditions/{childId}" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Bir route koşulunu kalıcı olarak siler.
cURLBağlantıcurl -X DELETE "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}/conditions/{childId}" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Route’un hedef öğelerini (tree veya board öğeleri) listeler.
cURLBağlantıcurl -X GET "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}/targets" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Katalog hedefi bağlar (GET ile listelenir; PATCH/DELETE /:itemId).
cURLBağlantıcurl -X POST "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}/targets" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Bir route hedefini (ör. zorunlu bayrağını) günceller.
cURLBağlantıcurl -X PATCH "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}/targets/{childId}" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Bir hedefi route’tan kalıcı olarak ayırır.
cURLBağlantıcurl -X DELETE "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}/targets/{childId}" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Route özelliklerini listeler: PASSWORD, EXPIRATION_DATE, LIMIT, UTM, REDIRECT_DELAY.
cURLBağlantıcurl -X GET "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}/features" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Özellik ekler (GET ile listelenir; PATCH/DELETE /:featureId).
cURLBağlantıcurl -X POST "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}/features" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Bir route özelliğinin enabled bayrağını veya config’ini günceller.
cURLBağlantıcurl -X PATCH "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}/features/{childId}" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Bir özelliği route’tan kalıcı olarak kaldırır.
cURLBağlantıcurl -X DELETE "https://api.beklio.com/api/v1/links/{id}/routes/{routeId}/features/{childId}" \ -H "Authorization: Bearer $BEKLIO_API_KEY"
Trees, boards ve folders
15 uçLink koleksiyonları. POST oluşturur, PATCH/DELETE /:id günceller ve siler.
Tree kaynaklarınızı listeler.
cURLBağlantıcurl -X GET "https://api.beklio.com/api/v1/links/trees" \ -H "Authorization: Bearer $BEKLIO_API_KEY"
Link-in-bio tree oluşturur; username zorunludur (3–64 harf, rakam veya tire).
cURLBağlantıcurl -X POST "https://api.beklio.com/api/v1/links/trees" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Tek bir link-in-bio tree’yi id ile döner.
cURLBağlantıcurl -X GET "https://api.beklio.com/api/v1/links/trees/{id}" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Bir tree’yi kısmen günceller; yalnızca değişen alanları gönderin.
cURLBağlantıcurl -X PATCH "https://api.beklio.com/api/v1/links/trees/{id}" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Bir tree’yi kalıcı olarak siler.
cURLBağlantıcurl -X DELETE "https://api.beklio.com/api/v1/links/trees/{id}" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Board kaynaklarınızı listeler.
cURLBağlantıcurl -X GET "https://api.beklio.com/api/v1/links/boards" \ -H "Authorization: Bearer $BEKLIO_API_KEY"
Board oluşturur; title ve slug zorunlu, layout isteğe bağlıdır.
cURLBağlantıcurl -X POST "https://api.beklio.com/api/v1/links/boards" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Tek bir board’u id ile döner.
cURLBağlantıcurl -X GET "https://api.beklio.com/api/v1/links/boards/{id}" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Bir board’u kısmen günceller; yalnızca değişen alanları gönderin.
cURLBağlantıcurl -X PATCH "https://api.beklio.com/api/v1/links/boards/{id}" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Bir board’u kalıcı olarak siler.
cURLBağlantıcurl -X DELETE "https://api.beklio.com/api/v1/links/boards/{id}" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Klasörlerinizi listeler.
cURLBağlantıcurl -X GET "https://api.beklio.com/api/v1/links/folders" \ -H "Authorization: Bearer $BEKLIO_API_KEY"
Linkleri düzenlemek için klasör oluşturur; title zorunludur.
cURLBağlantıcurl -X POST "https://api.beklio.com/api/v1/links/folders" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Tek bir klasörü id ile döner.
cURLBağlantıcurl -X GET "https://api.beklio.com/api/v1/links/folders/{id}" \ -H "Authorization: Bearer $BEKLIO_API_KEY"Bir klasörü kısmen günceller; yalnızca değişen alanları gönderin.
cURLBağlantıcurl -X PATCH "https://api.beklio.com/api/v1/links/folders/{id}" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'Bir klasörü kalıcı olarak siler.
cURLBağlantıcurl -X DELETE "https://api.beklio.com/api/v1/links/folders/{id}" \ -H "Authorization: Bearer $BEKLIO_API_KEY"
QR ve analytics
3 uçQR durumu ve gün bazlı analytics.
QR durumunu ve payload bilgisini okur.
cURLBağlantıcurl -X GET "https://api.beklio.com/api/v1/links/{id}/qr" \ -H "Authorization: Bearer $BEKLIO_API_KEY"QR payload ve oluşturma durumunu günceller.
cURLBağlantıcurl -X PATCH "https://api.beklio.com/api/v1/links/{id}/qr" \ -H "Authorization: Bearer $BEKLIO_API_KEY" \ -H "Idempotency-Key: <idempotency-key>" \ -H "Content-Type: application/json" \ -d '{ … }'?days=1–365 aralığında event ve ziyaretçi toplamları.
cURLBağlantıcurl -X GET "https://api.beklio.com/api/v1/links/{id}/analytics" \ -H "Authorization: Bearer $BEKLIO_API_KEY"
Domains
3 uçKullanılabilir ve varsayılan domain metadata bilgileri.
Okuyabildiğiniz alan adlarını, kısa link alan adlarıyla birlikte listeler.
cURLBağlantıcurl -X GET "https://api.beklio.com/api/v1/links/domains" \ -H "Authorization: Bearer $BEKLIO_API_KEY"
Varsayılan kısa link alan adınızı döner (yoksa null).
cURLBağlantıcurl -X GET "https://api.beklio.com/api/v1/links/domains/default" \ -H "Authorization: Bearer $BEKLIO_API_KEY"
Şu anda link oluşturabileceğiniz (aktif ve plan sınırları içindeki) alan adlarını listeler.
cURLBağlantıcurl -X GET "https://api.beklio.com/api/v1/links/domains/eligible" \ -H "Authorization: Bearer $BEKLIO_API_KEY"