Invoke the Conversation History API
Before you begin, you must Configure a Messaging for Web 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
AuthorizationContext
API header, provide thedeveloperName
of the ConnectedApp configured above and set theAuthorizationContextType
header value toEmbeddedMessagingChannel
. - In the
conversationParticipants.participant
parameter, when therole
isEndUser
, set theappType
toiamessage
.
- In the
See Also
- Interaction Service API: Send Historical Conversation Entries
- GitHub: Interaction Service APIs