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 of results per page: a whole number from
1 to 100. Defaults to 20. A larger value is rejected with 400 connection/invalid-query, never lowered to 100.Returns
APaginatedResponse<ConnectionRow>:
Array of pending requests. See ConnectionRow.
Related
- useFetchSentPendingConnections — outgoing requests
- useAcceptConnection — accept a received request
- useDeclineConnection — decline a received request

