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

# get user topic attachments

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

returns all attachments of the topic where user has permissions

## Path parameters

- `userId` string, required
- `topicId` string, required

## Response `200`

Returns attachments list

- object
  - `status` object
    - `code` integer
  - `data` object
    - `count` integer — attachments count
    - `rows` Attachment[]
      - `name` string
      - `type` string
      - `size` integer
      - `source` string
      - `creatorId` string
      - `link` string

---

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