# Developers
**Source:** https://de.urlkai.com/fr/developers
**Language:** German

---

Beginn 

Authentifizierung 

Limite de débit 

Gestion des réponses 

###### Kampagnen

Kampagnen auflisten 

Créer une campagne 

Zuweisen eines Links zu einer Kampagne 

Mettre à jour la campagne 

Kampagne löschen

###### Canaux

Kanäle auflisten 

Auflisten von Kanalelementen 

Créer une chaîne 

Zuweisen eines Elements zu einem Kanal 

Mettre à jour la chaîne 

Kanal löschen

###### Codes QR

QR-Codes auflisten 

Obtenez un seul code QR 

Créer un code QR 

QR-Code aktualisieren 

Supprimer un code QR

###### Compte

Obtenir un compte 

Compte mis à jour

###### Domaines de marque

Auflisten von Markendomains 

Erstellen einer Markendomain 

Mettre à jour le domaine 

Domäne löschen

###### Dateien

Dateien auflisten 

Hochladen einer Datei

###### Liens

Links auflisten 

Holen Sie sich einen einzelnen Link 

Raccourcir un lien 

Mettre à jour le lien 

Supprimer un lien

###### Bildpunkte

Pixel auflisten 

Erstellen eines Pixels 

Mettre à jour le pixel 

Pixel löschen

###### Splash personnalisé

Benutzerdefinierte Splash auflisten

###### Überlagerungen CTA

CTA-Overlays auflisten

#### Référence API pour les développeurs

###### Beginn

