---
title: "Get a list of all namespaces the user belongs to."
method: GET
path: "/namespaces/"
tags: ["namespaces"]
---

# Get a list of all namespaces the user belongs to.

`GET /namespaces/`

Get a list of all namespaces the user belongs to.

## Query parameters

- `page` integer
- `page_size` integer

## Response `200`

OK

- Namespace[]
  - `name` string
  - `slug` string, slug
  - `slug_perm` string, slug
  - `type_name` string

## Other responses

- `400` — Request could not be processed (see detail).
- `422` — Missing or invalid parameters (see detail).

---

[API](https://skmtc.dev/cloudsmith/apis/cloudsmith-api-v1.md) · [All operations](https://skmtc.dev/cloudsmith/apis/cloudsmith-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cloudsmith/cloudsmith-api-v1/revisions/4d7879df9b2f/schema)
