---
title: "Reply to a post or a comment"
method: POST
path: "/api/v1/comments"
tags: ["Comments"]
---

# Reply to a post or a comment

`POST /api/v1/comments`

## Request

- Base URL: `https://app.tryadeli.com`
- URL: `https://app.tryadeli.com/api/v1/comments`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/adeli/apis/adeli-api/docs/api/v1/comments/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- object
  - `platform` 'instagram' | 'facebook' | 'tiktok' | 'youtube', required
  - `accountId` string, uuid, required
  - `profileId` string, uuid
  - `postId` string
  - `parentId` string
  - `message` string, required

## Response `201`

Success

- object
  - `platform` 'instagram' | 'facebook' | 'tiktok' | 'youtube', required
  - `accountId` string, uuid, required
  - `profileId` string, uuid, required
  - `comment` object, required
    - `id` string, required
    - `mediaId` string, required
    - `parentId` string, nullable, required
    - `authorName` string, required
    - `authorFullName` string, nullable, required
    - `authorHandle` string, required
    - `avatarUrl` string, nullable, required
    - `profileUrl` string, nullable, required
    - `body` string, required
    - `likeCount` number, required
    - `isCreator` boolean, required
    - `isHidden` boolean, required
    - `createdAt` string, date-time, required
    - `authorId` string, nullable
    - `liked` boolean
    - `replyCount` integer
    - `deletable` boolean

## Other responses

- `400`: Invalid request or provider failure
- `401`: Missing or invalid API key
- `402`: Billing is required: a card is needed to connect more accounts or use X (`billing_required`, `x_billing_required`), or the workspace has used its free monthly allowance (`usage_limit_reached`)
- `403`: The connection lacks a permission or provider-confirmed resource
- `404`: Profile, account, or object not found
- `409`: The request conflicts with existing state
- `422`: The connected account cannot perform this operation
- `429`: Provider quota or rate limit exhausted
- `502`: Invalid request or provider failure
- `503`: The platform is temporarily unavailable

---

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