Create Blog Comment
Powered by VitePress OpenAPI
Create a comment on a blog post.
Auth: conditional.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | Post id |
Request Body
json
{
"body": "Nice article"
}Response 200
json
{
"data": { "id": "com_2", "body": "Nice article" },
"user_context": { "authenticated": true },
"meta": {}
}Response Errors
400invalid comment payload403comments not allowed for caller404post not found
Notes
- The caller must be allowed to comment by the post visibility rules.
- Use this from logged-in or guest flows depending on configuration.