Invoke the Conversation History API
Before you begin, you must Configure an Enhanced Web Chat Deployment.
-
Add the developer name of the connected app you created in Create a Connected App to the MessagingChannel Metadata Configuration.
-
Use the connected app you created in Create a Connected App to invoke the Conversation History API.
- In the
AuthorizationContextAPI header, provide thedeveloperNameof the ConnectedApp configured above and set theAuthorizationContextTypeheader value toEmbeddedMessagingChannel. - In the
conversationParticipants.participantparameter, when theroleisEndUser, set theappTypetoiamessage.
- In the
See Also
- Interaction Service API: Send Historical Conversation Entries
- GitHub: Interaction Service APIs