Salesforce Apex REST Endpoint as Proxy Server.
Chat api endpoint salesforce. In the sidebar under Cloud Connectors click Mappings. Either way you can use the Salesforce REST API to do all of the standard CRUD create read update and delete operations or you can build some custom Apex logic and expose that through the REST API in order to streamline the processing. Salesforce Classic and Lightning Experience.
To find the Endpoints for the Salesforce object mapping. Select Access and manage your data API. For more information see Authentication.
2 Make sure an agent is online. Get the Chat API Endpoint. Be sure not to include the protocol or the path.
Click on the Endpoints label to display the Endpoint URLs table. Get the Chat Button Id. This is explained further in this article.
Post using the Session Id to initiate the Chat. Your Live Agent API endpoint is a unique URL that lets you access data from your organizations Live Agent sessions. Replace the hostname variable with your API endpoint in the URL for each new request.
Add request header consetRequestPropertyUser-Agent USER_AGENT. URL endpoint new URLLIVE_AGENT_URL chatrestChasitorChatMessage. Access our SDK through the Rest class under the purecloudSDKRest namespace.