conversationResolveAll
Resolves (closes) all conversations matching the filter criteria. Use with caution as this performs a bulk status change. Returns the count of conversations resolved.
conversationResolveAll(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): IntArguments
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