Skip to main content
GET
/
:projectId
/
api
/
v7
/
collections
/
:collectionId
/
sub-collections
Fetch Sub-Collections
curl --request GET \
  --url https://api.replyke.com/api/v6/:projectId/api/v7/collections/:collectionId/sub-collections
Returns all sub-collections directly under the specified collection, owned by the authenticated user.

Path Parameters

collectionId
string
required
The ID of the parent collection whose direct children should be returned.

Response

Returns an array of Collection objects.
[
  {
    "id": "col_abc",
    "name": "To Read",
    "parentId": "col_root",
    "entityCount": 5,
    "createdAt": "2025-01-15T10:00:00.000Z",
    "updatedAt": "2025-01-15T10:00:00.000Z"
  }
]

Error Responses

{ "error": "Server error", "code": "collection/server-error" }