Chat API Authentication
Sign up
If your application has it’s own user authentication, application server should create external chat user via M2M API POST /m2m/{appId}/users/create
method. ExternalId
used in the request is unique user identifier in your service.
To create a user that can authenticate from client app directly on livedigital Chat API by username and password, use POST /signup
method.
Sign in
If your application has it’s own user authentication, client application fetches chat user token from application server, while application server fetches external chat user token from M2M API GET /m2m/{appId}/token/{externalId}
method.
If client app user authenticates directly on livedigital Chat API by username and password, use POST /login
method.