Skip to main content
QUERY
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): ConversationListResponse

Arguments

ids
[String]

Filter by specific conversation IDs

departmentId
String

Filter by department id.

unAssigned
Boolean

true returns unassigned conversations only, false returns assigned only, omit for no filter.

tag
String

Filter by tag id or name.

integrationType
String

Filter by integration kind (e.g. messenger, email, facebook, whatsapp).

integrationId
String

Filter by a specific Integration id.

participating
String

"true"/"false" — filter conversations where the current user is participating.

awaitingResponse
String

"true"/"false" — filter conversations currently awaiting a customer's response.

starred
String

"true"/"false" — filter starred/favorited conversations.

startDate
String

Filter by start date (ISO date string).

endDate
String

Filter by end date (ISO date string).

segment
String

Filter by customer segment id.

assignedUserId
String

Filter by assigned user/agent id.

sortField
String

Field to sort by (e.g. createdAt, updatedAt). Default: updatedAt.

sortDirection

Sort direction. Default: desc.

page
Int

1-based page index. Default: 1. See Pagination.

perPage
Int

Page size. Default: 20. Maximum: 100.

Conversation rows for the current page.

pagination

Standard pagination metadata: totalCount, currentPage, totalPages, hasNextPage, hasPreviousPage, perPage.

Query
Response
آخر تعديل في ١١ أغسطس ٢٠٢٦