---
search:
  tags:
    - Webhooks
    - POST
    - Webhook
seo:
  description: >-
    Peal sends this to the endpoints that subscribe to comment.received, signed
    as the Standard… Reference for the POST comment.received webhook in the Peal
    API.
sidebar:
  label: Someone commented under a post that went live
  badge: POST
title: Someone commented under a post that went live
type: openapi-operation
---
Peal sends this to the endpoints that subscribe to `comment.received`, signed as the Standard Webhooks specification says. Answer any 2xx once it is taken; any other answer, or none within 15 seconds, is tried again.

`POST comment.received`

**Webhook.** The API sends this request to your endpoint.

**Payload** (`application/json`, required)

- `id` (string, required)
- `sample` (boolean)
- `timestamp` (string, required)
- `version` (number, required)
- `workspaceExternalId` (string | null, required)
- `data` (object, required)
- `type` (string, required)

Payload example:

```json
{
  "id": "string",
  "sample": true,
  "timestamp": "string",
  "version": 1,
  "workspaceExternalId": "string",
  "data": {
    "workspaceId": "string",
    "postId": "string",
    "channelId": "string",
    "commentId": "string",
    "threadId": "string",
    "receivedAt": "string"
  },
  "type": "comment.received"
}
```

**Responses**

- `2XX` — The receiver took the event.
