Reference / Hosts by environment
Reference / Hosts by environment
Hosts by environment
Endpoints for the production and development environments.
Hosts
| Environment | host | chatAppUrl |
|---|---|---|
| Production | https://api.lillo.cx | https://chat.lillo.cx |
| Development | https://api-dev.lillo.cx | https://chat-dev.lillo.cx |
Use the environment toggle on the console's button install page to get a snippet for each environment.
Production — init config
window.LilloSDK.init({
host: 'https://api.lillo.cx',
chatAppUrl: 'https://chat.lillo.cx',
clientKey: 'YOUR_CLIENT_KEY'
});Development — init config
window.LilloSDK.init({
host: 'https://api-dev.lillo.cx',
chatAppUrl: 'https://chat-dev.lillo.cx',
clientKey: 'YOUR_DEV_CLIENT_KEY'
});