List C2C connections (paginated)
GraphQL endpoint: /user
Lists the calling user's connections to other users, regardless of which side initiated the connection. Results can be filtered by connection type (includedTypes) or by the other party's name (userName), and are cursor-paginated: pass limit and the previous page's nextCursor as cursor to fetch the next page.
Query
query (
$includedTypes: [C2cConnectionType!]
$userName: String
$limit: Int
$cursor: String
) {
paginatedC2cConnections (
includedTypes: $includedTypes
userName: $userName
limit: $limit
cursor: $cursor
) {
paginationInfo {
limit
nextCursor
}
records {
id
type
user {
id
}
connectedUser {
id
}
}
}
}
Variables
Response
Last updated