---
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

## Changes

> 10 revisions in range; 1 could not be searched.

- **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/:topicId/attachments/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/ca28908e6b75/schema)
