List conversations
GET
https://api.flownally.com/v1/conversationsReturns the conversations the caller can access, one page at a time. Pass nextPageToken
as pageToken to get the next page. Each page is read from a separate snapshot.Each conversation carries the same messagingWindow as getConversation, so a reply can
be offered or blocked before the detail loads.
Authorization
Required scopes
- conversation:list
Allowed roles
- owner
- admin
- agent
List conversations in the caller's conversation scope.
Parameters
- Name
skipBucketCounts- Type
- query · boolean
Set totrueto leavebucketCountsout of the response, for example on later pages. Defaults tofalse.- 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.- Name
interacted- Type
- query · boolean
truereturns only conversations in which the customer has sent a message;falsereturns only those in which they haven't.- Name
banned- Type
- query · boolean
truereturns only conversations whose customer is banned;falsereturns only those whose customer isn't. Omitted returns both. Setting it orders by recent activity, likebucket. For the main inbox leave it unset: filtering onfalsemakes the counts slower.- Name
search- Type
- query · string
Case-insensitive substring match on the conversationnameandexternalId. A phone number also matches the customer's phone number, ignoring formatting.- Name
conversationIds- Type
- query · array<string>
Return only these conversations. Conversations the caller can't access are left out.- Name
status- Type
- query · array<enum>
Return only conversations with one of thesestatusvalues.- Name
ownerType- Type
- query · array<enum>
Return only conversations whoseactiveOwnerhas one of these types.unassignedmatches sessions without an owner.externalmatches conversations a party Flownally does not run is answering; they match no other type.- Name
sort- Type
- query · enum
status: pending, then open, cold and closed conversations, each group ordered by the customer's latest message.recent: bylastMessageAt.waiting: bywaitingSince, followed by conversations that aren't waiting.
bucketormine,statusorders likerecent.- Name
bucket- Type
- query · enum
Return only conversations in this bucket:open: the session is pending or open and assigned to a teammate or unassigned.automated: the session isn't closed and is owned by a chatbot, journey, API key or connected inbox. A conversation held by an external responder that Flownally doesn't run, such as Meta's Business Agent on WhatsApp, isautomatedwhile its session isn't closed, whoever owns the session.done: every session is closed, or the conversation has no session.
- Name
mine- Type
- query · boolean
Return only conversations in theopenbucket that are assigned to the caller. Works only for a signed-in user; with an API key the request fails with400.- Name
orderDirection- Type
- query · enum
Direction of the time ordering thatsortuses.
Responses
- 200List of conversationsapplication/json
- defaultErrorapplication/json
Related schemas
Generated from the API spec.