---
title: "Post a comment"
method: POST
path: "/v2/comments"
tags: ["comments"]
---

# Post a comment

`POST /v2/comments`

Posts a comment on a published post, or a reply to an existing comment on that post when `parentCommentId` is provided.

## Request body

- object
  - `postId` string, required — Blotato id of the published post to comment on.
  - `text` string, required — Plain-text comment body.
  - `parentCommentId` string — Blotato id of an existing top-level, posted comment on the same post to reply to. Replies to replies are not supported.

## Response `201`

Default Response

- object
  - `accountId` string, required — ID of the social account this comment belongs to.
  - `authorId` string, nullable, required — Platform-native id of the comment author.
  - `createdAt` string, required
  - `errorCode` integer, nullable, required — Set only when status is `failed`.
  - `errorMessage` string, nullable, required — Set only when status is `failed`.
  - `id` string, required
  - `isAuthor` boolean, required — `true` if the user's own connected account authored this comment.
  - `parentCommentId` string, nullable, required — Blotato id of the parent comment when this comment is a reply. null for top-level comments.
  - `platform` 'facebook' | 'instagram', required
  - `platformCommentId` string, nullable, required — Platform-native id of the comment.
  - `platformPostId` string, required — Platform-native id of the parent post being commented on.
  - `postId` string, nullable, required — Blotato ID of the post (if published through Blotato).
  - `status` 'deleted' | 'failed' | 'posted' | 'processing' | 'queued', required
  - `text` string, required

## Other responses

- `403` — Forbidden
- `404` — Not found
- `422` — Validation error
- `429` — Rate limit exceeded
- `500` — Server error

---

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