Authentication Guide
Plan credential handling and make API requests through your application backend.
Published
Confirm your access contract
Contact the KundaliAPI team for your API environment, account access and credential requirements. Use the actual issued authentication contract; do not assume a header name from an illustrative code sample.
Keep private credentials private
Store API credentials in server-side environment configuration. Public frontend environment variables and client storage do not protect a private API key.
Handle rejected requests
Check the HTTP status and documented error response. Treat backend authorization as authoritative and give your application a useful state when access is missing or a request is rejected.