Customer Chat APISet session fields

Customers

Set session fields

Replaces the visitor's session fields (up to 30 one-key objects, string values).

POST/v1/customer/action/set_customer_session_fields

Specifics

Method URLPOST https://app.staging.mlive.chat/v1/customer/action/set_customer_session_fields
Who can call itVisitors, with a customer access token (mlcc_).

Request body

application/json

  • session_fieldsarray of objectrequired

Response

200 · application/json

OK.

Errors

  • default