Linki
                                GET https://qrecc.pl/api/links/
                            
                        
                                curl --request GET \
--url 'https://qrecc.pl/api/links/' \
--header 'Authorization: Bearer {api_key}' \
                        --url 'https://qrecc.pl/api/links/' \
--header 'Authorization: Bearer {api_key}' \
| Parametry | Szczegóły | Opis | 
|---|---|---|
| page | Opcjonalne Liczba całkowita (Integer) | Numer strony, z której chcesz pobrać wyniki. Domyślnie 1. | 
                            
| results_per_page | Opcjonalne Liczba całkowita (Integer) | Liczba wyników na stronie. Dozwolone wartości: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Domyślnie 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": "2025-11-04 14:08:23"
        }
    ],
    "meta": {
        "page": 1,
        "results_per_page": 25,
        "total": 1,
        "total_pages": 1
    },
    "links": {
        "first": "https://qrecc.pl/api/links?&page=1",
        "last": "https://qrecc.pl/api/links?&page=1",
        "next": null,
        "prev": null,
        "self": "https://qrecc.pl/api/links?&page=1"
    }
}
                        
                    
                                GET https://qrecc.pl/api/links/{link_id}
                            
                        
                                curl --request GET \
--url 'https://qrecc.pl/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
                        --url 'https://qrecc.pl/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": "2025-11-04 14:08:23"
    }
}
                        
                    
                                POST https://qrecc.pl/api/links
                            
                        | Parametry | Szczegóły | Opis | 
|---|---|---|
| location_url | Wymagane Ciąg (String) | Docelowy adres URL. | 
| url | Opcjonalne Ciąg (String) | Alias URL generowanego linku. Pozostaw puste, aby wygenerować losowy. | 
| domain_id | Opcjonalne Liczba całkowita (Integer) | - | 
| project_id | Opcjonalne Liczba całkowita (Integer) | - | 
| pixels_ids | Opcjonalne Tablica (Array) Liczba całkowita (Integer) | - | 
| schedule | Opcjonalne Wartość logiczna (Boolean) | - | 
| start_date | Opcjonalne Ciąg (String) | Dostępne, gdy: schedule = true | 
| end_date | Opcjonalne Ciąg (String) | Dostępne, gdy: schedule = true | 
| pageviews_limit | Opcjonalne Liczba całkowita (Integer) | - | 
| expiration_url | Opcjonalne Ciąg (String) | - | 
| password | Opcjonalne Ciąg (String) | - | 
| forward_query_parameters_is_enabled | Opcjonalne Wartość logiczna (Boolean) | - | 
| utm_source | Opcjonalne Ciąg (String) | - | 
| utm_medium | Opcjonalne Ciąg (String) | - | 
| utm_campaign | Opcjonalne Ciąg (String) | - | 
| sensitive_content | Opcjonalne Wartość logiczna (Boolean) | - | 
| http_status_code | Opcjonalne Liczba całkowita (Integer) | Dozwolone wartości: 301, 302, 307, 308 | 
                            
| app_linking_is_enabled | Opcjonalne Wartość logiczna (Boolean) | - | 
| cloaking_is_enabled | Opcjonalne Wartość logiczna (Boolean) | - | 
| cloaking_title | Opcjonalne Ciąg (String) | - | 
| cloaking_favicon | Opcjonalne Plik (File) | - | 
| cloaking_opengraph | Opcjonalne Plik (File) | - | 
| targeting_type | Opcjonalne Ciąg (String) | continent_code , country_code , city_name , device_type , browser_language , rotation , os_name , browser_name | 
                            
