---
title: "Add Topic as pinned"
method: POST
path: "/api/users/:userId/topics/:topicId/pin"
tags: ["pinned"]
---

# Add Topic as pinned

`POST /api/users/:userId/topics/:topicId/pin`

Add Topic as pinned

## Path parameters

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

## Response `200`

Ok

- object
  - `status` object
    - `code` string

## Changes

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

- **2019-01-08** `59c81251b4e5` — 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/pin/post.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)