Une clé API est requise pour que les demandes soient traitées par le système. Une fois qu'un utilisateur s'inscrit, une clé API est automatiquement générée pour cet utilisateur. La clé API doit être envoyée avec chaque requête (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, il y aura une erreur. Assurez-vous de garder votre clé API secrète pour éviter les abus.

###### Authentifizierung

Pour vous authentifier auprès du système API, vous devez envoyer votre clé API en tant que jeton d'autorisation avec chaque demande. Vous pouvez voir un exemple de code ci-dessous.

cURL
PHP
Node.js
Python
C#

```
curl --location --request POST 'https://urlkai.com/api/account' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
```

```
$curl = curl_init();
curl_setopt_array($curl, Array(
    CURLOPT_URL => "https://urlkai.com/api/account",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "POST",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
));

$response = curl_exec($curl);
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'method': 'POST',
    'url': 'https://urlkai.com/api/account',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    Körper: ''
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
URL = "https://urlkai.com/api/account"
Nutzlast = {}
Kopfzeilen = {
  'Authorization': 'Inhaber YOURAPIKEY',
  'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("ABRUFEN", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://urlkai.com/api/account");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Limite de débit

Notre API dispose d'un limiteur de débit pour se protéger contre les pics de demandes afin de maximiser sa stabilité. Notre limiteur de débit est actuellement limité à 30 requêtes par 1 minute. Bitte beachten Sie, dass sich der Tarif je nach abonniertem Plan ändern kann.

Plusieurs en-têtes seront envoyés avec la réponse et ceux-ci peuvent être examinés pour déterminer diverses informations sur la demande.

```
X-RateLimit-Limit: 30  
X-RateLimit-Remaining: 29  
X-RateLimit-Reset: TIMESTAMP
```

###### Gestion des réponses

Toutes les réponses de l'API sont renvoyées au format JSON par défaut. Pour convertir cela en données utilisables, la fonction appropriée devra être utilisée en fonction de la langue. En PHP, la fonction json\_decode() peut être utilisée pour convertir les données en objet (par défaut) ou en tableau (définissez le deuxième paramètre sur true). Il est très important de vérifier la clé d'erreur car elle indique s'il y a eu une erreur ou non. Vous pouvez également vérifier le code d'en-tête.

```
{
    "error": 1,
    "message": "An error occurred"
}
```

---

#### Kampagnen - Open in ChatGPT - Open in Claude

###### Kampagnen auflisten

ERHALTEN  `https://urlkai.com/api/campaigns?limit=2&page=1`

Um Ihre Kampagnen über die API abzurufen, können Sie diesen Endpunkt verwenden. Sie können Daten auch filtern (weitere Informationen finden Sie in der Tabelle).

| **Paramètre** | **La description** |
| --- | --- |
| Grenze | (fakultativ) Datenergebnis pro Seite |
| Seite | (fakultativ) Aktueller Seitenaufruf |

cURL
PHP
Node.js
Python
C#

```
curl --location --request GET 'https://urlkai.com/api/campaigns?limit=2&page=1' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL = > "https://urlkai.com/api/campaigns?limit=2&page=1",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "HOLEN",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'Methode': 'ABRUFEN',
    'url': 'https://urlkai.com/api/campaigns?limit=2&page=1',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
url = "https://urlkai.com/api/campaigns?limit=2&page=1"
Nutzlast = {}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("ABRUFEN", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://urlkai.com/api/campaigns?limit=2&page=1");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": "0",
    "Daten": {
        "Ergebnis": 2,
        "pro Seite": 2,
        "aktuelleSeite": 1,
        "nächste Seite": 1,
        "maxpage": 1,
        "Kampagnen": [
            {
                "id": 1,
                "name": "Beispielkampagne",
                "public": falsch,
                "rotator": falsch,
                "list": "https:\/\/domain.com\/u\/admin\/list-1"
            },
            {
                "id": 2,
                "domain": "Facebook-Kampagne",
                "public": wahr,
                "rotator": "https:\/\/domain.com\/r\/test",
                "list": "https:\/\/domain.com\/u\/admin\/test-2"
            }
        ]
    }
}
```

###### Créer une campagne

BEREITSTELLEN  `https://urlkai.com/api/campaign/add`

Mit diesem Endpunkt kann eine Kampagne hinzugefügt werden.

| **Paramètre** | **La description** |
| --- | --- |
| Name | (fakultativ) Name der Kampagne |
| Nacktschnecke | (fakultativ) Rotator-Butzen |
| Öffentlich | (fakultativ) Zugang |

cURL
PHP
Node.js
Python
C#

```
curl --location --request POST 'https://urlkai.com/api/campaign/add' \
--header 'Authorization: Bearer YOURAPIKEY' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "New Campaign",
    "slug": "new-campaign",
    "public": true
}'
```

```
$curl = curl_init();

curl_setopt_array($curl, array(
    CURLOPT_URL => "https://urlkai.com/api/campaign/add",
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_MAXREDIRS => 2,
    CURLOPT_TIMEOUT => 10,
    CURLOPT_FOLLOWLOCATION => true,
    CURLOPT_CUSTOMREQUEST => "POST",
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer YOURAPIKEY",
        "Content-Type: application/json",
    ],
    CURLOPT_POSTFIELDS => 
        '{
	    "name": "New Campaign",
	    "slug": "new-campaign",
	    "public": true
	}',
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
```

```
var request = require('request');
var options = {
    'method': 'POST',
    'url': 'https://urlkai.com/api/campaign/add',
    'headers': {
        'Authorization': 'Bearer YOURAPIKEY',
        'Content-Type': 'application/json'
    },
    body: JSON.stringify({
    "name": "New Campaign",
    "slug": "new-campaign",
    "public": true
}),
};
request(options, function (error, response) {
    if (error) throw new Error(error);
    console.log(response.body);
});
```

```
import requests
url = "https://urlkai.com/api/campaign/add"
payload = {
    "name": "New Campaign",
    "slug": "new-campaign",
    "public": true
}
headers = {
    'Authorization': 'Bearer YOURAPIKEY',
    'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, json=payload)
print(response.text)
```

```
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://urlkai.com/api/campaign/add");
request.Headers.Add("Authorization", "Bearer YOURAPIKEY");
var content = new StringContent("{
    "name": "New Campaign",
    "slug": "new-campaign",
    "public": true
}", System.Text.Encoding.UTF8, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "error": 0,
    "id": 3,
    "Domäne": "Neue Kampagne",
    "öffentlich": wahr,
    "Rotator": "https:\/\/domain.com\/r\/new-campaign",
    "list": "https:\/\/domain.com\/u\/admin\/new-campaign-3"
}
```

###### Zuweisen eines Links zu einer Kampagne

BEREITSTELLEN  `https://urlkai.com/api/campaign/:campaignid/assign/:linkid`

Über diesen Endpunkt kann einer Kampagne ein Kurzlink zugeordnet werden. Der Endpunkt benötigt die Kampagnen-ID und die Kurzlink-ID.

cURL
PHP
Node.js
Python
C#

```
curl --location --request POST 'https://urlkai.com/api/campaign/:campaignid/assign/:linkid' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL = > "https://urlkai.com/api/campaign/:campaignid/assign/:linkid",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "POST",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'method': 'POST',
    'url': 'https://urlkai.com/api/campaign/:campaignid/assign/:linkid',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
url = "https://urlkai.com/api/campaign/:campaignid/assign/:linkid"
Nutzlast = {}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("POST", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://urlkai.com/api/campaign/:campaignid/assign/:linkid");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": 0,
    "message": "Link erfolgreich zur Kampagne hinzugefügt."
}
```

###### Mettre à jour la campagne

STELLEN  `https://urlkai.com/api/campaign/:id/update`

Um eine Kampagne zu aktualisieren, müssen Sie gültige Daten in JSON über eine PUT-Anfrage senden. Die Daten müssen als Rohtext Ihrer Anfrage gesendet werden, wie unten gezeigt. Das folgende Beispiel zeigt alle Parameter, die Sie senden können, aber Sie müssen nicht alle senden (weitere Informationen finden Sie in der Tabelle).

| **Paramètre** | **La description** |
| --- | --- |
| Name | (erforderlich) Name der Kampagne |
| Nacktschnecke | (fakultativ) Rotator-Butzen |
| Öffentlich | (fakultativ) Zugang |

cURL
PHP
Node.js
Python
C#

```
curl --location --request PUT 'https://urlkai.com/api/campaign/:id/update' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
--data-raw '{
    "name": "Twitter-Kampagne",
    "slug": "Twitter-Kampagne",
    "public": wahr
}'
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL = > "https://urlkai.com/api/campaign/:id/update",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "SETZEN",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    CURLOPT_POSTFIELDS = > 
        '{
	    "name": "Twitter-Kampagne",
	    "slug": "Twitter-Kampagne",
	    "public": wahr
	}',
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'method': 'SETZEN',
    'url': 'https://urlkai.com/api/campaign/:id/update',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    Text: JSON.stringify({
    "name": "Twitter-Kampagne",
    "slug": "Twitter-Kampagne",
    "public": wahr
}),
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
url = "https://urlkai.com/api/campaign/:id/update"
Nutzlast = {
    "name": "Twitter-Kampagne",
    "slug": "Twitter-Kampagne",
    "public": wahr
}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("SETZEN", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Put, "https://urlkai.com/api/campaign/:id/update");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{
    "name": "Twitter-Kampagne",
    "slug": "Twitter-Kampagne",
    "public": wahr
}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": 0,
    "id": 3,
    "domain": "Twitter-Kampagne",
    "public": wahr,
    "rotator": "https:\/\/domain.com\/r\/twitter-kampagne",
    "list": "https:\/\/domain.com\/u\/admin\/twitter-campaign-3"
}
```

###### Kampagne löschen

LÖSCHEN  `https://urlkai.com/api/campaign/:id/delete`

Um eine Kampagne zu löschen, müssen Sie eine DELETE-Anfrage senden.

cURL
PHP
Node.js
Python
C#

```
curl --location --request DELETE 'https://urlkai.com/api/campaign/:id/delete' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL = > "https://urlkai.com/api/campaign/:id/delete",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "LÖSCHEN",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'method': 'LÖSCHEN',
    'url': 'https://urlkai.com/api/campaign/:id/delete',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
URL = "https://urlkai.com/api/campaign/:id/delete"
Nutzlast = {}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("LÖSCHEN", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Delete, "https://urlkai.com/api/campaign/:id/delete");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": 0,
    "message": "Die Kampagne wurde erfolgreich gelöscht."
}
```

---

#### Canaux - Open in ChatGPT - Open in Claude

###### Kanäle auflisten

ERHALTEN  `https://urlkai.com/api/channels?limit=2&page=1`

Um Ihre Kanäle über die API abzurufen, können Sie diesen Endpunkt verwenden. Sie können Daten auch filtern (weitere Informationen finden Sie in der Tabelle).

| **Paramètre** | **La description** |
| --- | --- |
| Grenze | (fakultativ) Datenergebnis pro Seite |
| Seite | (fakultativ) Aktueller Seitenaufruf |

cURL
PHP
Node.js
Python
C#

```
curl --location --request GET 'https://urlkai.com/api/channels?limit=2&page=1' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL = > "https://urlkai.com/api/channels?limit=2&page=1",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "HOLEN",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'Methode': 'ABRUFEN',
    'url': 'https://urlkai.com/api/channels?limit=2&page=1',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
url = "https://urlkai.com/api/channels?limit=2&page=1"
Nutzlast = {}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("ABRUFEN", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://urlkai.com/api/channels?limit=2&page=1");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": "0",
    "Daten": {
        "Ergebnis": 2,
        "pro Seite": 2,
        "aktuelleSeite": 1,
        "nächste Seite": 1,
        "maxpage": 1,
        "Kanäle": [
            {
                "id": 1,
                "name": "Kanal 1",
                "description": "Beschreibung von Kanal 1",
                "color": "#000000",
                "sternchen": wahr
            },
            {
                "id": 2,
                "name": "Kanal 2",
                "description": "Beschreibung von Kanal 2",
                "color": "#FF0000",
                "stared": falsch
            }
        ]
    }
}
```

###### Auflisten von Kanalelementen

ERHALTEN  `https://urlkai.com/api/channel/:id?limit=1&page=1`

Um Artikel in ausgewählten Kanälen über die API abzurufen, können Sie diesen Endpunkt verwenden. Sie können Daten auch filtern (weitere Informationen finden Sie in der Tabelle).

| **Paramètre** | **La description** |
| --- | --- |
| Grenze | (fakultativ) Datenergebnis pro Seite |
| Seite | (fakultativ) Aktueller Seitenaufruf |

cURL
PHP
Node.js
Python
C#

```
curl --location --request GET 'https://urlkai.com/api/channel/:id?limit=1&page=1' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL = > "https://urlkai.com/api/channel/:id?limit=1&page=1",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "HOLEN",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'Methode': 'ABRUFEN',
    'url': 'https://urlkai.com/api/channel/:id?limit=1&page=1',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
url = "https://urlkai.com/api/channel/:id?limit=1&page=1"
Nutzlast = {}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("ABRUFEN", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://urlkai.com/api/channel/:id?limit=1&page=1");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": "0",
    "Daten": {
        "Ergebnis": 2,
        "pro Seite": 2,
        "aktuelleSeite": 1,
        "nächste Seite": 1,
        "maxpage": 1,
        "Artikel": [
            {
                "type": "Verknüpfungen",
                "id": 1,
                "title": "Mein Beispiel-Link",
                "preview": "https:\/\/google.com",
                "link": "https:\/\/urlkai.com\/google",
                "Datum": "12.05.2022"
            },
            {
                "type": "bio",
                "id": 1,
                "title": "Meine Beispiel-Biografie",
                "preview": "https:\/\/urlkai.com\/mybio",
                "link": "https:\/\/urlkai.com\/mybio",
                "Datum": "01.06.2022"
            }
        ]
    }
}
```

###### Créer une chaîne

BEREITSTELLEN  `https://urlkai.com/api/channel/add`

Mit diesem Endpunkt kann ein Kanal hinzugefügt werden.

| **Paramètre** | **La description** |
| --- | --- |
| Name | (erforderlich) Name des Kanals |
| Beschreibung | (fakultativ) Beschreibung des Kanals |
| Farbe | (fakultativ) Farbe des Kanal-Badges (HEX) |
| mit Sternzeichen versehen | (fakultativ) Den Kanal mit einem Stern versehen oder nicht (wahr oder falsch) |

cURL
PHP
Node.js
Python
C#

```
curl --location --request POST 'https://urlkai.com/api/channel/add' \
--header 'Authorization: Bearer YOURAPIKEY' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "New Channel",
    "description": "my new channel",
    "color": "#000000",
    "starred": true
}'
```

```
$curl = curl_init();

curl_setopt_array($curl, array(
    CURLOPT_URL => "https://urlkai.com/api/channel/add",
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_MAXREDIRS => 2,
    CURLOPT_TIMEOUT => 10,
    CURLOPT_FOLLOWLOCATION => true,
    CURLOPT_CUSTOMREQUEST => "POST",
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer YOURAPIKEY",
        "Content-Type: application/json",
    ],
    CURLOPT_POSTFIELDS => 
        '{
	    "name": "New Channel",
	    "description": "my new channel",
	    "color": "#000000",
	    "starred": true
	}',
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
```

```
var request = require('request');
var options = {
    'method': 'POST',
    'url': 'https://urlkai.com/api/channel/add',
    'headers': {
        'Authorization': 'Bearer YOURAPIKEY',
        'Content-Type': 'application/json'
    },
    body: JSON.stringify({
    "name": "New Channel",
    "description": "my new channel",
    "color": "#000000",
    "starred": true
}),
};
request(options, function (error, response) {
    if (error) throw new Error(error);
    console.log(response.body);
});
```

```
import requests
url = "https://urlkai.com/api/channel/add"
payload = {
    "name": "New Channel",
    "description": "my new channel",
    "color": "#000000",
    "starred": true
}
headers = {
    'Authorization': 'Bearer YOURAPIKEY',
    'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, json=payload)
print(response.text)
```

```
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://urlkai.com/api/channel/add");
request.Headers.Add("Authorization", "Bearer YOURAPIKEY");
var content = new StringContent("{
    "name": "New Channel",
    "description": "my new channel",
    "color": "#000000",
    "starred": true
}", System.Text.Encoding.UTF8, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "error": 0,
    "id": 3,
    "name": "Neuer Kanal",
    "Beschreibung": "Mein neuer Kanal",
    "Farbe": "#000000",
    "Starred": Wahr
}
```

###### Zuweisen eines Elements zu einem Kanal

BEREITSTELLEN  `https://urlkai.com/api/channel/:channelid/assign/:type/:itemid`

Ein Artikel kann einem beliebigen Kanal zugewiesen werden, indem eine Anfrage mit der Kanal-ID, dem Artikeltyp (Links, Biografie oder QR) und der Artikel-ID gesendet wird.

| **Paramètre** | **La description** |
| --- | --- |
| :channelid | (erforderlich) Kanal-ID |
| :Art | (erforderliche) Links oder Biografie oder QR |
| :itemid | (erforderlich) Artikel-ID |

cURL
PHP
Node.js
Python
C#

```
curl --location --request POST 'https://urlkai.com/api/channel/:channelid/assign/:type/:itemid' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL = > "https://urlkai.com/api/channel/:channelid/assign/:type/:itemid",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "POST",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'method': 'POST',
    'url': 'https://urlkai.com/api/channel/:channelid/assign/:type/:itemid',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
url = "https://urlkai.com/api/channel/:channelid/assign/:type/:itemid"
Nutzlast = {}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("POST", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://urlkai.com/api/channel/:channelid/assign/:type/:itemid");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": 0,
    "message": "Element erfolgreich zum Kanal hinzugefügt."
}
```

###### Mettre à jour la chaîne

STELLEN  `https://urlkai.com/api/channel/:id/update`

Um einen Kanal zu aktualisieren, müssen Sie gültige Daten in JSON über eine PUT-Anforderung senden. Die Daten müssen als Rohtext Ihrer Anfrage gesendet werden, wie unten gezeigt. Das folgende Beispiel zeigt alle Parameter, die Sie senden können, aber Sie müssen nicht alle senden (weitere Informationen finden Sie in der Tabelle).

| **Paramètre** | **La description** |
| --- | --- |
| Name | (fakultativ) Name des Kanals |
| Beschreibung | (fakultativ) Beschreibung des Kanals |
| Farbe | (fakultativ) Farbe des Kanal-Badges (HEX) |
| mit Sternzeichen versehen | (fakultativ) Den Kanal mit einem Stern versehen oder nicht (wahr oder falsch) |

cURL
PHP
Node.js
Python
C#

```
curl --location --request PUT 'https://urlkai.com/api/channel/:id/update' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
--data-raw '{
    "name": "Acme Corp",
    "description": "Kanal für Artikel für Acme Corp",
    "color": "#FFFFFF",
    "stared": falsch
}'
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL = > "https://urlkai.com/api/channel/:id/update",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "SETZEN",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    CURLOPT_POSTFIELDS = > 
        '{
	    "name": "Acme Corp",
	    "description": "Kanal für Artikel für Acme Corp",
	    "color": "#FFFFFF",
	    "stared": falsch
	}',
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'method': 'SETZEN',
    'url': 'https://urlkai.com/api/channel/:id/update',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    Text: JSON.stringify({
    "name": "Acme Corp",
    "description": "Kanal für Artikel für Acme Corp",
    "color": "#FFFFFF",
    "stared": falsch
}),
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
url = "https://urlkai.com/api/channel/:id/update"
Nutzlast = {
    "name": "Acme Corp",
    "description": "Kanal für Artikel für Acme Corp",
    "color": "#FFFFFF",
    "stared": falsch
}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("SETZEN", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Put, "https://urlkai.com/api/channel/:id/update");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{
    "name": "Acme Corp",
    "description": "Kanal für Artikel für Acme Corp",
    "color": "#FFFFFF",
    "stared": falsch
}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": 0,
    "message": "Der Kanal wurde erfolgreich aktualisiert."
}
```

###### Kanal löschen

LÖSCHEN  `https://urlkai.com/api/channel/:id/delete`

Um einen Kanal zu löschen, müssen Sie eine DELETE-Anfrage senden. Alle Elemente werden ebenfalls nicht zugewiesen.

cURL
PHP
Node.js
Python
C#

```
curl --location --request DELETE 'https://urlkai.com/api/channel/:id/delete' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL = > "https://urlkai.com/api/channel/:id/delete",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "LÖSCHEN",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'method': 'LÖSCHEN',
    'url': 'https://urlkai.com/api/channel/:id/delete',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
url = "https://urlkai.com/api/channel/:id/delete"
Nutzlast = {}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("LÖSCHEN", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Delete, "https://urlkai.com/api/channel/:id/delete");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": 0,
    "message": "Der Kanal wurde erfolgreich gelöscht."
}
```

---

#### Codes QR - Open in ChatGPT - Open in Claude

###### QR-Codes auflisten

ERHALTEN  `https://urlkai.com/api/qr?limit=2&page=1`

Pour obtenir vos codes QR via l'API, vous pouvez utiliser ce point de terminaison. Vous pouvez également filtrer les données (voir le tableau pour plus d'informations).

