Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
Register now
Changes
Page history
Update API Call Flow (Web)
authored
Jul 23, 2024
by
Nuwan
Hide whitespace changes
Inline
Side-by-side
common/API-Call-Flow-(Web).md
View page @
17071d6d
...
...
@@ -5,8 +5,8 @@ graph TB
Livechat2Api --Custom Login --> api:setUserAuth
api:setUserAuth-->api:start
api:start-->evt:onStartSuceess
evt:onStartSuceess-->api:findUser
api:findUser
(optional)
-->evt:onRequestQueued
evt:onStartSuceess-->api:findUser
*
api:findUser
*
-->evt:onRequestQueued
evt:onRequestQueued -->evt:onUserFound
evt:onRequestQueued -->evt:onUserNotFound
...
...
@@ -20,5 +20,5 @@ api:start-->evt:onStartFailed
evt:onStartFailed --> End
```
*
Livechat2Api object exposes documented events and application must set handlers for those accordingly.
\ No newline at end of file
*
api.findUser is optional and not required for most cases.
*
Livechat2Api object exposes documented events for application to set handlers accordingly.
\ No newline at end of file