Customers
Get a customer
One customer: name, email, session fields, their chats and recent pages.
POST/v1/agent/action/get_customer
Specifics
| Method URL | POST https://app.staging.mlive.chat/v1/agent/action/get_customer |
|---|---|
| Who can call it | Bots, with a bot token (mlcb_). |
Request body
application/json
idstringrequiredThe customer ID.
Response
200 · application/json
OK.
idstringrequiredtypestringrequiredOne ofcustomer.namestringemailstringcreated_atstringrequiredsession_fieldsarray of objectrequiredchat_idsarray of stringrequiredstatisticsobjectrequiredvisitobject
Errors
- default
Nothing found. Try a method name, such as send event.