| **Paramètre** | **La description** |
| --- | --- |
| Grenze | (fakultativ) Datenergebnis pro Seite |
| Seite | (fakultativ) Aktueller Seitenaufruf |

cURL
PHP
Node.js
Python
C#

```
curl --location --request GET 'https://urlkai.com/api/qr?limit=2&page=1' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL = > "https://urlkai.com/api/qr?limit=2&page=1",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "HOLEN",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'Methode': 'ABRUFEN',
    'url': 'https://urlkai.com/api/qr?limit=2&page=1',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
url = "https://urlkai.com/api/qr?limit=2&page=1"
Nutzlast = {}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("ABRUFEN", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://urlkai.com/api/qr?limit=2&page=1");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": "0",
    "Daten": {
        "Ergebnis": 2,
        "pro Seite": 2,
        "aktuelleSeite": 1,
        "nächste Seite": 1,
        "maxpage": 1,
        "qrs": [
            {
                "id": 2,
                "link": "https:\/\/urlkai.com\/qr\/a2d5e",
                "scans": 0,
                "name": "Google",
                "date": "2020-11-10 18:01:43"
            },
            {
                "id": 1,
                "link": "https:\/\/urlkai.com\/qr\/b9edfe",
                "scans": 5,
                "name": "Google Kanada",
                "date": "2020-11-10 18:00:25"
            }
        ]
    }
}
```

###### Obtenez un seul code QR

ERHALTEN  `https://urlkai.com/api/qr/:id`

Pour obtenir les détails d'un seul code QR via l'API, vous pouvez utiliser ce point de terminaison.

cURL
PHP
Node.js
Python
C#

```
curl --location --request GET 'https://urlkai.com/api/qr/:id' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL => "https://urlkai.com/api/qr/:id",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "HOLEN",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'Methode': 'ABRUFEN',
    'url': 'https://urlkai.com/api/qr/:id',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
url = "https://urlkai.com/api/qr/:id"
Nutzlast = {}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("ABRUFEN", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://urlkai.com/api/qr/:id");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": 0,
    "details": {
        "id": 1,
        "link": "https:\/\/urlkai.com\/qr\/b9edfe",
        "scans": 5,
        "name": "Google Kanada",
        "date": "2020-11-10 18:00:25"
    },
    "Daten": {
        "Klicks": 1,
        "uniqueClicks": 1,
        "topLänder": {
            "Unbekannt": "1"
        },
        "topReferrer": {
            "Direkt, E-Mail und andere": "1"
        },
        "topBrowsers": {
            "Chrom": "1"
        },
        "topOs": {
            "Windows 10": "1"
        },
        "socialCount": {
            "facebook": 0,
            "twitter": 0,
            "Instagram": 0
        }
    }
}
```

###### Créer un code QR

BEREITSTELLEN  `https://urlkai.com/api/qr/add`

Um einen QR-Code zu erstellen, müssen Sie gültige Daten in JSON über eine POST-Anfrage senden. Die Daten müssen als Rohtext Ihrer Anfrage gesendet werden, wie unten gezeigt. Das folgende Beispiel zeigt alle Parameter, die Sie senden können, aber Sie müssen nicht alle senden (weitere Informationen finden Sie in der Tabelle).

| **Paramètre** | **La description** |
| --- | --- |
| Art | (erforderlicher) Text | VCARD | Verknüpfung | E-Mail | Telefon | SMS | WLAN |
| Daten | (erforderlich) Daten, die in den QR-Code eingebettet werden sollen. Die Daten können je nach Typ eine Zeichenfolge oder ein Array sein |
| Hintergrund | (fakultativ) RGB-Farbe z.B. RGB (255,255,255) |
| Vordergrund | (fakultativ) RGB-Farbe z.B. rgb(0,0,0) |
| Logo | (fakultativ) Pfad zum Logo entweder png oder jpg |
| Name | (fakultativ) QR-Code-Name |

cURL
PHP
Node.js
Python
C#

```
curl --location --request POST 'https://urlkai.com/api/qr/add' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
--data-raw '{
    "type": "Verknüpfung",
    "data": "https:\/\/google.com",
    "background": "rgb(255,255,255)",
    "Vordergrund": "RGB(0,0,0)",
    "logo": "https:\/\/site.com\/logo.png",
    "name": "QR-Code-API"
}'
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL = > "https://urlkai.com/api/qr/add",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "POST",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    CURLOPT_POSTFIELDS = > 
        '{
	    "type": "Verknüpfung",
	    "data": "https:\/\/google.com",
	    "background": "rgb(255,255,255)",
	    "Vordergrund": "RGB(0,0,0)",
	    "logo": "https:\/\/site.com\/logo.png",
	    "name": "QR-Code-API"
	}',
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'method': 'POST',
    'url': 'https://urlkai.com/api/qr/add',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    Text: JSON.stringify({
    "type": "Verknüpfung",
    "data": "https:\/\/google.com",
    "background": "rgb(255,255,255)",
    "Vordergrund": "RGB(0,0,0)",
    "logo": "https:\/\/site.com\/logo.png",
    "name": "QR-Code-API"
}),
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
url = "https://urlkai.com/api/qr/add"
Nutzlast = {
    "type": "Verknüpfung",
    "data": "https://google.com",
    "background": "rgb(255,255,255)",
    "Vordergrund": "RGB(0,0,0)",
    "logo": "https://site.com/logo.png",
    "name": "QR-Code-API"
}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("POST", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://urlkai.com/api/qr/add");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{
    "type": "Verknüpfung",
    "data": "https:\/\/google.com",
    "background": "rgb(255,255,255)",
    "Vordergrund": "RGB(0,0,0)",
    "logo": "https:\/\/site.com\/logo.png",
    "name": "QR-Code-API"
}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": 0,
    "id": 3,
    "link": "https:\/\/urlkai.com\/qr\/a58f79"
}
```

###### QR-Code aktualisieren

STELLEN  `https://urlkai.com/api/qr/:id/update`

