Summary
You can now create and manage chat widgets through public APIs. This makes it easier to automate setup and integrate widget workflows into your systems.
What’s new
- API-based chat widget creation — Create chat widgets programmatically without relying on the UI.
- Supported chat types — Live Chat and Email Chat are supported for API-based creation.
- End-to-end widget management — APIs are available to list, fetch, update, and delete chat widgets.
- Flexible listing support — Retrieve all widgets (including those created in the UI) with filtering options.
- Improved validation and error handling — Clear error responses for unsupported chat types and invalid requests.
How to use
- Generate API credentials from your Leadli account.
- Use the chat widget APIs to create widgets (Live Chat / Email Chat) and fetch or update existing widgets.
- Integrate this into your onboarding, SaaS workflows, or automation systems.
Why this feature
- Scale faster: Automate widget creation across multiple locations.
- Enable integrations: Connect chat widgets with external tools, CRMs, or onboarding systems.
- Improve efficiency: Reduce manual setup effort for agencies and SaaS builders.
- Future-ready: Establish a foundation for expanding chat types and deeper automation.
What’s next
- Support for additional chat types (WhatsApp, Facebook, Instagram, Voice AI, All in One).
- More advanced configuration APIs.
Notes
- Widget creation via API is currently limited to Live Chat and Email Chat.
- Other chat types can still be listed if they were created in the UI.
- Contact support to get started with the API!