Bağlantılar
GET https://qrkodu.com/api/links/
curl --request GET \
--url 'https://qrkodu.com/api/links/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://qrkodu.com/api/links/' \
--header 'Authorization: Bearer {api_key}' \
| Parametreler | Detaylar | Açıklama |
|---|---|---|
| page | İsteğe Bağlı Tam Sayı (Integer) | Sonuç almak istediğiniz sayfa numarası. Varsayılan olarak 1. |
| results_per_page | İsteğe Bağlı Tam Sayı (Integer) | Sayfa başına kaç sonuç istediğiniz. İzin verilen değerler: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Varsayılan olarak 25. |
{
"data": [
{
"id": 1,
"project_id": null,
"domain_id": 0,
"type": "link",
"url": "example",
"location_url": "https://example.com/",
"settings": {
"password": null,
"sensitive_content": false
},
"pageviews": 10,
"order": 0,
"start_date": null,
"end_date": null,
"datetime": "2026-01-16 08:48:57",
}
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://qrkodu.com/api/links?page=1",
"last": "https://qrkodu.com/api/links?page=1",
"next": null,
"prev": null,
"self": "https://qrkodu.com/api/links?page=1"
}
}
GET https://qrkodu.com/api/links/{link_id}
curl --request GET \
--url 'https://qrkodu.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://qrkodu.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"project_id": null,
"domain_id": 0,
"type": "link",
"url": "example",
"location_url": "https://example.com/",
"settings": {
"password": null,
"sensitive_content": false
},
"pageviews": 10,
"order": 0,
"start_date": null,
"end_date": null,
"datetime": "2026-01-16 08:48:57",
}
}
POST https://qrkodu.com/api/links
| Parametreler | Detaylar | Açıklama |
|---|---|---|
| location_url | Gerekli Dize (String) | Hedefin URL'si.Şu durumlarda kullanılabilir: is_bulk = 0 |
| location_urls | Gerekli Dize (String) | Hedefin URL'si.Şu durumlarda kullanılabilir: is_bulk = 1 |
| url | İsteğe Bağlı Dize (String) | Oluşturulan bağlantının URL takma adı. Rastgele oluşturulmuş bir tane için boş bırakın.Şu durumlarda kullanılabilir: is_bulk = 0 |
| is_bulk | İsteğe Bağlı Mantıksal (Boolean) | |
| domain_id | İsteğe Bağlı Tam Sayı (Integer) | - |
| project_id | İsteğe Bağlı Tam Sayı (Integer) | - |
| pixels_ids | İsteğe Bağlı Dizi (Array) Tam Sayı (Integer) | - |
| schedule | İsteğe Bağlı Mantıksal (Boolean) | - |
| start_date | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: schedule = true |
| end_date | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: schedule = true |
| pageviews_limit | İsteğe Bağlı Tam Sayı (Integer) | - |
| expiration_url | İsteğe Bağlı Dize (String) | - |
| password | İsteğe Bağlı Dize (String) | - |
| forward_query_parameters_is_enabled | İsteğe Bağlı Mantıksal (Boolean) | - |
| utm_source | İsteğe Bağlı Dize (String) | - |
| utm_medium | İsteğe Bağlı Dize (String) | - |
| utm_campaign | İsteğe Bağlı Dize (String) | - |
| sensitive_content | İsteğe Bağlı Mantıksal (Boolean) | - |
| http_status_code | İsteğe Bağlı Tam Sayı (Integer) | İzin verilen değerler: 301, 302, 307, 308 |
| app_linking_is_enabled | İsteğe Bağlı Mantıksal (Boolean) | - |
| cloaking_is_enabled | İsteğe Bağlı Mantıksal (Boolean) | - |
| cloaking_title | İsteğe Bağlı Dize (String) | - |
| cloaking_meta_description | İsteğe Bağlı Dize (String) | - |
| cloaking_custom_js | İsteğe Bağlı Dize (String) | - |
| cloaking_favicon | İsteğe Bağlı Dosya | - |
| cloaking_opengraph | İsteğe Bağlı Dosya | - |
| targeting_type | İsteğe Bağlı Dize (String) | continent_code , country_code , city_name , device_type , browser_language , rotation , os_name , browser_name |
| targeting_continent_code_key[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = continent_code |
| targeting_continent_code_value[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = continent_code |
| targeting_country_code_key[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = country_code |
| targeting_country_code_value[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = country_code |
| targeting_city_name_key[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = city_name |
| targeting_city_name_value[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = city_name |
| targeting_device_type_key[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = device_type |
| targeting_device_type_value[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = device_type |
| targeting_browser_language_key[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = browser_language |
| targeting_browser_language_value[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = browser_language |
| targeting_rotation_key[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = rotation |
| targeting_rotation_value[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = rotation |
| targeting_os_name_key[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = os_name |
| targeting_os_name_value[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = os_name |
| targeting_browser_name_key[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = browser_name |
| targeting_browser_name_value[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = browser_name |
curl --request POST \
--url 'https://qrkodu.com/api/links' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'url=example' \
--form 'location_url=https://qrkodu.com/' \
--url 'https://qrkodu.com/api/links' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'url=example' \
--form 'location_url=https://qrkodu.com/' \
{
"data": {
"id": 1
}
}
POST https://qrkodu.com/api/links/{link_id}
| Parametreler | Detaylar | Açıklama |
|---|---|---|
| location_url | İsteğe Bağlı Dize (String) | Hedefin URL'si. |
| url | İsteğe Bağlı Dize (String) | Oluşturulan bağlantının URL takma adı. Rastgele oluşturulmuş bir tane için boş bırakın. |
| domain_id | İsteğe Bağlı Tam Sayı (Integer) | - |
| project_id | İsteğe Bağlı Tam Sayı (Integer) | - |
| pixels_ids | İsteğe Bağlı Dizi (Array) Tam Sayı (Integer) | - |
| schedule | İsteğe Bağlı Mantıksal (Boolean) | - |
| start_date | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: schedule = true |
| end_date | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: schedule = true |
| pageviews_limit | İsteğe Bağlı Tam Sayı (Integer) | - |
| expiration_url | İsteğe Bağlı Dize (String) | - |
| password | İsteğe Bağlı Dize (String) | - |
| forward_query_parameters_is_enabled | İsteğe Bağlı Mantıksal (Boolean) | - |
| utm_source | İsteğe Bağlı Dize (String) | - |
| utm_medium | İsteğe Bağlı Dize (String) | - |
| utm_campaign | İsteğe Bağlı Dize (String) | - |
| sensitive_content | İsteğe Bağlı Mantıksal (Boolean) | - |
| http_status_code | İsteğe Bağlı Tam Sayı (Integer) | İzin verilen değerler: 301, 302, 307, 308 |
| app_linking_is_enabled | İsteğe Bağlı Mantıksal (Boolean) | - |
| cloaking_is_enabled | İsteğe Bağlı Mantıksal (Boolean) | - |
| cloaking_title | İsteğe Bağlı Dize (String) | - |
| cloaking_meta_description | İsteğe Bağlı Dize (String) | - |
| cloaking_custom_js | İsteğe Bağlı Dize (String) | - |
| cloaking_favicon | İsteğe Bağlı Dosya | - |
| cloaking_opengraph | İsteğe Bağlı Dosya | - |
| targeting_type | İsteğe Bağlı Dize (String) | continent_code , country_code , city_name , device_type , browser_language , rotation , os_name , browser_name |
| targeting_continent_code_key[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = continent_code |
| targeting_continent_code_value[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = continent_code |
| targeting_country_code_key[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = country_code |
| targeting_country_code_value[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = country_code |
| targeting_city_name_key[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = city_name |
| targeting_city_name_value[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = city_name |
| targeting_device_type_key[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = device_type |
| targeting_device_type_value[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = device_type |
| targeting_browser_language_key[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = browser_language |
| targeting_browser_language_value[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = browser_language |
| targeting_rotation_key[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = rotation |
| targeting_rotation_value[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = rotation |
| targeting_os_name_key[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = os_name |
| targeting_os_name_value[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = os_name |
| targeting_browser_name_key[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = browser_name |
| targeting_browser_name_value[index] | İsteğe Bağlı Dize (String) | Şu durumlarda kullanılabilir: targeting_type = browser_name |
curl --request POST \
--url 'https://qrkodu.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'is_enabled=0' \
--url 'https://qrkodu.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'is_enabled=0' \
{
"data": {
"id": 1
}
}
DELETE https://qrkodu.com/api/links/{link_id}
curl --request DELETE \
--url 'https://qrkodu.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://qrkodu.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \