conversations(projectReference: String, limit: Int, cursor: String, type: String, participantIds: [ID!], agentId: String, userId: ID, search: String, sortBy: String, sortOrder: String): ConversationConnection!
Arguments
Response
Returns ConversationConnection!. Open the type for its fields and nested types.
Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.
Example
query Conversations($projectReference: String, $limit: Int, $cursor: String, $type: String, $participantIds: [ID!], $agentId: String, $userId: ID, $search: String, $sortBy: String, $sortOrder: String) {
conversations(projectReference: $projectReference, limit: $limit, cursor: $cursor, type: $type, participantIds: $participantIds, agentId: $agentId, userId: $userId, search: $search, sortBy: $sortBy, sortOrder: $sortOrder) {
data {
id
projectId
status
createdAt
updatedAt
}
pageInfo {
hasNextPage
endCursor
hasPreviousPage
startCursor
}
}
}{}