Skip to main content
Fetch Received Pending Connections
Returns a paginated list of connection requests that other users have sent to the authenticated user and that have not yet been responded to.
Users with a block between them and the acting user (the signed-in user, or the user a service key names in actingUserId), in either direction, are excluded from the results. Requires the moderation bundle.

Query Parameters

number
Page number (1-indexed): a whole number, 1 or more. Defaults to 1. Any other value returns 400 connection/invalid-query with param: "page".
number
Results per page: a whole number from 1 to 100. Defaults to 20. A larger value returns 400 connection/invalid-query with param: "limit" (it is never lowered to 100), as does 0, a negative number or a value that isn’t a whole number. See Pagination.
string
Service key only, and required with one: the user this request acts as. The pending requests they received are listed. A user token always acts as its own user and must not send it (400 connection/acting-user-not-allowed).

Response

On success, returns HTTP 200 with a paginated response:
array
Array of connection rows.
object
Pagination metadata.

Error Responses

A service key sent no actingUserId.
A user token sent actingUserId, even naming its own user. Only a service key names the user it acts as; a user token always acts as its own user.
Returned when a service key names an actingUserId that isn’t a user in this project.
The request sent userId. On this route the user a service key acts as is actingUserId.With a service key:
With a user token, or with no credentials:

See Also