---
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
      - `padUrl` string
      - `endsAt` string
      - `hashtag` string
      - `createdAt` string
      - `updatedAt` string

## Changes

- **2018-08-20** `3ff54b27e8aa` — 1 info
  - endpoint added
- **2018-08-20** `ba36cd387928` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/citizenos/apis/citizenos-api/changes/api/users/:userId/topics/get.md)

---

[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/3ff54b27e8aa/schema)
