HTTP-Anfrage
curl https://api.iagenify.com/api/mail/avatars/CLE -X GETJavaScript
const response = await fetch("https://api.iagenify.com/api/mail/avatars/CLE", {
method: "GET",
headers: {}
});
const result = await response.json();
if (!response.ok) throw new Error(result.error);Python
import os
import requests
response = requests.request("GET", "https://api.iagenify.com/api/mail/avatars/CLE", headers={}, timeout=30)
response.raise_for_status()
result = response.json()Pfadparameter
clestringerforderlichWert für :cle.
Antwort und Fehler
Bei Erfolg gibt der Endpunkt JSON zurück. Explizite Statuscodes: 404. Fehlercodes: avatar_not_found.