İçeriğe geç
API belgeleri

Bağlantılar

Kısa bağlantılarınızı, hedefleme kurallarınızı, piksellerinizi ve yönlendirmelerinizi oluşturun ve yönetin.

Kimlik doğrulama
Her istek, admin API anahtarıyla eşleşen Bearer token içeren Authorization başlığını göndermelidir. API anahtarı al.
API belgeleri

Uç nokta
GET https://rqrcode.com/api/links/
Örnek
curl --request GET \
--url 'https://rqrcode.com/api/links/' \
--header 'Authorization: Bearer {api_key}'
Parametreler
Parametreler Ayrıntılar Açıklama
page
İsteğe bağlı ui.admin.api_docs.common.types.Tamsayı
Sonuçları almak istediğiniz sayfa numarası. Varsayılan olarak 1'dir.
results_per_page
İsteğe bağlı ui.admin.api_docs.common.types.Tamsayı
Sayfa başına kaç sonuç istediğiniz. İzin verilen değerler: 10, 25, 50, 100, 250, 500, 1000. Varsayılan olarak 25'tir.
Yanıt örneği
{
    "data": [
        {
            "id": 1,
            "project_id": null,
            "domain_id": 0,
            "type": "link",
            "url": "örnek",
            "location_url": "https://example.com/",
            "settings": {
                "password": null,
                "sensitive_content": false
            },
            "pageviews": 10,
            "order": 0,
            "start_date": null,
            "end_date": null,
            "datetime": "2026-04-20 07:53:23"
        }
    ],
    "meta": {
        "page": 1,
        "results_per_page": 25,
        "total": 1,
        "total_pages": 1
    },
    "links": {
        "first": "https://rqrcode.com/api/links?page=1",
        "last": "https://rqrcode.com/api/links?page=1",
        "next": null,
        "prev": null,
        "self": "https://rqrcode.com/api/links?page=1"
    }
}

Uç nokta
GET https://rqrcode.com/api/links/{link_id}
Örnek
curl --request GET \
--url 'https://rqrcode.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}'
Parametreler
Ek parametre yok.
Yanıt örneği
{
    "data": {
        "id": 1,
        "project_id": null,
        "domain_id": 0,
        "type": "link",
        "url": "örnek",
        "location_url": "https://example.com/",
        "settings": {
            "password": null,
            "sensitive_content": false
        },
        "pageviews": 10,
        "order": 0,
        "start_date": null,
        "end_date": null,
        "datetime": "2026-04-20 07:53:23"
    }
}

