Learn how to securely access the ILAL API using your API Key
The ILAL API uses Bearer Token authentication. Every request must include your API Key in the HTTP header.
Authorization: Bearer YOUR_API_KEYcurl -X GET https://api.ilal.tech/api/v1/session/status \
-H "X-API-Key: ilal_live_1234567890abcdef" \
-H "Content-Type: application/json"// .env file
ILAL_API_KEY=ilal_live_1234567890abcdef
// In your code
const apiKey = process.env.ILAL_API_KEY;401 UnauthorizedMissing or invalid API Key{
"error": "Unauthorized",
"message": "Invalid API key"
}429 Too Many RequestsRate limit exceeded{
"error": "Rate limit exceeded",
"message": "You have exceeded your rate limit",
"retryAfter": 60
}You can create, view, and revoke API Keys from the Dashboard.
Go to API Keys Management