Skip to main content

Overview

Returns a function that fetches a paginated list of the users the current user has blocked (their outbound blocks), each row carrying a public profile summary. This is the private “manage / way back to unblock” surface — it exposes only the current user’s own blocks.

Usage Example

Parameters

The hook returns a function. That function accepts an optional object:
number
default:"1"
Page number for pagination.
number
Number of results per page: a whole number from 1 to 100. Defaults to 20. A larger value is rejected with 400 block/invalid-query, never lowered to 100.

Returns

A PaginatedResponse<BlockRow>, newest block first. Each entry is a BlockRow:
string
ID of the block record.
User
The blocked user. Public profile fields only. See User data model.
string
ISO timestamp of when the block was created.
The response also carries pagination: page, pageSize, totalPages, totalItems and hasMore.