Uç nokta
POST https://rqrcode.com/api/links
Örnek
curl --request POST \
--url 'https://rqrcode.com/api/links' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'url=örnek' \
--form 'location_url=https://rqrcode.com/'
Parametreler
Parametreler Ayrıntılar Açıklama
location_url
Zorunlu ui.admin.api_docs.common.types.Dize
Hedef URL. Şu durumda mevcut: is_bulk = 0
location_urls
Zorunlu ui.admin.api_docs.common.types.Dize
Hedef URL. Şu durumda mevcut: is_bulk = 1
url
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Oluşturulan URL takma adı. Rastgele bir tane için boş bırakın. Şu durumda mevcut: is_bulk = 0
is_bulk
İsteğe bağlı ui.admin.api_docs.common.types.Boolean
-
domain_id
İsteğe bağlı ui.admin.api_docs.common.types.Tamsayı
-
project_id
İsteğe bağlı ui.admin.api_docs.common.types.Tamsayı
-
pixels_ids
İsteğe bağlı ui.admin.api_docs.common.types.Tamsayı
-
schedule
İsteğe bağlı ui.admin.api_docs.common.types.Boolean
-
start_date
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: schedule = true
end_date
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: schedule = true
pageviews_limit
İsteğe bağlı ui.admin.api_docs.common.types.Tamsayı
-
expiration_url
İsteğe bağlı ui.admin.api_docs.common.types.Dize
-
password
İsteğe bağlı ui.admin.api_docs.common.types.Dize
-
forward_query_parameters_is_enabled
İsteğe bağlı ui.admin.api_docs.common.types.Boolean
-
utm_source
İsteğe bağlı ui.admin.api_docs.common.types.Dize
-
utm_medium
İsteğe bağlı ui.admin.api_docs.common.types.Dize
-
utm_campaign
İsteğe bağlı ui.admin.api_docs.common.types.Dize
-
sensitive_content
İsteğe bağlı ui.admin.api_docs.common.types.Boolean
-
http_status_code
İsteğe bağlı ui.admin.api_docs.common.types.Tamsayı
İzin verilen değerler: 301, 302, 307, 308
app_linking_is_enabled
İsteğe bağlı ui.admin.api_docs.common.types.Boolean
-
cloaking_is_enabled
İsteğe bağlı ui.admin.api_docs.common.types.Boolean
-
cloaking_title
İsteğe bağlı ui.admin.api_docs.common.types.Dize
-
cloaking_meta_description
İsteğe bağlı ui.admin.api_docs.common.types.Dize
-
cloaking_custom_js
İsteğe bağlı ui.admin.api_docs.common.types.Dize
-
cloaking_favicon
İsteğe bağlı ui.admin.api_docs.common.types.Dosya
-
cloaking_opengraph
İsteğe bağlı ui.admin.api_docs.common.types.Dosya
-
targeting_type
İsteğe bağlı ui.admin.api_docs.common.types.Dize
İzin verilen değerler: continent_code, country_code, city_name, device_type, browser_language, rotation, os_name, browser_name
targeting_continent_code_key[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = continent_code
targeting_continent_code_value[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = continent_code
targeting_country_code_key[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = country_code
targeting_country_code_value[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = country_code
targeting_city_name_key[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = city_name
targeting_city_name_value[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = city_name
targeting_device_type_key[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = device_type
targeting_device_type_value[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = device_type
targeting_browser_language_key[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = browser_language
targeting_browser_language_value[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = browser_language
targeting_rotation_key[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = rotation
targeting_rotation_value[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = rotation
targeting_os_name_key[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = os_name
targeting_os_name_value[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = os_name
targeting_browser_name_key[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = browser_name
targeting_browser_name_value[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = browser_name
Yanıt örneği
{
    "data": {
        "id": 1
    }
}

Uç nokta
POST https://rqrcode.com/api/links/{link_id}
Örnek
curl --request POST \
--url 'https://rqrcode.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'is_enabled=0'
Parametreler
Parametreler Ayrıntılar Açıklama
location_url
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Hedef URL.
url
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Oluşturulan URL takma adı. Rastgele bir tane için boş bırakın.
domain_id
İsteğe bağlı ui.admin.api_docs.common.types.Tamsayı
-
project_id
İsteğe bağlı ui.admin.api_docs.common.types.Tamsayı
-
pixels_ids
İsteğe bağlı ui.admin.api_docs.common.types.Tamsayı
-
schedule
İsteğe bağlı ui.admin.api_docs.common.types.Boolean
-
start_date
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: schedule = true
end_date
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: schedule = true
pageviews_limit
İsteğe bağlı ui.admin.api_docs.common.types.Tamsayı
-
expiration_url
İsteğe bağlı ui.admin.api_docs.common.types.Dize
-
password
İsteğe bağlı ui.admin.api_docs.common.types.Dize
-
forward_query_parameters_is_enabled
İsteğe bağlı ui.admin.api_docs.common.types.Boolean
-
utm_source
İsteğe bağlı ui.admin.api_docs.common.types.Dize
-
utm_medium
İsteğe bağlı ui.admin.api_docs.common.types.Dize
-
utm_campaign
İsteğe bağlı ui.admin.api_docs.common.types.Dize
-
sensitive_content
İsteğe bağlı ui.admin.api_docs.common.types.Boolean
-
http_status_code
İsteğe bağlı ui.admin.api_docs.common.types.Tamsayı
İzin verilen değerler: 301, 302, 307, 308
app_linking_is_enabled
İsteğe bağlı ui.admin.api_docs.common.types.Boolean
-
cloaking_is_enabled
İsteğe bağlı ui.admin.api_docs.common.types.Boolean
-
cloaking_title
İsteğe bağlı ui.admin.api_docs.common.types.Dize
-
cloaking_meta_description
İsteğe bağlı ui.admin.api_docs.common.types.Dize
-
cloaking_custom_js
İsteğe bağlı ui.admin.api_docs.common.types.Dize
-
cloaking_favicon
İsteğe bağlı ui.admin.api_docs.common.types.Dosya
-
cloaking_opengraph
İsteğe bağlı ui.admin.api_docs.common.types.Dosya
-
targeting_type
İsteğe bağlı ui.admin.api_docs.common.types.Dize
İzin verilen değerler: continent_code, country_code, city_name, device_type, browser_language, rotation, os_name, browser_name
targeting_continent_code_key[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = continent_code
targeting_continent_code_value[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = continent_code
targeting_country_code_key[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = country_code
targeting_country_code_value[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = country_code
targeting_city_name_key[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = city_name
targeting_city_name_value[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = city_name
targeting_device_type_key[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = device_type
targeting_device_type_value[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = device_type
targeting_browser_language_key[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = browser_language
targeting_browser_language_value[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = browser_language
targeting_rotation_key[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = rotation
targeting_rotation_value[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = rotation
targeting_os_name_key[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = os_name
targeting_os_name_value[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = os_name
targeting_browser_name_key[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = browser_name
targeting_browser_name_value[index]
İsteğe bağlı ui.admin.api_docs.common.types.Dize
Şu durumda mevcut: targeting_type = browser_name
Yanıt örneği
{
    "data": {
        "id": 1
    }
}

Uç nokta
DELETE https://rqrcode.com/api/links/{link_id}
Örnek
curl --request DELETE \
--url 'https://rqrcode.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}'
Parametreler
Ek parametre yok.
Yanıt örneği
Başarı durumunda boş 200 yanıt gövdesi.