Canonical: https://weaveos.com/reference/google-pubsub/list-topic-subscriptions

1. [Software capabilities](https://weaveos.com/reference)
2. /[Google Cloud Pub/Sub](https://weaveos.com/reference/google-pubsub)
3. /List subscriptions attached to a Pub/Sub topic

[![](https://weaveos.com/reference/logos/google-pubsub.svg)Google Cloud Pub/Sub](https://weaveos.com/reference/google-pubsub)

# List subscriptions attached to a Pub/Sub topic

Call the Pub/Sub REST method when a service needs a machine-readable list. Use gcloud for an operator’s filtered list from the terminal.

Documentation reviewed November 27, 2026 · 2 methods with sources

## Ways to do it

1. [1API: GET /v1/{topic}/subscriptions](https://weaveos.com/reference/google-pubsub/list-topic-subscriptions#method-1)
2. [2CLI: gcloud pubsub topics list-subscriptions](https://weaveos.com/reference/google-pubsub/list-topic-subscriptions#method-2)

API

### GET /v1/{topic}/subscriptions

List subscription names attached to a topic and follow nextPageToken for more results.

[Read source: Pub/Sub topics subscriptions.list reference](https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics.subscriptions/list)

- Requirements

  The full topic resource name and OAuth credentials with pubsub.topics.get permission on the topic and a pubsub or cloud-platform scope.

- Limitations

  The response contains subscription names. To read settings such as retention or delivery, look up each subscription by name.

Example shell

Copy

```
curl --fail -H "Authorization: Bearer $GOOGLE_ACCESS_TOKEN" "https://pubsub.googleapis.com/v1/projects/$PROJECT/topics/$TOPIC/subscriptions?pageSize=100"
```

CLI

### gcloud pubsub topics list-subscriptions

List all subscriptions attached to a topic and optionally filter or limit the result.

[Read source: gcloud Pub/Sub list-subscriptions reference](https://cloud.google.com/sdk/gcloud/reference/pubsub/topics/list-subscriptions)

- Requirements

  An authenticated gcloud CLI, pubsub.topics.get permission on the topic, and a full topic name or a configured project.

- Limitations

  This listing is scoped to one topic. Use --limit to cap the total results or --page-size to adjust the number requested per page.

Example shell

Copy

```
gcloud pubsub topics list-subscriptions "projects/$PROJECT/topics/$TOPIC" --format=json
```

## More from Google Cloud Pub/Sub

[View all 1 Google Cloud Pub/Sub tasks](https://weaveos.com/reference/google-pubsub)

## The same task in other apps

- [![](https://weaveos.com/reference/logos/amazon-sns.svg)Amazon SNS](https://weaveos.com/reference/amazon-sns)

  ### [How to list Amazon SNS subscriptions for a topic](https://weaveos.com/reference/amazon-sns/list-topic-subscriptions)

  Use ListSubscriptionsByTopic to enumerate subscriptions for a known topic ARN. Use the AWS CLI when you want it to retrieve successive pages for you.

  API, CLI
