List conversation messages
https://api.flownally.com/v1/conversations/{id}/messagesReturns the conversation's messages, newest first (by createdAt, then id), together
with the conversation itself.Pass sessionId to list only the messages of one session, including a closed one. The
session must belong to this conversation and be accessible to the caller; otherwise the
request returns 404. With sessionId, conversation describes that session and its
latest message that isn't deleted: messagingWindow, automationOutcome and
actionContext are omitted and waitingSince is null. For a session without messages,
lastMessageAt is when the session started and lastMessagePreview is empty.To get the next page, pass nextPageToken as pageToken with the same conversation and
sessionId. pageSize can change between pages. Each page is read from a separate
snapshot, so later pages can reflect updates made after earlier pages were read.
Authorization
- conversation:read
- owner
- admin
- agent
List messages for a conversation in scope.
Parameters
- Name
id- Type
- path · string
- required
Conversation ID.- Name
sessionId- Type
- query · string
Return only messages from this session, for example thesessionIdof a message or webhook. Omit to list all of the conversation's messages.- Name
pageSize- Type
- query · integer
Values above 100 are reduced to 100; 0 or omitted uses the default (50).- Name
pageToken- Type
- query · string
Token returned asnextPageTokenfrom the previous page.
Responses
- 200List of messagesapplication/json
- defaultErrorapplication/json
Related schemas
- ProblemDetails
- FieldViolation
- Window
- InboxActionContext
- TextMessageContent
- TextContent
- MediaMessageContent
- Content
- TemplateMessageContent
- WhatsAppTemplateContent
- TemplateComponent
- TemplateParameter
- Parameter
- CurrencyParameter
- DateTimeParameter
- RichMessageContent
- RichMessage
- Card
- CardHeader
- CardBody
- CardFooter
- CardAction
- WhatsAppFlowAction
- WhatsAppMessageContent
- WhatsAppContent
- WhatsAppRequestContactInfoContent
- MessageContextMessageReference
- Message
- MessageContent
- FormResponseMessageContent
- FormResponseContent
- LocationMessageContent
- LocationContent
- InteractiveReplyMessageContent
- InteractiveReplyContent
- SystemMessageContent
- SystemContent
- Reaction
- MessageContext
- MessageContextReference
- MessageContextResourceReference
- MessageContextUnavailableReference
- ExternalResourceSnapshot
- Conversation
- ConversationOwner
- ConversationBan
- ConversationBanActor
- ConversationDetail
- ListMessagesResponse
Generated from the API spec.