Zum Inhalt springen
API-Dokumentation

Link-API

Erstellen und verwalten Sie Ihre Kurzlinks, Zielregeln, Pixel und Weiterleitungen.

Authentifizierung
Jeder Request muss den Authorization-Header mit einem Bearer-Token senden, der dem Admin-API-Schlüssel entspricht. API-Schlüssel abrufen.
API-Dokumentation

Endpunkt
GET https://rqrcode.com/api/links/
Beispiel
curl --request GET \
--url 'https://rqrcode.com/api/links/' \
--header 'Authorization: Bearer {api_key}'
Parameter
Parameter Weitere Details Beschreibung
page
Optionales Feld ui.admin.api_docs.common.types.Ganzzahl
Die Seitennummer, für die Sie die Ergebnisse erhalten möchten. Standardmäßig 1.
results_per_page
Optionales Feld ui.admin.api_docs.common.types.Ganzzahl
Wie viele Ergebnisse Sie pro Seite möchten. Erlaubte Werte sind: 10, 25, 50, 100, 250, 500, 1000. Standardmäßig 25.
Antwortbeispiel
{
    "data": [
        {
            "id": 1,
            "project_id": null,
            "domain_id": 0,
            "type": "link",
            "url": "beispiel",
            "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"
    }
}

Endpunkt
GET https://rqrcode.com/api/links/{link_id}
Beispiel
curl --request GET \
--url 'https://rqrcode.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}'
Parameter
Kein zusätzlicher Parameter.
Antwortbeispiel
{
    "data": {
        "id": 1,
        "project_id": null,
        "domain_id": 0,
        "type": "link",
        "url": "beispiel",
        "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"
    }
}

Endpunkt
POST https://rqrcode.com/api/links
Beispiel
curl --request POST \
--url 'https://rqrcode.com/api/links' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'url=beispiel' \
--form 'location_url=https://rqrcode.com/'
Parameter
Parameter Weitere Details Beschreibung
location_url
Erforderlich ui.admin.api_docs.common.types.Zeichenkette
Ziel-URL. Verfügbar, wenn: is_bulk = 0
location_urls
Erforderlich ui.admin.api_docs.common.types.Zeichenkette
Ziel-URL. Verfügbar, wenn: is_bulk = 1
url
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Der generierte URL-Alias. Leer lassen für einen zufälligen. Verfügbar, wenn: is_bulk = 0
is_bulk
Optionales Feld ui.admin.api_docs.common.types.Boolescher Wert
domain_id
Optionales Feld ui.admin.api_docs.common.types.Ganzzahl
project_id
Optionales Feld ui.admin.api_docs.common.types.Ganzzahl
pixels_ids
Optionales Feld ui.admin.api_docs.common.types.Ganzzahl
schedule
Optionales Feld ui.admin.api_docs.common.types.Boolescher Wert
start_date
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: schedule = true
end_date
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: schedule = true
pageviews_limit
Optionales Feld ui.admin.api_docs.common.types.Ganzzahl
expiration_url
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
password
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
forward_query_parameters_is_enabled
Optionales Feld ui.admin.api_docs.common.types.Boolescher Wert
utm_source
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
utm_medium
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
utm_campaign
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
sensitive_content
Optionales Feld ui.admin.api_docs.common.types.Boolescher Wert
http_status_code
Optionales Feld ui.admin.api_docs.common.types.Ganzzahl
Erlaubte Werte: 301, 302, 307, 308
app_linking_is_enabled
Optionales Feld ui.admin.api_docs.common.types.Boolescher Wert
cloaking_is_enabled
Optionales Feld ui.admin.api_docs.common.types.Boolescher Wert
cloaking_title
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
cloaking_meta_description
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
cloaking_custom_js
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
cloaking_favicon
Optionales Feld ui.admin.api_docs.common.types.Datei
cloaking_opengraph
Optionales Feld ui.admin.api_docs.common.types.Datei
targeting_type
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Erlaubte Werte: continent_code, country_code, city_name, device_type, browser_language, rotation, os_name, browser_name
targeting_continent_code_key[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = continent_code
targeting_continent_code_value[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = continent_code
targeting_country_code_key[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = country_code
targeting_country_code_value[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = country_code
targeting_city_name_key[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = city_name
targeting_city_name_value[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = city_name
targeting_device_type_key[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = device_type
targeting_device_type_value[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = device_type
targeting_browser_language_key[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = browser_language
targeting_browser_language_value[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = browser_language
targeting_rotation_key[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = rotation
targeting_rotation_value[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = rotation
targeting_os_name_key[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = os_name
targeting_os_name_value[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = os_name
targeting_browser_name_key[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = browser_name
targeting_browser_name_value[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = browser_name
Antwortbeispiel
{
    "data": {
        "id": 1
    }
}

Endpunkt
POST https://rqrcode.com/api/links/{link_id}
Beispiel
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'
Parameter
Parameter Weitere Details Beschreibung
location_url
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Ziel-URL.
url
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Der generierte URL-Alias. Leer lassen für einen zufälligen.
domain_id
Optionales Feld ui.admin.api_docs.common.types.Ganzzahl
project_id
Optionales Feld ui.admin.api_docs.common.types.Ganzzahl
pixels_ids
Optionales Feld ui.admin.api_docs.common.types.Ganzzahl
schedule
Optionales Feld ui.admin.api_docs.common.types.Boolescher Wert
start_date
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: schedule = true
end_date
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: schedule = true
pageviews_limit
Optionales Feld ui.admin.api_docs.common.types.Ganzzahl
expiration_url
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
password
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
forward_query_parameters_is_enabled
Optionales Feld ui.admin.api_docs.common.types.Boolescher Wert
utm_source
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
utm_medium
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
utm_campaign
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
sensitive_content
Optionales Feld ui.admin.api_docs.common.types.Boolescher Wert
http_status_code
Optionales Feld ui.admin.api_docs.common.types.Ganzzahl
Erlaubte Werte: 301, 302, 307, 308
app_linking_is_enabled
Optionales Feld ui.admin.api_docs.common.types.Boolescher Wert
cloaking_is_enabled
Optionales Feld ui.admin.api_docs.common.types.Boolescher Wert
cloaking_title
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
cloaking_meta_description
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
cloaking_custom_js
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
cloaking_favicon
Optionales Feld ui.admin.api_docs.common.types.Datei
cloaking_opengraph
Optionales Feld ui.admin.api_docs.common.types.Datei
targeting_type
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Erlaubte Werte: continent_code, country_code, city_name, device_type, browser_language, rotation, os_name, browser_name
targeting_continent_code_key[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = continent_code
targeting_continent_code_value[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = continent_code
targeting_country_code_key[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = country_code
targeting_country_code_value[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = country_code
targeting_city_name_key[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = city_name
targeting_city_name_value[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = city_name
targeting_device_type_key[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = device_type
targeting_device_type_value[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = device_type
targeting_browser_language_key[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = browser_language
targeting_browser_language_value[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = browser_language
targeting_rotation_key[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = rotation
targeting_rotation_value[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = rotation
targeting_os_name_key[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = os_name
targeting_os_name_value[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = os_name
targeting_browser_name_key[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = browser_name
targeting_browser_name_value[index]
Optionales Feld ui.admin.api_docs.common.types.Zeichenkette
Verfügbar, wenn: targeting_type = browser_name
Antwortbeispiel
{
    "data": {
        "id": 1
    }
}

Endpunkt
DELETE https://rqrcode.com/api/links/{link_id}
Beispiel
curl --request DELETE \
--url 'https://rqrcode.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}'
Parameter
Kein zusätzlicher Parameter.
Antwortbeispiel
Leerer 200-Response-Body bei Erfolg.