# A reader writes a comment

`POST /public/comments/{entryId}` · Rivier · content

A reader writes a comment. The form guard judges it: abuse is refused, anything unsure is held for a person.

- Scope: content:read
- Sdk: content.readerComment.submit
- Cli: content reader comment submit
- Publishable: yes

## Parameters

- `entryId` (path, required), string

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80
    },
    "email": {
      "type": "string",
      "format": "email",
      "maxLength": 254
    },
    "body": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000
    },
    "parentId": {
      "type": "string",
      "format": "uuid"
    },
    "token": {
      "type": "string",
      "maxLength": 2000
    },
    "proof": {
      "type": "string",
      "maxLength": 64
    },
    "shownMs": {
      "type": "integer",
      "minimum": 0,
      "maximum": 86400000
    },
    "honeypot": {
      "type": "string",
      "maxLength": 200
    }
  },
  "required": [
    "name",
    "body"
  ],
  "additionalProperties": false
}
```

## Responses

- `202`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/public/comments/{entryId}' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "string",
  "body": "string"
}'
```