| targeting_continent_code_key[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = continent_code | 
| targeting_continent_code_value[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = continent_code | 
| targeting_country_code_key[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = country_code | 
| targeting_country_code_value[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = country_code | 
| targeting_city_name_key[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = city_name | 
| targeting_city_name_value[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = city_name | 
| targeting_device_type_key[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = device_type | 
| targeting_device_type_value[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = device_type | 
| targeting_browser_language_key[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = browser_language | 
| targeting_browser_language_value[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = browser_language | 
| targeting_rotation_key[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = rotation | 
| targeting_rotation_value[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = rotation | 
| targeting_os_name_key[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = os_name | 
| targeting_os_name_value[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = os_name | 
| targeting_browser_name_key[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = browser_name | 
| targeting_browser_name_value[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = browser_name | 
                                curl --request POST \
--url 'https://qrecc.pl/api/links' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'url=example' \
--form 'location_url=https://qrecc.pl/' \
                            
                        --url 'https://qrecc.pl/api/links' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'url=example' \
--form 'location_url=https://qrecc.pl/' \
{
    "data": {
        "id": 1
    }
}
                        
                    
                                POST https://qrecc.pl/api/links/{link_id}
                            
                        | Parametry | Szczegóły | Opis | 
|---|---|---|
| location_url | Opcjonalne Ciąg (String) | Docelowy adres URL. | 
| url | Opcjonalne Ciąg (String) | Alias URL generowanego linku. Pozostaw puste, aby wygenerować losowy. | 
| domain_id | Opcjonalne Liczba całkowita (Integer) | - | 
| project_id | Opcjonalne Liczba całkowita (Integer) | - | 
| pixels_ids | Opcjonalne Tablica (Array) Liczba całkowita (Integer) | - | 
| schedule | Opcjonalne Wartość logiczna (Boolean) | - | 
| start_date | Opcjonalne Ciąg (String) | Dostępne, gdy: schedule = true | 
| end_date | Opcjonalne Ciąg (String) | Dostępne, gdy: schedule = true | 
| pageviews_limit | Opcjonalne Liczba całkowita (Integer) | - | 
| expiration_url | Opcjonalne Ciąg (String) | - | 
| password | Opcjonalne Ciąg (String) | - | 
| forward_query_parameters_is_enabled | Opcjonalne Wartość logiczna (Boolean) | - | 
| utm_source | Opcjonalne Ciąg (String) | - | 
| utm_medium | Opcjonalne Ciąg (String) | - | 
| utm_campaign | Opcjonalne Ciąg (String) | - | 
| sensitive_content | Opcjonalne Wartość logiczna (Boolean) | - | 
| http_status_code | Opcjonalne Liczba całkowita (Integer) | Dozwolone wartości: 301, 302, 307, 308 | 
                            
| app_linking_is_enabled | Opcjonalne Wartość logiczna (Boolean) | - | 
| cloaking_is_enabled | Opcjonalne Wartość logiczna (Boolean) | - | 
| cloaking_title | Opcjonalne Ciąg (String) | - | 
| cloaking_favicon | Opcjonalne Plik (File) | - | 
| cloaking_opengraph | Opcjonalne Plik (File) | - | 
| targeting_type | Opcjonalne Ciąg (String) | continent_code , country_code , city_name , device_type , browser_language , rotation , os_name , browser_name | 
                            
| targeting_continent_code_key[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = continent_code | 
| targeting_continent_code_value[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = continent_code | 
| targeting_country_code_key[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = country_code | 
| targeting_country_code_value[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = country_code | 
| targeting_city_name_key[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = city_name | 
| targeting_city_name_value[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = city_name | 
| targeting_device_type_key[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = device_type | 
| targeting_device_type_value[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = device_type | 
| targeting_browser_language_key[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = browser_language | 
| targeting_browser_language_value[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = browser_language | 
| targeting_rotation_key[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = rotation | 
| targeting_rotation_value[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = rotation | 
| targeting_os_name_key[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = os_name | 
| targeting_os_name_value[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = os_name | 
| targeting_browser_name_key[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = browser_name | 
| targeting_browser_name_value[index] | Opcjonalne Ciąg (String) | Dostępne, gdy: targeting_type = browser_name | 
                                curl --request POST \
--url 'https://qrecc.pl/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'is_enabled=0' \
                            
                        --url 'https://qrecc.pl/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'is_enabled=0' \
{
  "data": {
    "id": 1
  }
}
                        
                    
                                DELETE https://qrecc.pl/api/links/{link_id}
                            
                        
                                curl --request DELETE \
--url 'https://qrecc.pl/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
                            
                        --url 'https://qrecc.pl/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \