Getting started
Base URL
Configure the global ChatKazi API URL.
Use this global base URL for ChatKazi API requests:
https://chatkazi.locci.cloud/api/v1
Configure your backend
Store the base URL and API key in your backend config.
.env
CHATKAZI_BASE_URL=https://chatkazi.locci.cloud/api/v1
CHATKAZI_API_KEY=ck_live_your_api_key
Keep the API key private
Your frontend should not call ChatKazi directly with an API key.
Use this shape instead:
Browser -> Your backend -> ChatKazi API
That keeps your key private, lets you validate business rules before sending, and gives you one place to handle retries and logging.