Pour mettre à jour un QR Code, vous devez envoyer une donnée valide au format JSON via une requête PUT. Les données doivent être envoyées en tant que corps brut de votre demande, comme indiqué ci-dessous. L'exemple ci-dessous montre tous les paramètres que vous pouvez envoyer mais vous n'êtes pas obligé de tous les envoyer (voir le tableau pour plus d'informations).

| **Paramètre** | **La description** |
| --- | --- |
| Daten | (erforderlich) Daten, die in den QR-Code eingebettet werden sollen. Die Daten können je nach Typ eine Zeichenfolge oder ein Array sein |
| Hintergrund | (fakultativ) RGB-Farbe z.B. RGB (255,255,255) |
| Vordergrund | (fakultativ) RGB-Farbe z.B. rgb(0,0,0) |
| Logo | (fakultativ) Pfad zum Logo entweder png oder jpg |

cURL
PHP
Node.js
Python
C#

```
curl --location --request PUT 'https://urlkai.com/api/qr/:id/update' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
--data-raw '{
    "type": "Verknüpfung",
    "data": "https:\/\/google.com",
    "background": "rgb(255,255,255)",
    "Vordergrund": "RGB(0,0,0)",
    "logo": "https:\/\/site.com\/logo.png"
}'
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL => "https://urlkai.com/api/qr/:id/update",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "SETZEN",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    CURLOPT_POSTFIELDS = > 
        '{
	    "type": "Verknüpfung",
	    "data": "https:\/\/google.com",
	    "background": "rgb(255,255,255)",
	    "Vordergrund": "RGB(0,0,0)",
	    "logo": "https:\/\/site.com\/logo.png"
	}',
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'method': 'SETZEN',
    'url': 'https://urlkai.com/api/qr/:id/update',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    Text: JSON.stringify({
    "type": "Verknüpfung",
    "data": "https:\/\/google.com",
    "background": "rgb(255,255,255)",
    "Vordergrund": "RGB(0,0,0)",
    "logo": "https:\/\/site.com\/logo.png"
}),
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
url = "https://urlkai.com/api/qr/:id/update"
Nutzlast = {
    "type": "Verknüpfung",
    "data": "https://google.com",
    "background": "rgb(255,255,255)",
    "Vordergrund": "RGB(0,0,0)",
    "logo": "https://site.com/logo.png"
}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("SETZEN", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Put, "https://urlkai.com/api/qr/:id/update");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{
    "type": "Verknüpfung",
    "data": "https:\/\/google.com",
    "background": "rgb(255,255,255)",
    "Vordergrund": "RGB(0,0,0)",
    "logo": "https:\/\/site.com\/logo.png"
}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": 0,
    "message": "QR wurde erfolgreich aktualisiert."
}
```

###### Supprimer un code QR

LÖSCHEN  `https://urlkai.com/api/qr/:id/delete`

Pour supprimer un code QR, vous devez envoyer une demande DELETE.

cURL
PHP
Node.js
Python
C#

```
curl --location --request DELETE 'https://urlkai.com/api/qr/:id/delete' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL = > "https://urlkai.com/api/qr/:id/delete",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "LÖSCHEN",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'method': 'LÖSCHEN',
    'url': 'https://urlkai.com/api/qr/:id/delete',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
url = "https://urlkai.com/api/qr/:id/delete"
Nutzlast = {}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("LÖSCHEN", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Delete, "https://urlkai.com/api/qr/:id/delete");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": 0,
    "message": "QR-Code wurde erfolgreich gelöscht."
}
```

---

#### Compte - Open in ChatGPT - Open in Claude

###### Obtenir un compte

ERHALTEN  `https://urlkai.com/api/account`

Pour obtenir des informations sur le compte, vous pouvez envoyer une demande à ce point de terminaison et il renverra des données sur le compte.

cURL
PHP
Node.js
Python
C#

```
curl --location --request GET 'https://urlkai.com/api/account' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL => "https://urlkai.com/api/account",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "HOLEN",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'Methode': 'ABRUFEN',
    'url': 'https://urlkai.com/api/account',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
URL = "https://urlkai.com/api/account"
Nutzlast = {}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("ABRUFEN", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://urlkai.com/api/account");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": 0,
    "Daten": {
        "id": 1,
        "E-Mail": " [E-Mail geschützt] ",
        "Benutzername": "Musterbenutzer",
        "avatar": "https:\/\/domain.com\/content\/avatar.png",
        "status": "pro",
        "expires": "2022-11-15 15:00:00",
        "registriert": "2020-11-10 18:01:43"
    }
}
```

###### Compte mis à jour

STELLEN  `https://urlkai.com/api/account/update`

Pour mettre à jour les informations sur le compte, vous pouvez envoyer une demande à ce point de terminaison et il mettra à jour les données sur le compte.

cURL
PHP
Node.js
Python
C#

```
curl --location --request PUT 'https://urlkai.com/api/account/update' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
--data-raw '{
    "E-Mail": " [E-Mail geschützt] ",
    "password": "neuesPasswort"
}'
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL = > "https://urlkai.com/api/account/update",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "SETZEN",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    CURLOPT_POSTFIELDS = > 
        '{
	    "E-Mail": " [E-Mail geschützt] ",
	    "password": "neuesPasswort"
	}',
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'method': 'SETZEN',
    'url': 'https://urlkai.com/api/account/update',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    Text: JSON.stringify({
    "E-Mail": " [E-Mail geschützt] ",
    "password": "neuesPasswort"
}),
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
URL = "https://urlkai.com/api/account/update"
Nutzlast = {
    "E-Mail": " [E-Mail geschützt] ",
    "password": "neuesPasswort"
}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("SETZEN", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Put, "https://urlkai.com/api/account/update");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{
    "E-Mail": " [E-Mail geschützt] ",
    "password": "neuesPasswort"
}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": 0,
    "message": "Das Konto wurde erfolgreich aktualisiert."
}
```

---

#### Domaines de marque - Open in ChatGPT - Open in Claude

###### Auflisten von Markendomains

ERHALTEN  `https://urlkai.com/api/domains?limit=2&page=1`

Um Ihre Markendomains über die API abzurufen, können Sie diesen Endpunkt verwenden. Sie können Daten auch filtern (weitere Informationen finden Sie in der Tabelle).

| **Paramètre** | **La description** |
| --- | --- |
| Grenze | (fakultativ) Datenergebnis pro Seite |
| Seite | (fakultativ) Aktueller Seitenaufruf |

cURL
PHP
Node.js
Python
C#

```
curl --location --request GET 'https://urlkai.com/api/domains?limit=2&page=1' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL = > "https://urlkai.com/api/domains?limit=2&page=1",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "HOLEN",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'Methode': 'ABRUFEN',
    'url': 'https://urlkai.com/api/domains?limit=2&page=1',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
url = "https://urlkai.com/api/domains?limit=2&page=1"
Nutzlast = {}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("ABRUFEN", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://urlkai.com/api/domains?limit=2&page=1");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": "0",
    "Daten": {
        "Ergebnis": 2,
        "pro Seite": 2,
        "aktuelleSeite": 1,
        "nächste Seite": 1,
        "maxpage": 1,
        "Domänen": [
            {
                "id": 1,
                "Domäne": "https:\/\/domain1.com",
                "redirectroot": "https:\/\/rootdomain.com",
                "redirect404": "https:\/\/rootdomain.com\/404"
            },
            {
                "id": 2,
                "domain": "https:\/\/domain2.com",
                "redirectroot": "https:\/\/rootdomain2.com",
                "redirect404": "https:\/\/rootdomain2.com\/404"
            }
        ]
    }
}
```

###### Erstellen einer Markendomain

BEREITSTELLEN  `https://urlkai.com/api/domain/add`

Mit diesem Endpunkt kann eine Domäne hinzugefügt werden. Bitte stellen Sie sicher, dass die Domain korrekt auf unseren Server verweist.

| **Paramètre** | **La description** |
| --- | --- |
| Domäne | (erforderlich) Markendomain einschließlich http oder https |
| redirectroot | (fakultativ) Root-Weiterleitung, wenn jemand Ihre Domain besucht |
| Weiterleitung404 | (fakultativ) Benutzerdefinierte 404-Weiterleitung |

cURL
PHP
Node.js
Python
C#

```
curl --location --request POST 'https://urlkai.com/api/domain/add' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
--data-raw '{
    "Domäne": "https:\/\/domain1.com",
    "redirectroot": "https:\/\/rootdomain.com",
    "redirect404": "https:\/\/rootdomain.com\/404"
}'
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL = > "https://urlkai.com/api/domain/add",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "POST",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    CURLOPT_POSTFIELDS = > 
        '{
	    "Domäne": "https:\/\/domain1.com",
	    "redirectroot": "https:\/\/rootdomain.com",
	    "redirect404": "https:\/\/rootdomain.com\/404"
	}',
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'method': 'POST',
    'url': 'https://urlkai.com/api/domain/add',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    Text: JSON.stringify({
    "Domäne": "https:\/\/domain1.com",
    "redirectroot": "https:\/\/rootdomain.com",
    "redirect404": "https:\/\/rootdomain.com\/404"
}),
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
url = "https://urlkai.com/api/domain/add"
Nutzlast = {
    "domain": "https://domain1.com",
    "redirectroot": "https://rootdomain.com",
    "redirect404": "https://rootdomain.com/404"
}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("POST", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://urlkai.com/api/domain/add");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{
    "Domäne": "https:\/\/domain1.com",
    "redirectroot": "https:\/\/rootdomain.com",
    "redirect404": "https:\/\/rootdomain.com\/404"
}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": 0,
    "ID": 1
}
```

###### Mettre à jour le domaine

STELLEN  `https://urlkai.com/api/domain/:id/update`

Um eine Markendomain zu aktualisieren, müssen Sie gültige Daten in JSON über eine PUT-Anfrage senden. Die Daten müssen als Rohtext Ihrer Anfrage gesendet werden, wie unten gezeigt. Das folgende Beispiel zeigt alle Parameter, die Sie senden können, aber Sie müssen nicht alle senden (weitere Informationen finden Sie in der Tabelle).

| **Paramètre** | **La description** |
| --- | --- |
| redirectroot | (fakultativ) Root-Weiterleitung, wenn jemand Ihre Domain besucht |
| Weiterleitung404 | (fakultativ) Benutzerdefinierte 404-Weiterleitung |

cURL
PHP
Node.js
Python
C#

```
curl --location --request PUT 'https://urlkai.com/api/domain/:id/update' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
--data-raw '{
    "redirectroot": "https:\/\/rootdomain-new.com",
    "redirect404": "https:\/\/rootdomain-new.com\/404"
}'
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL = > "https://urlkai.com/api/domain/:id/update",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "SETZEN",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    CURLOPT_POSTFIELDS = > 
        '{
	    "redirectroot": "https:\/\/rootdomain-new.com",
	    "redirect404": "https:\/\/rootdomain-new.com\/404"
	}',
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'method': 'SETZEN',
    'url': 'https://urlkai.com/api/domain/:id/update',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    Text: JSON.stringify({
    "redirectroot": "https:\/\/rootdomain-new.com",
    "redirect404": "https:\/\/rootdomain-new.com\/404"
}),
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
url = "https://urlkai.com/api/domain/:id/update"
Nutzlast = {
    "redirectroot": "https://rootdomain-new.com",
    "redirect404": "https://rootdomain-new.com/404"
}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("SETZEN", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Put, "https://urlkai.com/api/domain/:id/update");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{
    "redirectroot": "https:\/\/rootdomain-new.com",
    "redirect404": "https:\/\/rootdomain-new.com\/404"
}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": 0,
    "message": "Die Domain wurde erfolgreich aktualisiert."
}
```

###### Domäne löschen

LÖSCHEN  `https://urlkai.com/api/domain/:id/delete`

Um eine Domäne zu löschen, müssen Sie eine DELETE-Anforderung senden.

cURL
PHP
Node.js
Python
C#

```
curl --location --request DELETE 'https://urlkai.com/api/domain/:id/delete' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL => "https://urlkai.com/api/domain/:id/delete",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "LÖSCHEN",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'method': 'LÖSCHEN',
    'url': 'https://urlkai.com/api/domain/:id/delete',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
url = "https://urlkai.com/api/domain/:id/delete"
Nutzlast = {}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("LÖSCHEN", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Delete, "https://urlkai.com/api/domain/:id/delete");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": 0,
    "message": "Domain wurde erfolgreich gelöscht."
}
```

---

#### Dateien - Open in ChatGPT - Open in Claude

###### Dateien auflisten

ERHALTEN  `https://urlkai.com/api/files?limit=2&page=1`

Holen Sie sich alle Ihre Dateien. Sie können auch nach Namen suchen.

| **Paramètre** | **La description** |
| --- | --- |
| Name | (fakultativ) Suchen nach einer Datei anhand des Namens |
| Grenze | (fakultativ) Datenergebnis pro Seite |
| Seite | (fakultativ) Aktueller Seitenaufruf |

cURL
PHP
Node.js
Python
C#

```
curl --location --request GET 'https://urlkai.com/api/files?limit=2&page=1' \
--header 'Authorization: Bearer YOURAPIKEY' \
--header 'Content-Type: application/json' \
```

```
$curl = curl_init();

curl_setopt_array($curl, array(
    CURLOPT_URL => "https://urlkai.com/api/files?limit=2&page=1",
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_MAXREDIRS => 2,
    CURLOPT_TIMEOUT => 10,
    CURLOPT_FOLLOWLOCATION => true,
    CURLOPT_CUSTOMREQUEST => "GET",
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer YOURAPIKEY",
        "Content-Type: application/json",
    ],
    
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
```

```
var request = require('request');
var options = {
    'method': 'GET',
    'url': 'https://urlkai.com/api/files?limit=2&page=1',
    'headers': {
        'Authorization': 'Bearer YOURAPIKEY',
        'Content-Type': 'application/json'
    },
    
};
request(options, function (error, response) {
    if (error) throw new Error(error);
    console.log(response.body);
});
```

```
import requests
url = "https://urlkai.com/api/files?limit=2&page=1"
payload = {}
headers = {
    'Authorization': 'Bearer YOURAPIKEY',
    'Content-Type': 'application/json'
}
response = requests.request("GET", url, headers=headers, json=payload)
print(response.text)
```

```
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://urlkai.com/api/files?limit=2&page=1");
request.Headers.Add("Authorization", "Bearer YOURAPIKEY");
var content = new StringContent("{}", System.Text.Encoding.UTF8, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "error": 0,
    "result": 3,
    "perpage": 15,
    "currentpage": 1,
    "nextpage": null,
    "maxpage": 1,
    "list": [
        {
            "id": 1,
            "name": "My Photo",
            "downloads": 10,
            "shorturl": "https:\/\/urlkai.com\/ivSan",
            "date": "2022-08-09 17:00:00"
        },
        {
            "id": 2,
            "name": "My Documents",
            "downloads": 15,
            "shorturl": "https:\/\/urlkai.com\/EHnmP",
            "date": "2022-08-10 17:01:00"
        },
        {
            "id": 3,
            "name": "My Files",
            "downloads": 5,
            "shorturl": "https:\/\/urlkai.com\/vakMh",
            "date": "2022-08-11 19:01:00"
        }
    ]
}
```

###### Hochladen einer Datei

BEREITSTELLEN  `https://urlkai.com/api/files/upload/:filename?name=My+File`

Laden Sie eine Datei hoch, indem Sie die Binärdaten als Beitragstext senden. Sie müssen den Dateinamen einschließlich der Erweiterung anstelle von :filename in der URL senden (z. B. brandkit.zip). Sie können Optionen festlegen, indem Sie die folgenden Parameter senden.

| **Paramètre** | **La description** |
| --- | --- |
| Name | (fakultativ) Dateiname |
| Gewohnheit | (fakultativ) Benutzerdefinierter Alias anstelle eines zufälligen Alias. |
| Domäne | (fakultativ) Benutzerdefinierte Domain |
| Passwort | (fakultativ) Passwortschutz |
| Ablauf | (fakultativ) Ablauf für das Download-Beispiel 28.09.2021 |
| MaxDownloads | (fakultativ) Maximale Anzahl von Downloads |

cURL
PHP
Node.js
Python
C#

```
curl --location --request POST 'https://urlkai.com/api/files/upload/:filename?name=My+File' \
--header 'Authorization: Bearer YOURAPIKEY' \
--header 'Content-Type: application/json' \
--data-raw '"BINARY DATA"'
```

```
$curl = curl_init();

curl_setopt_array($curl, array(
    CURLOPT_URL => "https://urlkai.com/api/files/upload/:filename?name=My+File",
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_MAXREDIRS => 2,
    CURLOPT_TIMEOUT => 10,
    CURLOPT_FOLLOWLOCATION => true,
    CURLOPT_CUSTOMREQUEST => "POST",
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer YOURAPIKEY",
        "Content-Type: application/json",
    ],
    CURLOPT_POSTFIELDS => 
        '"BINARY DATA"',
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
```

```
var request = require('request');
var options = {
    'method': 'POST',
    'url': 'https://urlkai.com/api/files/upload/:filename?name=My+File',
    'headers': {
        'Authorization': 'Bearer YOURAPIKEY',
        'Content-Type': 'application/json'
    },
    body: JSON.stringify("BINARY DATA"),
};
request(options, function (error, response) {
    if (error) throw new Error(error);
    console.log(response.body);
});
```

```
import requests
url = "https://urlkai.com/api/files/upload/:filename?name=My+File"
payload = "BINARY DATA"
headers = {
    'Authorization': 'Bearer YOURAPIKEY',
    'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, json=payload)
print(response.text)
```

```
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://urlkai.com/api/files/upload/:filename?name=My+File");
request.Headers.Add("Authorization", "Bearer YOURAPIKEY");
var content = new StringContent(""BINARY DATA"", System.Text.Encoding.UTF8, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "error": 0,
    "id": 1,
    "shorturl": "https:\/\/urlkai.com\/KQvxb"
}
```

---

#### Liens - Open in ChatGPT - Open in Claude

###### Links auflisten

ERHALTEN  `https://urlkai.com/api/urls?limit=2&page=1o=date`

Pour obtenir vos liens via l'API, vous pouvez utiliser ce point de terminaison. Vous pouvez également filtrer les données (voir le tableau pour plus d'informations).

