---
title: "POST /v1/{+parent}:listCollectionIds"
method: POST
path: "/v1/{+parent}:listCollectionIds"
tags: ["projects"]
---

# POST /v1/{+parent}:listCollectionIds

`POST /v1/{+parent}:listCollectionIds`

Lists all the collection IDs underneath a document.

## Path parameters

- `parent` string, required

## Request body

- ListCollectionIdsRequest — The request for Firestore.ListCollectionIds.
  - `requestOptions` RequestOptions — Options for a server request.
    - `requestTags` string[] — Optional. The request tags for the request.
  - `pageSize` integer — The maximum number of results to return.
  - `pageToken` string — A page token. Must be a value from ListCollectionIdsResponse.
  - `readTime` string, google-datetime — Reads documents as they were at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/firestore.md) · [All operations](https://skmtc.net/google/apis/firestore/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/firestore/versions/11bc07a83431/schema)
