// System API key in dashboard{ "X-API-Key": "system-wide-key"}// User token in widgetconst options = { headers: { "User-Token": userSpecificToken }};
Security Tips: - Use dashboard authentication for sensitive credentials - Use widget headers
for user-specific tokens - Never expose system-wide API keys in frontend code - Always use HTTPS
for API calls