conversations
Searches and retrieves a paginated list of conversations based on filters. Use this to find conversations by status, assignment, date range, or other criteria. Returns conversations sorted by the specified field or by last activity.
conversations(ids: [String], departmentId: String, status: ConversationStatus, unAssigned: Boolean, tag: String, integrationType: String, integrationId: String, participating: String, awaitingResponse: String, starred: String, startDate: String, endDate: String, segment: String, assignedUserId: String, sortField: String, sortDirection: SortDirection, page: Int, perPage: Int): ConversationListResponseArguments
Filter by specific conversation IDs
Filter by department ID
Filter by conversation status
Filter unassigned conversations only ('true' to get unassigned, 'false' to get assigned, keep empty for no filter)
Filter by tag ID or name
Filter by integration type (e.g., 'messenger', 'email', 'facebook', 'whatsapp')
Filter by specific integration ID
Filter conversations where current user is participating ('true'/'false')
Filter conversations where customer awaiting response ('true'/'false')
Filter starred/favorited conversations ('true'/'false')
Filter by start date (ISO date string)
Filter by end date (ISO date string)
Filter by customer segment ID
Filter by assigned user/agent ID
Field to sort results by (e.g., 'createdAt', 'updatedAt')
Sort direction: 'asc' for ascending, 'desc' for descending
Page number (1-based, default: 1)
Number of items per page (default: 20, max: 100)
Returns
The list of conversations for the current page.
Pagination metadata.
Related topics
ConversationConversationStatusconversationsAssignconversationsUnassignconversationCounts