---
title: "Run an action on a fetched comment"
method: POST
path: "/api/v1/comment/import/comments/{commentId}/action"
tags: ["comment"]
---

# Run an action on a fetched comment

`POST /api/v1/comment/import/comments/{commentId}/action`

## Path parameters

- `commentId` string, required

## Request body

- object
  - `teamId` string, required
  - `action` 'DELETE' | 'HIDE' | 'UNHIDE' | 'LIKE' | 'UNLIKE' | 'APPROVE' | 'REJECT', required
  - `reason` string
  - `banAuthor` boolean

## Response `200`

200

- object
  - `success` boolean, required
  - `item` object, required
    - `id` string, required
    - `teamId` string, required
    - `organizationId` string, nullable
    - `postId` string, nullable
    - `importedPostId` string, nullable
    - `socialAccountId` string, required
    - `importId` string, required
    - `platform` 'FACEBOOK' | 'INSTAGRAM' | 'LINKEDIN' | 'YOUTUBE' | 'TIKTOK' | 'REDDIT' | 'THREADS' | 'MASTODON' | 'BLUESKY', required
    - `externalId` string, required
    - `externalParentId` string, nullable
    - `externalPostId` string, nullable
    - `authorName` string, nullable
    - `authorExternalId` string, nullable
    - `authorProfileUrl` string, nullable
    - `authorAvatarUrl` string, nullable
    - `text` string, nullable
    - `likesCount` number, required
    - `repliesCount` number, required
    - `platformData` object
      - `canDelete` boolean, nullable
      - `canHide` boolean, nullable
      - `canLike` boolean, nullable
      - `canModerate` boolean, nullable
      - `hidden` boolean, nullable
      - `likedByMe` boolean, nullable
      - `reactionsCount` number, nullable
      - `reactionType` 'LIKE' | 'LOVE' | 'WOW' | 'HAHA' | 'SAD' | 'ANGRY', nullable
      - `owner` boolean, nullable
      - `hideStatus` string, nullable
      - `moderationStatus` string, nullable
      - `approvalStatus` string, nullable
      - `status` string, nullable
      - `attachmentType` string, nullable
      - `attachmentUrl` string, nullable
      - `cid` string, nullable
      - `origin` 'platform' | 'bundle', nullable
      - `bundleCommentId` string, nullable
      - `displayState` 'active' | 'thread_deleted' | 'platform_missing', nullable
      - `disabledReason` string, nullable
    - `publishedAt` string, date-time, nullable
    - `createdAt` string, date-time, nullable, required
    - `updatedAt` string, date-time, nullable, required
    - `deletedAt` string, date-time, nullable

## Other responses

- `400` — 400
- `401` — 401
- `403` — 403
- `404` — 404
- `429` — 429
- `500` — 500

---

[API](https://skmtc.dev/bundle/apis/bundle-social-api.md) · [All operations](https://skmtc.dev/bundle/apis/bundle-social-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bundle/bundle-social-api/revisions/b773556c2f09/schema)
