Customer Chat APIUsing the Customer Chat API

Overview

Using the Customer Chat API

15 methods for the visitor’s side of a chat.

Before you start

The Customer Chat API is the visitor’s side of a chat: what the chat window on a website calls. Start with Get an access token, then send it as Authorization: Bearer mlcc_… on every method: one POST to https://app.staging.mlive.chat/v1/customer/action/<method> each. Live updates come over the WebSocket.

Customer Chat API resources

Hearing about changes

Calls answer with the result; everything that happens in a chat after that arrives as a push on the WebSocket. Each method’s Specifics name the push it causes.