---
title: "All user topics"
method: GET
path: "/api/users/:userId/topics"
tags: ["topic"]
---

# All user topics

`GET /api/users/:userId/topics`

Get all topics user belongs to

## Path parameters

- `userId` string, required

## Query parameters

- `include` string
- `creatorId` string
- `visibility` string, required

## Response `200`

Return all user related topics

- object
  - `status` object
    - `code` integer
  - `data` object
    - `count` integer — number of returned topics
    - `rows` Topic[]
      - `id` string, uuid
      - `title` string, nullable
      - `description` string, html
      - `status` 'inProgress' | 'voting' | 'followUp' | 'closed'
      - `visibility` 'public' | 'private'
      - `categories` string[]
      - `sourcePartnerId` string, uuid
      - `sourcePartnerObjectId` string
      - `creator` object
        - `id` string, uuid
        - `name` string
      - `tokenJoin` string, nullable — This value is only returned by authorized endpoints
      - `padUrl` string
      - `endsAt` string
      - `pinned` boolean — This value is only returned by authorized endpoints
      - `hashtag` string
      - `createdAt` string
      - `updatedAt` string

---

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