| **Paramètre** | **La description** |
| --- | --- |
| Grenze | (fakultativ) Datenergebnis pro Seite |
| Seite | (fakultativ) Aktueller Seitenaufruf |
| Bestellung | (fakultativ) Sortieren Sie Daten zwischen Datum oder klicken Sie auf |
| kurz | (fakultativ) Suchen Sie über die Kurz-URL. Beachten Sie, dass bei Verwendung des short-Parameters alle anderen Parameter ignoriert werden und bei einer Übereinstimmung eine Single Link-Antwort zurückgegeben wird. |
| q | (fakultativ) Suchen Sie nach Links mit einem Schlüsselwort |

cURL
PHP
Node.js
Python
C#

```
curl --location --request GET 'https://urlkai.com/api/urls?limit=2&page=1o=date' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL => "https://urlkai.com/api/urls?limit=2&page=1o=date",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "HOLEN",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'Methode': 'ABRUFEN',
    'url': 'https://urlkai.com/api/urls?limit=2&page=1o=date',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
url = "https://urlkai.com/api/urls?limit=2&page=1o=date"
Nutzlast = {}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("ABRUFEN", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://urlkai.com/api/urls?limit=2&page=1o=date");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": "0",
    "Daten": {
        "Ergebnis": 2,
        "pro Seite": 2,
        "aktuelleSeite": 1,
        "nächste Seite": 1,
        "maxpage": 1,
        "URLs": [
            {
                "id": 2,
                "alias": "google",
                "shorturl": "https:\/\/urlkai.com\/google",
                "longurl": "https:\/\/google.com",
                "Klicks": 0,
                "title": "Google",
                "Beschreibung": "",
                "date": "2020-11-10 18:01:43"
            },
            {
                "id": 1,
                "alias": "googlecanada",
                "shorturl": "https:\/\/urlkai.com\/googlecanada",
                "longurl": "https:\/\/google.ca",
                "Klicks": 0,
                "title": "Google Kanada",
                "Beschreibung": "",
                "date": "2020-11-10 18:00:25"
            }
        ]
    }
}
```

###### Holen Sie sich einen einzelnen Link

ERHALTEN  `https://urlkai.com/api/url/:id`

Pour obtenir les détails d'un seul lien via l'API, vous pouvez utiliser ce point de terminaison.

cURL
PHP
Node.js
Python
C#

```
curl --location --request GET 'https://urlkai.com/api/url/:id' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL = > "https://urlkai.com/api/url/:id",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "HOLEN",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'Methode': 'ABRUFEN',
    'url': 'https://urlkai.com/api/url/:id',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
url = "https://urlkai.com/api/url/:id"
Nutzlast = {}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("ABRUFEN", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://urlkai.com/api/url/:id");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": 0,
    "id": 1,
    "details": {
        "id": 1,
        "shorturl": "https:\/\/urlkai.com\/googlecanada",
        "longurl": "https:\/\/google.com",
        "title": "Google",
        "Beschreibung": "",
        "Ort": {
            "Kanada": "https:\/\/google.ca",
            "Vereinigte Staaten": "https:\/\/google.us"
        },
        "Gerät": {
            "iphone": "https:\/\/google.com",
            "android": "https:\/\/google.com"
        },
        "Ablauf": null,
        "date": "2020-11-10 18:01:43"
    },
    "Daten": {
        "Klicks": 0,
        "uniqueClicks": 0,
        "topCountries": 0,
        "topReferrer": 0,
        "topBrowsers": 0,
        "topOs": 0,
        "socialCount": {
            "facebook": 0,
            "twitter": 0,
            "google": 0
        }
    }
}
```

###### Raccourcir un lien

BEREITSTELLEN  `https://urlkai.com/api/url/add`

