Skip to main content
GET
/
:projectId
/
api
/
v7
/
spaces
/
by-slug
Fetch Space by Slug
curl --request GET \
  --url https://api.replyke.com/api/v6/:projectId/api/v7/spaces/by-slug

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 space using its slug. Slugs are optional and unique per project.

Query Parameters

slug
string
required
The URL slug of the space.
include
string
Optional. Pass "files" to include file objects.

Response

Returns a SpaceDetailed object.

Error Responses

{ "error": "Space not found.", "code": "space/not-found" }
See also: useFetchSpaceBySlug