Skip to main content
GET
/
:projectId
/
api
/
v7
/
spaces
Fetch Spaces
curl --request GET \
  --url https://api.replyke.com/api/v6/:projectId/api/v7/spaces
{
  "data": [
    {}
  ],
  "pagination": {
    "page": 123,
    "pageSize": 123,
    "totalPages": 123,
    "totalItems": 123,
    "hasMore": true
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.replyke.com/llms.txt

Use this file to discover all available pages before exploring further.

Fetches a paginated list of spaces. Supports filtering by search query, membership, and parent space. Authentication is optional — if provided, member-only spaces the user belongs to are included.

Query Parameters

page
number
Page number. Defaults to 1.
limit
number
Results per page.
sortBy
string
Sort order: "alphabetical", "newest", or "members". Defaults to "members".
searchSlug
string
Filter by slug substring.
searchName
string
Filter by name substring.
searchDescription
string
Filter by description substring.
searchAny
string
Search across name, slug, and description simultaneously.
memberOf
boolean
When true, returns only spaces where the authenticated user is an active member.
parentSpaceId
string
Filter to child spaces of a specific parent. Pass "null" for root-level spaces only.
include
string
Optional comma-separated includes. Pass "files" to include avatar file objects.

Response

data
Space[]
Array of Space objects.
pagination
object
See also: useFetchManySpaces