Pour raccourcir un lien, vous devez envoyer une donnée valide en JSON via une requête POST. Les données doivent être envoyées en tant que corps brut de votre demande, comme indiqué ci-dessous. L'exemple ci-dessous montre tous les paramètres que vous pouvez envoyer mais vous n'êtes pas obligé de tous les envoyer (voir le tableau pour plus d'informations).

| **Paramètre** | **La description** |
| --- | --- |
| URL (Englisch) | (erforderlich) Lange URL zum Kürzen. |
| Gewohnheit | (fakultativ) Benutzerdefinierter Alias anstelle eines zufälligen Alias. |
| Art | (fakultativ) Nur Umleitungstyp [direkt, Rahmen, Splash] *id* für eine benutzerdefinierte Begrüßungsseite oder *Überlagerungs-ID* Für CTA-Seiten |
| Passwort | (fakultativ) Passwortschutz |
| Domäne | (fakultativ) Benutzerdefinierte Domain |
| Ablauf | (fakultativ) Ablauf für das Linkbeispiel 2021-09-28 23:11:16 |
| GeoTargeting | (fakultativ) Geo-Targeting-Daten |
| devicetarget | (fakultativ) Daten zum Geräte-Targeting |
| languagetarget | (fakultativ) Daten zum Sprach-Targeting |
| Metatitel | (fakultativ) Meta-Titel |
| Meta-Beschreibung | (fakultativ) Meta-Beschreibung |
| Metabild | (fakultativ) Link zu einem JPG- oder PNG-Bild |
| Beschreibung | (fakultativ) Hinweis oder Beschreibung |
| bildpunkte | (fakultativ) Array von Pixel-IDs |
| Kanal | (fakultativ) Kanal-ID |
| Feldzug | (fakultativ) Kampagnen-ID |
| Deeplink (Englisch) | (optional) Objekt mit App-Store-Links. Bei der Nutzung ist es wichtig, auch das Geräte-Targeting einzustellen. (Neu) Du kannst jetzt den Parameter "auto" auf true setzen, um automatisch die Deep-Links aus dem bereitgestellten langen Link zu generieren. |
| Status | (fakultativ) *Öffentlich* oder *Privat (Standard)* |

cURL
PHP
Node.js
Python
C#

```
curl --location --request POST 'https://urlkai.com/api/url/add' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
--data-raw '{
    "URL": "https:\/\/google.com",
    "status": "privat",
    "custom": "google",
    "password": "mypass",
    "expiry": "2020-11-11 12:00:00",
    "type": "spritzen",
    "metatitle": "Nicht Google",
    "metadescription": "Nicht Google-Beschreibung",
    "metaimage": "https:\/\/www.mozilla.org\/media\/protocol\/img\/logos\/firefox\/browser\/og.4ad05d4125a5.png",
    "description": "Für Facebook",
    "Pixel": [
        1,
        2,
        3,
        4
    ],
    "Kanal": 1,
    "Kampagne": 1,
    "deeplink": {
        "auto": wahr,
        "apple": "https:\/\/apps.apple.com\/us\/app\/google\/id284815942",
        "google": "https:\/\/play.google.com\/store\/apps\/details?id=com.google.android.googlequicksearchbox&hl=en_CA≷=US"
    },
    "geotarget": [
        {
            "location": "Kanada",
            "link": "https:\/\/google.ca"
        },
        {
            "location": "Vereinigte Staaten",
            "link": "https:\/\/google.us"
        }
    ],
    "devicetarget": [
        {
            "device": "iPhone",
            "link": "https:\/\/google.com"
        },
        {
            "device": "Android",
            "link": "https:\/\/google.com"
        }
    ],
    "languagetarget": [
        {
            "language": "de",
            "link": "https:\/\/google.com"
        },
        {
            "language": "fr",
            "link": "https:\/\/google.ca"
        }
    ],
    "Parameter": [
        {
            "name": "aff",
            "value": "3"
        },
        {
            "device": "gtm_source",
            "link": "API"
        }
    ]
}'
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL = > "https://urlkai.com/api/url/add",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "POST",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    CURLOPT_POSTFIELDS = > 
        '{
	    "URL": "https:\/\/google.com",
	    "status": "privat",
	    "custom": "google",
	    "password": "mypass",
	    "expiry": "2020-11-11 12:00:00",
	    "type": "spritzen",
	    "metatitle": "Nicht Google",
	    "metadescription": "Nicht Google-Beschreibung",
	    "metaimage": "https:\/\/www.mozilla.org\/media\/protocol\/img\/logos\/firefox\/browser\/og.4ad05d4125a5.png",
	    "description": "Für Facebook",
	    "Pixel": [
	        1,
	        2,
	        3,
	        4
	    ],
	    "Kanal": 1,
	    "Kampagne": 1,
	    "deeplink": {
	        "auto": wahr,
	        "apple": "https:\/\/apps.apple.com\/us\/app\/google\/id284815942",
	        "google": "https:\/\/play.google.com\/store\/apps\/details?id=com.google.android.googlequicksearchbox&hl=en_CA≷=US"
	    },
	    "geotarget": [
	        {
	            "location": "Kanada",
	            "link": "https:\/\/google.ca"
	        },
	        {
	            "location": "Vereinigte Staaten",
	            "link": "https:\/\/google.us"
	        }
	    ],
	    "devicetarget": [
	        {
	            "device": "iPhone",
	            "link": "https:\/\/google.com"
	        },
	        {
	            "device": "Android",
	            "link": "https:\/\/google.com"
	        }
	    ],
	    "languagetarget": [
	        {
	            "language": "de",
	            "link": "https:\/\/google.com"
	        },
	        {
	            "language": "fr",
	            "link": "https:\/\/google.ca"
	        }
	    ],
	    "Parameter": [
	        {
	            "name": "aff",
	            "value": "3"
	        },
	        {
	            "device": "gtm_source",
	            "link": "API"
	        }
	    ]
	}',
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'method': 'POST',
    'url': 'https://urlkai.com/api/url/add',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    Text: JSON.stringify({
    "URL": "https:\/\/google.com",
    "status": "privat",
    "custom": "google",
    "password": "mypass",
    "expiry": "2020-11-11 12:00:00",
    "type": "spritzen",
    "metatitle": "Nicht Google",
    "metadescription": "Nicht Google-Beschreibung",
    "metaimage": "https:\/\/www.mozilla.org\/media\/protocol\/img\/logos\/firefox\/browser\/og.4ad05d4125a5.png",
    "description": "Für Facebook",
    "Pixel": [
        1,
        2,
        3,
        4
    ],
    "Kanal": 1,
    "Kampagne": 1,
    "deeplink": {
        "auto": wahr,
        "apple": "https:\/\/apps.apple.com\/us\/app\/google\/id284815942",
        "google": "https:\/\/play.google.com\/store\/apps\/details?id=com.google.android.googlequicksearchbox&hl=en_CA≷=US"
    },
    "geotarget": [
        {
            "location": "Kanada",
            "link": "https:\/\/google.ca"
        },
        {
            "location": "Vereinigte Staaten",
            "link": "https:\/\/google.us"
        }
    ],
    "devicetarget": [
        {
            "device": "iPhone",
            "link": "https:\/\/google.com"
        },
        {
            "device": "Android",
            "link": "https:\/\/google.com"
        }
    ],
    "languagetarget": [
        {
            "language": "de",
            "link": "https:\/\/google.com"
        },
        {
            "language": "fr",
            "link": "https:\/\/google.ca"
        }
    ],
    "Parameter": [
        {
            "name": "aff",
            "value": "3"
        },
        {
            "device": "gtm_source",
            "link": "API"
        }
    ]
}),
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
url = "https://urlkai.com/api/url/add"
Nutzlast = {
    "url": "https://google.com",
    "status": "privat",
    "custom": "google",
    "password": "mypass",
    "expiry": "2020-11-11 12:00:00",
    "type": "spritzen",
    "metatitle": "Nicht Google",
    "metadescription": "Nicht Google-Beschreibung",
    "metaimage": "https://www.mozilla.org/media/protocol/img/logos/firefox/browser/og.4ad05d4125a5.png",
    "description": "Für Facebook",
    "Pixel": [
        1,
        2,
        3,
        4
    ],
    "Kanal": 1,
    "Kampagne": 1,
    "deeplink": {
        "auto": wahr,
        "apple": "https://apps.apple.com/us/app/google/id284815942",
        "google": "https://play.google.com/store/apps/details?id=com.google.android.googlequicksearchbox&hl=en_CA≷=UNS"
    },
    "geotarget": [
        {
            "location": "Kanada",
            "link": "https://google.ca"
        },
        {
            "location": "Vereinigte Staaten",
            "link": "https://google.us"
        }
    ],
    "devicetarget": [
        {
            "device": "iPhone",
            "link": "https://google.com"
        },
        {
            "device": "Android",
            "link": "https://google.com"
        }
    ],
    "languagetarget": [
        {
            "language": "de",
            "link": "https://google.com"
        },
        {
            "language": "fr",
            "link": "https://google.ca"
        }
    ],
    "Parameter": [
        {
            "name": "aff",
            "value": "3"
        },
        {
            "device": "gtm_source",
            "link": "API"
        }
    ]
}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("POST", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://urlkai.com/api/url/add");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{
    "URL": "https:\/\/google.com",
    "status": "privat",
    "custom": "google",
    "password": "mypass",
    "expiry": "2020-11-11 12:00:00",
    "type": "spritzen",
    "metatitle": "Nicht Google",
    "metadescription": "Nicht Google-Beschreibung",
    "metaimage": "https:\/\/www.mozilla.org\/media\/protocol\/img\/logos\/firefox\/browser\/og.4ad05d4125a5.png",
    "description": "Für Facebook",
    "Pixel": [
        1,
        2,
        3,
        4
    ],
    "Kanal": 1,
    "Kampagne": 1,
    "deeplink": {
        "auto": wahr,
        "apple": "https:\/\/apps.apple.com\/us\/app\/google\/id284815942",
        "google": "https:\/\/play.google.com\/store\/apps\/details?id=com.google.android.googlequicksearchbox&hl=en_CA≷=US"
    },
    "geotarget": [
        {
            "location": "Kanada",
            "link": "https:\/\/google.ca"
        },
        {
            "location": "Vereinigte Staaten",
            "link": "https:\/\/google.us"
        }
    ],
    "devicetarget": [
        {
            "device": "iPhone",
            "link": "https:\/\/google.com"
        },
        {
            "device": "Android",
            "link": "https:\/\/google.com"
        }
    ],
    "languagetarget": [
        {
            "language": "de",
            "link": "https:\/\/google.com"
        },
        {
            "language": "fr",
            "link": "https:\/\/google.ca"
        }
    ],
    "Parameter": [
        {
            "name": "aff",
            "value": "3"
        },
        {
            "device": "gtm_source",
            "link": "API"
        }
    ]
}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": 0,
    "id": 3,
    "shorturl": "https:\/\/urlkai.com\/google"
}
```

###### Mettre à jour le lien

STELLEN  `https://urlkai.com/api/url/:id/update`

Pour mettre à jour un lien, vous devez envoyer une donnée valide en JSON via une requête PUT. Les données doivent être envoyées en tant que corps brut de votre demande, comme indiqué ci-dessous. L'exemple ci-dessous montre tous les paramètres que vous pouvez envoyer mais vous n'êtes pas obligé de tous les envoyer (voir le tableau pour plus d'informations).

| **Paramètre** | **La description** |
| --- | --- |
| URL (Englisch) | (erforderlich) Lange URL zum Kürzen. |
| Gewohnheit | (fakultativ) Benutzerdefinierter Alias anstelle eines zufälligen Alias. |
| Art | (fakultativ) Umleitungstyp [direkt, Rahmen, Spritzer] |
| Passwort | (fakultativ) Passwortschutz |
| Domäne | (fakultativ) Benutzerdefinierte Domain |
| Ablauf | (fakultativ) Ablauf für das Linkbeispiel 2021-09-28 23:11:16 |
| GeoTargeting | (fakultativ) Geo-Targeting-Daten |
| devicetarget | (fakultativ) Daten zum Geräte-Targeting |
| languagetarget | (fakultativ) Daten zum Sprach-Targeting |
| Metatitel | (fakultativ) Meta-Titel |
| Meta-Beschreibung | (fakultativ) Meta-Beschreibung |
| Metabild | (fakultativ) Link zu einem JPG- oder PNG-Bild |
| bildpunkte | (fakultativ) Array von Pixel-IDs |
| Kanal | (fakultativ) Kanal-ID |
| Feldzug | (fakultativ) Kampagnen-ID |
| Deeplink (Englisch) | (fakultativ) Objekt, das App-Store-Links enthält. Wenn Sie dies verwenden, ist es wichtig, auch das Geräte-Targeting festzulegen. |

cURL
PHP
Node.js
Python
C#

```
curl --location --request PUT 'https://urlkai.com/api/url/:id/update' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
--data-raw '{
    "URL": "https:\/\/google.com",
    "custom": "google",
    "password": "mypass",
    "expiry": "2020-11-11 12:00:00",
    "type": "spritzen",
    "Pixel": [
        1,
        2,
        3,
        4
    ],
    "Kanal": 1,
    "deeplink": {
        "apple": "https:\/\/apps.apple.com\/us\/app\/google\/id284815942",
        "google": "https:\/\/play.google.com\/store\/apps\/details?id=com.google.android.googlequicksearchbox&hl=en_CA≷=US"
    },
    "geotarget": [
        {
            "location": "Kanada",
            "link": "https:\/\/google.ca"
        },
        {
            "location": "Vereinigte Staaten",
            "link": "https:\/\/google.us"
        }
    ],
    "devicetarget": [
        {
            "device": "iPhone",
            "link": "https:\/\/google.com"
        },
        {
            "device": "Android",
            "link": "https:\/\/google.com"
        }
    ],
    "Parameter": [
        {
            "name": "aff",
            "value": "3"
        },
        {
            "device": "gtm_source",
            "link": "API"
        }
    ]
}'
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL = > "https://urlkai.com/api/url/:id/update",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "SETZEN",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    CURLOPT_POSTFIELDS = > 
        '{
	    "URL": "https:\/\/google.com",
	    "custom": "google",
	    "password": "mypass",
	    "expiry": "2020-11-11 12:00:00",
	    "type": "spritzen",
	    "Pixel": [
	        1,
	        2,
	        3,
	        4
	    ],
	    "Kanal": 1,
	    "deeplink": {
	        "apple": "https:\/\/apps.apple.com\/us\/app\/google\/id284815942",
	        "google": "https:\/\/play.google.com\/store\/apps\/details?id=com.google.android.googlequicksearchbox&hl=en_CA≷=US"
	    },
	    "geotarget": [
	        {
	            "location": "Kanada",
	            "link": "https:\/\/google.ca"
	        },
	        {
	            "location": "Vereinigte Staaten",
	            "link": "https:\/\/google.us"
	        }
	    ],
	    "devicetarget": [
	        {
	            "device": "iPhone",
	            "link": "https:\/\/google.com"
	        },
	        {
	            "device": "Android",
	            "link": "https:\/\/google.com"
	        }
	    ],
	    "Parameter": [
	        {
	            "name": "aff",
	            "value": "3"
	        },
	        {
	            "device": "gtm_source",
	            "link": "API"
	        }
	    ]
	}',
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'method': 'SETZEN',
    'url': 'https://urlkai.com/api/url/:id/update',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    Text: JSON.stringify({
    "URL": "https:\/\/google.com",
    "custom": "google",
    "password": "mypass",
    "expiry": "2020-11-11 12:00:00",
    "type": "spritzen",
    "Pixel": [
        1,
        2,
        3,
        4
    ],
    "Kanal": 1,
    "deeplink": {
        "apple": "https:\/\/apps.apple.com\/us\/app\/google\/id284815942",
        "google": "https:\/\/play.google.com\/store\/apps\/details?id=com.google.android.googlequicksearchbox&hl=en_CA≷=US"
    },
    "geotarget": [
        {
            "location": "Kanada",
            "link": "https:\/\/google.ca"
        },
        {
            "location": "Vereinigte Staaten",
            "link": "https:\/\/google.us"
        }
    ],
    "devicetarget": [
        {
            "device": "iPhone",
            "link": "https:\/\/google.com"
        },
        {
            "device": "Android",
            "link": "https:\/\/google.com"
        }
    ],
    "Parameter": [
        {
            "name": "aff",
            "value": "3"
        },
        {
            "device": "gtm_source",
            "link": "API"
        }
    ]
}),
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
url = "https://urlkai.com/api/url/:id/update"
Nutzlast = {
    "url": "https://google.com",
    "custom": "google",
    "password": "mypass",
    "expiry": "2020-11-11 12:00:00",
    "type": "spritzen",
    "Pixel": [
        1,
        2,
        3,
        4
    ],
    "Kanal": 1,
    "deeplink": {
        "apple": "https://apps.apple.com/us/app/google/id284815942",
        "google": "https://play.google.com/store/apps/details?id=com.google.android.googlequicksearchbox&hl=en_CA≷=UNS"
    },
    "geotarget": [
        {
            "location": "Kanada",
            "link": "https://google.ca"
        },
        {
            "location": "Vereinigte Staaten",
            "link": "https://google.us"
        }
    ],
    "devicetarget": [
        {
            "device": "iPhone",
            "link": "https://google.com"
        },
        {
            "device": "Android",
            "link": "https://google.com"
        }
    ],
    "Parameter": [
        {
            "name": "aff",
            "value": "3"
        },
        {
            "device": "gtm_source",
            "link": "API"
        }
    ]
}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("SETZEN", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Put, "https://urlkai.com/api/url/:id/update");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{
    "URL": "https:\/\/google.com",
    "custom": "google",
    "password": "mypass",
    "expiry": "2020-11-11 12:00:00",
    "type": "spritzen",
    "Pixel": [
        1,
        2,
        3,
        4
    ],
    "Kanal": 1,
    "deeplink": {
        "apple": "https:\/\/apps.apple.com\/us\/app\/google\/id284815942",
        "google": "https:\/\/play.google.com\/store\/apps\/details?id=com.google.android.googlequicksearchbox&hl=en_CA≷=US"
    },
    "geotarget": [
        {
            "location": "Kanada",
            "link": "https:\/\/google.ca"
        },
        {
            "location": "Vereinigte Staaten",
            "link": "https:\/\/google.us"
        }
    ],
    "devicetarget": [
        {
            "device": "iPhone",
            "link": "https:\/\/google.com"
        },
        {
            "device": "Android",
            "link": "https:\/\/google.com"
        }
    ],
    "Parameter": [
        {
            "name": "aff",
            "value": "3"
        },
        {
            "device": "gtm_source",
            "link": "API"
        }
    ]
}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": 0,
    "id": 3,
    "short": "https:\/\/urlkai.com\/google"
}
```

###### Supprimer un lien

LÖSCHEN  `https://urlkai.com/api/url/:id/delete`

Pour supprimer un lien, vous devez envoyer une requête DELETE.

cURL
PHP
Node.js
Python
C#

```
curl --location --request DELETE 'https://urlkai.com/api/url/:id/delete' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL = > "https://urlkai.com/api/url/:id/delete",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "LÖSCHEN",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'method': 'LÖSCHEN',
    'url': 'https://urlkai.com/api/url/:id/delete',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
url = "https://urlkai.com/api/url/:id/delete"
Nutzlast = {}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("LÖSCHEN", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Delete, "https://urlkai.com/api/url/:id/delete");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": 0,
    "message": "Link wurde erfolgreich gelöscht"
}
```

---

#### Bildpunkte - Open in ChatGPT - Open in Claude

###### Pixel auflisten

ERHALTEN  `https://urlkai.com/api/pixels?limit=2&page=1`

Um deine Pixel-Codes über die API abzurufen, kannst du diesen Endpunkt verwenden. Sie können Daten auch filtern (weitere Informationen finden Sie in der Tabelle).

| **Paramètre** | **La description** |
| --- | --- |
| Grenze | (fakultativ) Datenergebnis pro Seite |
| Seite | (fakultativ) Aktueller Seitenaufruf |

cURL
PHP
Node.js
Python
C#

```
curl --location --request GET 'https://urlkai.com/api/pixels?limit=2&page=1' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL = > "https://urlkai.com/api/pixels?limit=2&page=1",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "HOLEN",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'Methode': 'ABRUFEN',
    'url': 'https://urlkai.com/api/pixels?limit=2&page=1',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
url = "https://urlkai.com/api/pixels?limit=2&page=1"
Nutzlast = {}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("ABRUFEN", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://urlkai.com/api/pixels?limit=2&page=1");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": "0",
    "Daten": {
        "Ergebnis": 2,
        "pro Seite": 2,
        "aktuelleSeite": 1,
        "nächste Seite": 1,
        "maxpage": 1,
        "Pixel": [
            {
                "id": 1,
                "type": "gtmpixel",
                "name": "GTM-Pixel",
                "tag": "GA-123456789",
                "date": "2020-11-10 18:00:00"
            },
            {
                "id": 2,
                "type": "TwitterPixel",
                "name": "Twitter-Pixel",
                "tag": "1234567",
                "date": "2020-11-10 18:10:00"
            }
        ]
    }
}
```

###### Erstellen eines Pixels

BEREITSTELLEN  `https://urlkai.com/api/pixel/add`

Mit diesem Endpunkt kann ein Pixel erstellt werden. Sie müssen den Pixeltyp und das Tag senden.

| **Paramètre** | **La description** |
| --- | --- |
| Art | (erforderlich) gtmpixel | Gapixel | fbpixel | AdwordsPixel | LinkedInPixel | TwitterPixel | adrollpixel | Quorapixel | Pinterest | Bing | Snapchat | reddit | Tiktok (Englisch) |
| Name | (erforderlich) Benutzerdefinierter Name für dein Pixel |
| Etikett | (erforderlich) Das Tag für das Pixel |

cURL
PHP
Node.js
Python
C#

```
curl --location --request POST 'https://urlkai.com/api/pixel/add' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
--data-raw '{
    "type": "gtmpixel",
    "name": "Mein GTM",
    "tag": "GTM-ABCDE"
}'
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL = > "https://urlkai.com/api/pixel/add",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "POST",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    CURLOPT_POSTFIELDS = > 
        '{
	    "type": "gtmpixel",
	    "name": "Mein GTM",
	    "tag": "GTM-ABCDE"
	}',
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'method': 'POST',
    'url': 'https://urlkai.com/api/pixel/add',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    Text: JSON.stringify({
    "type": "gtmpixel",
    "name": "Mein GTM",
    "tag": "GTM-ABCDE"
}),
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
url = "https://urlkai.com/api/pixel/add"
Nutzlast = {
    "type": "gtmpixel",
    "name": "Mein GTM",
    "tag": "GTM-ABCDE"
}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("POST", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://urlkai.com/api/pixel/add");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{
    "type": "gtmpixel",
    "name": "Mein GTM",
    "tag": "GTM-ABCDE"
}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": 0,
    "ID": 1
}
```

###### Mettre à jour le pixel

STELLEN  `https://urlkai.com/api/pixel/:id/update`

Um ein Pixel zu aktualisieren, musst du gültige Daten in JSON über eine PUT-Anfrage senden. Die Daten müssen als Rohtext Ihrer Anfrage gesendet werden, wie unten gezeigt. Das folgende Beispiel zeigt alle Parameter, die Sie senden können, aber Sie müssen nicht alle senden (weitere Informationen finden Sie in der Tabelle).

| **Paramètre** | **La description** |
| --- | --- |
| Name | (fakultativ) Benutzerdefinierter Name für dein Pixel |
| Etikett | (erforderlich) Das Tag für das Pixel |

cURL
PHP
Node.js
Python
C#

```
curl --location --request PUT 'https://urlkai.com/api/pixel/:id/update' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
--data-raw '{
    "name": "Mein GTM",
    "tag": "GTM-ABCDE"
}'
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL = > "https://urlkai.com/api/pixel/:id/update",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "SETZEN",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    CURLOPT_POSTFIELDS = > 
        '{
	    "name": "Mein GTM",
	    "tag": "GTM-ABCDE"
	}',
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'method': 'SETZEN',
    'url': 'https://urlkai.com/api/pixel/:id/update',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    Text: JSON.stringify({
    "name": "Mein GTM",
    "tag": "GTM-ABCDE"
}),
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
url = "https://urlkai.com/api/pixel/:id/update"
Nutzlast = {
    "name": "Mein GTM",
    "tag": "GTM-ABCDE"
}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("SETZEN", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Put, "https://urlkai.com/api/pixel/:id/update");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{
    "name": "Mein GTM",
    "tag": "GTM-ABCDE"
}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": 0,
    "message": "Das Pixel wurde erfolgreich aktualisiert."
}
```

###### Pixel löschen

LÖSCHEN  `https://urlkai.com/api/pixel/:id/delete`

Um ein Pixel zu löschen, musst du eine DELETE-Anfrage senden.

cURL
PHP
Node.js
Python
C#

```
curl --location --request DELETE 'https://urlkai.com/api/pixel/:id/delete' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL = > "https://urlkai.com/api/pixel/:id/delete",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "LÖSCHEN",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'method': 'LÖSCHEN',
    'url': 'https://urlkai.com/api/pixel/:id/delete',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
url = "https://urlkai.com/api/pixel/:id/delete"
Nutzlast = {}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("LÖSCHEN", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Delete, "https://urlkai.com/api/pixel/:id/delete");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": 0,
    "message": "Das Pixel wurde erfolgreich gelöscht."
}
```

---

#### Splash personnalisé - Open in ChatGPT - Open in Claude

###### Benutzerdefinierte Splash auflisten

ERHALTEN  `https://urlkai.com/api/splash?limit=2&page=1`

Um benutzerdefinierte Begrüßungsseiten über die API abzurufen, können Sie diesen Endpunkt verwenden. Sie können Daten auch filtern (weitere Informationen finden Sie in der Tabelle).

| **Paramètre** | **La description** |
| --- | --- |
| Grenze | (fakultativ) Datenergebnis pro Seite |
| Seite | (fakultativ) Aktueller Seitenaufruf |

cURL
PHP
Node.js
Python
C#

```
curl --location --request GET 'https://urlkai.com/api/splash?limit=2&page=1' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL = > "https://urlkai.com/api/splash?limit=2&page=1",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "HOLEN",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'Methode': 'ABRUFEN',
    'url': 'https://urlkai.com/api/splash?limit=2&page=1',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
url = "https://urlkai.com/api/splash?limit=2&page=1"
Nutzlast = {}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("ABRUFEN", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://urlkai.com/api/splash?limit=2&page=1");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": "0",
    "Daten": {
        "Ergebnis": 2,
        "pro Seite": 2,
        "aktuelleSeite": 1,
        "nächste Seite": 1,
        "maxpage": 1,
        "platsch": [
            {
                "id": 1,
                "name": "Produkt 1 Promo",
                "date": "2020-11-10 18:00:00"
            },
            {
                "id": 2,
                "name": "Produkt 2 Promo",
                "date": "2020-11-10 18:10:00"
            }
        ]
    }
}
```

---

#### Überlagerungen CTA - Open in ChatGPT - Open in Claude

###### CTA-Overlays auflisten

ERHALTEN  `https://urlkai.com/api/overlay?limit=2&page=1`

Um CTA-Overlays über die API zu erhalten, können Sie diesen Endpunkt verwenden. Sie können Daten auch filtern (weitere Informationen finden Sie in der Tabelle).

| **Paramètre** | **La description** |
| --- | --- |
| Grenze | (fakultativ) Datenergebnis pro Seite |
| Seite | (fakultativ) Aktueller Seitenaufruf |

cURL
PHP
Node.js
Python
C#

```
curl --location --request GET 'https://urlkai.com/api/overlay?limit=2&page=1' \
--header 'Autorisierung: Träger YOURAPIKEY' \
--header 'Inhaltstyp: application/json' \
```

```
$curl = curl_init();

curl_setopt_array($curl, Array(
    CURLOPT_URL = > "https://urlkai.com/api/overlay?limit=2&page=1",
    CURLOPT_RETURNTRANSFER => wahr,
    CURLOPT_MAXREDIRS = > 2,
    CURLOPT_TIMEOUT = > 10,
    CURLOPT_FOLLOWLOCATION = > wahr,
    CURLOPT_CUSTOMREQUEST = > "HOLEN",
    CURLOPT_HTTPHEADER = > [
        "Autorisierung: Inhaber YOURAPIKEY",
        "Inhaltstyp: application/json",
    ],
    
));

$response = curl_exec($curl);

curl_close($curl);
Echo $response;
```

```
var Anfrage = require('Anforderung');
var Optionen = {
    'Methode': 'ABRUFEN',
    'url': 'https://urlkai.com/api/overlay?limit=2&page=1',
    'Kopfzeilen': {
        'Authorization': 'Inhaber YOURAPIKEY',
        'Inhaltstyp': 'Anwendung/json'
    },
    
};
request(options, function (error, response) {
    if (Fehler) throw new Error(error);
    console.log(Antwort.Körper);
});
```

```
Aufträge importieren
url = "https://urlkai.com/api/overlay?limit=2&page=1"
Nutzlast = {}
Kopfzeilen = {
    'Authorization': 'Inhaber YOURAPIKEY',
    'Inhaltstyp': 'Anwendung/json'
}
Antwort = requests.request("ABRUFEN", url, headers=headers, json=nutzlast)
drucken(Antwort.text)
```

```
var client = neu HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://urlkai.com/api/overlay?limit=2&page=1");
bitten. Headers.Add("Autorisierung", "Bearer YOURAPIKEY");
var content = new StringContent("{}", System.Text.Encoding.UTF8, "Anwendung/json");
bitten. Inhalt = Inhalt;
var response = await client. SendAsync(Anforderung);
Antwort. EnsureSuccessStatusCode();
Console.WriteLine(Warten auf Antwort. Inhalt.ReadAsStringAsync());
```

###### Une clé API est requise pour les demandes à traiter par le système. Une fois qu'un utilisateur s'enregistre, une clé API est générée automatiquement pour cet utilisateur. La clé API doit être envoyée avec chaque requête via le paramètre clé (voir l'exemple complet ci-dessous). Si la clé API n'est pas envoyée ou a expiré, une erreur se produit. Assurez-vous de garder votre clé secrète de l'API pour éviter tout abus.

```
{
    "Fehler": "0",
    "Daten": {
        "Ergebnis": 2,
        "pro Seite": 2,
        "aktuelleSeite": 1,
        "nächste Seite": 1,
        "maxpage": 1,
        "cta": [
            {
                "id": 1,
                "type": "Nachricht",
                "name": "Produkt 1 Promo",
                "date": "2020-11-10 18:00:00"
            },
            {
                "id": 2,
                "type": "Kontakt",
                "name": "Kontaktseite",
                "date": "2020-11-10 18:10:00"
            }
        ]
    }
}
```