---
title: "Pin comment"
method: POST
path: "/api/posts/{post_id}/comments/{id}/pin"
tags: ["Comments"]
---

# Pin comment

`POST /api/posts/{post_id}/comments/{id}/pin`

## Request

- Base URL: `https://api.postproxy.dev`
- URL: `https://api.postproxy.dev/api/posts/{post_id}/comments/{id}/pin`
- Auth: HTTP bearer

Pins a comment to the top of the video asynchronously. TikTok only — requires a profile connected on or after 2026-09-30. TikTok keeps one pinned comment per video, so pinning a second comment moves the pin.

## Query parameters

- `profile_group_id` string
- `profile_id` string, required

## Headers

- `Idempotency-Key` string

## Response `200`

Pin accepted for asynchronous processing.

- object
  - `accepted` boolean

## Other responses

- `400`: Missing required parameters.
- `401`: Invalid, missing, or insufficient API key permissions.
- `404`: Resource does not exist or is not accessible.
- `405`: Unsupported method for this platform or resource.

---

[API](https://skmtc.dev/postproxy/apis/postproxy-social-media-api.md) - [All operations](https://skmtc.dev/postproxy/apis/postproxy-social-media-api/llms.txt) - [OpenAPI document](https://skmtc.dev/postproxy/apis/postproxy-social-media-api/revisions/d54482ac4ce7?raw)
