>_ NicAPI Dokumentation

REST-API von LUMASERV: Domains, DNS, SSL, Cloud-Server, IP-Adressen, Abrechnung und mehr.

Authentifizierung / Login

POST Login: Anlegen / Ausführen API v2

POST https://connect.nicapi.eu/api/v2/auth/login
Authentifizierung
keine (öffentlicher Endpunkt)

Request-Parameter Werden im Request-Body übergeben (JSON oder Formular-Felder).

Name Pflicht Typ Einschränkungen Beschreibung
username Pflicht Text
password Pflicht Text
curl \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{
         "username": "text",
         "password": "text"
     }' \
  "https://connect.nicapi.eu/api/v2/auth/login"
use NicAPI\NicAPI;

NicAPI::init("IHR_API_TOKEN");

$result = NicAPI::post("https://connect.nicapi.eu/api/v2/auth/login", [
    'username' => 'text',
    'password' => 'text',
]);

if (NicAPI::wasSuccess()) {
    $data = $result->data;
}