Get Conversation id on chatEnded

Hi all,
We would like to start a survey when the web chat is ended. To link the survey to the conversation, do we have any way to get the conversation id or other information when the event chatEnded is triggered?

See the Chat start and end events in the web chat docs. You can be notified that the chat was ended, but the conversation ID is not exposed publicly. One approach to linking external things done on the customer side with the PureCloud conversation is to pass additional data with the chat when it's created and it will be stored as participant attributes. Those can be retrieved from the conversation later using the conversation APIs. That data isn't searchable, but it's there.

Thank you @tim.smith for you usual fast answer.
That was indeed my backup plan. Will try it.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.