Hi Lucas,
Yes! This exactly what I'm looking to do.
I'm currently using the framework.js and handling specific interaction and notification events.
There's a `messageUpdate` event (under notification type) which provides the most recent 5 messages in the conversation.
I'm having issues retrieving the full list of messages, the API you mentioned requires a json body listing out the message IDs which I'm not sure how to obtain the full history. Do you have tips?
Otherwise, I've found that send message api and an api to end the conversation.
Thank you so much
------------------------------
Andrew Dong
------------------------------
Original Message:
Sent: 03-07-2026 18:11
From: Lucas Woodward
Subject: Building Custom UI for rendering Web Messages from Embeddable Framework
In the past I have hooked together something similar whereby I:
- Detected a conversation starting via events from the Embedded Framework
- Retrieve all messages
- Provide a UI for sending a message
I've just skimmed over the solution, and written down the following notes. I hope they help.
1. Consume when Messenger Conversation begins via Embedded Framework
- Framework.js updated to publish all
Interaction events - Website hosting Embedded Framework listens for said events
- Events that indicate a Change category and Connected state consumed
- Conversation ID and Channel extracted
At this point we can tell when a conversation has started and that is a Messenger type.
2. Retrieve conversation messages
The messages are pulled down with:
POST /api/v2/conversations/messages/{conversationId}/messages/bulk
The Notification API is used to tell when there are new messages to pull down.
3. Send Message
Messages are sent against the conversation with:
POST /api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages
------------------------------
Lucas Woodward
Winner of Orchestrator of the Year, Developer (2025)
LinkedIn - https://www.linkedin.com/in/lucas-woodward-the-dev
Newsletter - https://makingchatbots.com
------------------------------