We need some guidance with the Live Agent REST API Chat Invitation. We scoured the REST API documentation but found nothing to guide us with implementing the chat invitation (Only info for Deployment API). There is clearly some button properties that are used for the chat invitation listed in V.39 of the Live Agent REST developer guide https://developer.salesforce.com/docs/atlas.en-us.206.0.live_agent_rest.meta/live_agent_rest/live_agent_rest_data_types.htm

But we would like some code samples or guidance on how to use these to create a automated invitation. Can someone provide us code samples or written outline of the approach to use REST API to create a chat invitation?

Thank you so much. 

1 Answer 1


Though it is late. I have posted a working example of Live Agent REST API written in Java. Please refer to this Salesforce Stack Exchange Question Unable to send chat message in live agent via REST API.

Note:- Though this is a link only answer, I don't want to duplicate the answer in two places in SFSE.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .