Authentication
API Authentication
All API requests must include a valid API key in the HTTP header.
Required Header
X-API-Key: <your-api-key>
Example
curl -H "X-API-Key: your-secret-key" \
-H "Content-Type: application/json" \
https://docfire.so/api/ingest
Authentication Errors
If the API key is invalid or missing, the API returns:
{
"error": "Unauthorized",
"message": "Invalid or missing API key"
}
HTTP code: 401 Unauthorized