Skip to main content
POST
/
v1
/
comments
/
{id}
/
replies
curl -X POST https://api.infinipost.co/v1/comments/cmt_xyz789/replies \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "accountId": "acc_456",
    "text": "Thanks for the support!"
  }'
{
  "id": "rpl_def456",
  "commentId": "cmt_xyz789",
  "accountId": "acc_456",
  "text": "Thanks for the support!",
  "createdAt": "2024-04-21T20:30:00Z"
}

Path Parameters

id
string
required
The comment ID to reply to.

Request Body

accountId
string
required
The account ID to reply from.
text
string
required
The reply text.

Response

id
string
Unique reply identifier.
commentId
string
The parent comment.
accountId
string
Account that created the reply.
text
string
Reply text.
createdAt
string
ISO 8601 timestamp.
curl -X POST https://api.infinipost.co/v1/comments/cmt_xyz789/replies \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "accountId": "acc_456",
    "text": "Thanks for the support!"
  }'
{
  "id": "rpl_def456",
  "commentId": "cmt_xyz789",
  "accountId": "acc_456",
  "text": "Thanks for the support!",
  "createdAt": "2024-04-21T20:30:00Z"
}