Autenticazione
Autenticazione API
Tutte le richieste API devono includere una chiave API valida nell'header HTTP.
Header richiesto
X-API-Key: <your-api-key>
Esempio
curl -H "X-API-Key: your-secret-key" \
-H "Content-Type: application/json" \
https://docfire.so/api/ingest
Errori di autenticazione
Se la chiave API non è valida o mancante, l'API restituisce:
{
"error": "Unauthorized",
"message": "Invalid or missing API key"
}
Codice HTTP: 401 Unauthorized