Overview
Returns a function that fetches the paginated list of connection requests that other users have sent to the current authenticated user and that have not yet been accepted or declined.Users with a block between them and you, in either direction, are excluded
from the results. Requires the
moderation bundle.Usage Example
Parameters
The hook returns a function. That function accepts:number
Page number to fetch. Defaults to
1.number
Number of results per page. Defaults to
20.Returns
Returns aPaginatedResponse containing pending connection entries:
PendingConnection[]
Array of pending connection entries.
object
Pagination metadata including
page, pageSize, totalPages, totalItems, and hasMore.Related
- useFetchSentPendingConnections — outgoing requests
- useAcceptConnection — accept a received request
- useDeclineConnection — decline a received request

