wscat -k 60 -H "Authorization:jwt $LP_JWT" -c "wss://$LP_ASYNCMESSAGINGENT/ws_api/account/$LP_ACCOUNT/messaging/consumer?v=3"
Client properties can be added to the connection URL as query params. The full list of supported client properties can be found here.
Where LP_JWT is your token.
You can use the
message builder to build and explore the structure of the API messages. The following table summarizes the API messages and provides some examples .
Agent Public Profile
In order to retrieve the Agent's public profile during a conversation (which is useful if you're looking to display specific agent details, like agent name or picture, during the conversation), please see this method.