get
https://api.customerly.io/v2/conversations//messages
Retrieves the message history for a specific conversation. Messages include:
- Text content and attachments
- Sender information (contact, teammate, or bot)
- Timestamps and read status
Results are paginated using cursor-based pagination. By default, messages are returned
in newest_first order, but you can use oldest_first to start from the beginning
of the conversation.
Response field values
type - Type of message or event:
message: Regular message from contact or agentnote: Internal note (visible only to teammates)close: Conversation was closedassignment: Conversation was assignedreply_close: Reply that also closed the conversationreply_assignment: Reply that also reassigned the conversationassignment_open: Assignment that reopened the conversationchange_tag: Priority tag was changedvideo_call_missed: Video call was not answeredvideo_call_started: Video call was initiatedmessage_with_choices: Message with clickable optionschatflow_enter: Contact entered a chatflowchatflow_escalation: Chatflow escalated to human agentcsat: Customer satisfaction surveyprofiling: Contact profiling questionchatflow_api: Chatflow API actionsnoozed: Conversation was snoozedchannel_handoff_requested: Channel switch requestedchannel_handoff_completed: Channel switch completed
channel - Channel used for this message:
in_app: Live chat widgetemail: Emailfacebook: Facebook Messengerwhatsapp: WhatsApp
channel_delivery.email.status - Email delivery status:
sending: Email is being sentsent: Email has been sent
channel_delivery.whatsapp.status - WhatsApp delivery status:
failed: Delivery failedsending: Message is being sentsent: Message has been sent
channel_delivery.whatsapp.error_details.code - WhatsApp error code (when status is failed):
user_whatsapp_not_found: User WhatsApp number not foundapp_whatsapp_number_not_found: App WhatsApp number not foundapp_whatsapp_number_stopped: App WhatsApp number stoppedtemplate_not_found: WhatsApp template not foundcustomer_service_window_expired: Customer service window expired (24h limit)send_failed_unknown: Send failed for unknown reasonmeta_api_error: Meta API error (checkmeta_codefor details)
chatflow.escalation_reason - Reason for AI escalation (when type is chatflow_escalation):
low_confidence: AI had low confidence in the responsemissing_information: Missing information to answerhuman_requested: Contact explicitly requested human supportexception: An exception occurredloop_detected: Conversation loop detectedunknown: Unknown reasonoutside_mission: Question outside AI mission scopeuser_exited: Contact exited the chatflownode_deleted: Chatflow node was deletedinteractions_depleted: Maximum interactions reachedcontent_security_policy: Content security policy violationai_disabled: AI assistant is disabledai_conversations_credit_exhausted: AI conversations credit exhaustedtoo_bothering: AI detected it was being too persistentmessage_not_sent: Message could not be sent
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
401Authentication required
403Permission denied
404Conversation not found
422The request is not valid