Skip to main content
Fetch Blocked Users
Returns a paginated list of the users the acting user has blocked (their outbound blocks), each row carrying a public summary of the blocked user. This is the private “manage / way back to unblock” surface.
A block list is private — only the blocker can read their own list. It exposes only the caller’s outbound blocks; there is no way to read who has blocked the caller.
Requires the moderation bundle. A project without the moderation bundle returns 403 database/tables-not-available. See Bundles.

Query Parameters

number
default:"1"
Page number (1-indexed): a whole number, 1 or more. Defaults to 1. Any other value returns 400 block/invalid-query with param: "page".
number
default:"20"
Results per page: a whole number from 1 to 100. Defaults to 20. A larger value returns 400 block/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. Their own block list (as the blocker) is returned. A user token always acts as its own user and must not send it (400 block/acting-user-not-allowed).

Response

On success, returns HTTP 200 with a paginated response:
array
Array of block 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