Skip to content

๐Ÿ’ฌ Add a Comment

Endpoint: POST /api/forum/threads/{id}/comments
Auth Required: โœ… Yes (Bearer Token)
Content-Type: application/json


๐Ÿ“Œ Description

This endpoint allows a citizen to add a comment to an existing discussion thread.

Comments enable users to: - share opinions - respond to ideas - contribute to healthy civic discussions

All comments are subject to community guidelines and moderation rules.


๐Ÿ” Authentication

Include the JWT access token in the Authorization header:


๐Ÿ”— Path Parameter

Parameter Type Required Description
id UUID โœ… Unique thread ID

๐Ÿงพ Request Body

```json { "content": "This is a very good idea. Awareness sessions could help residents understand waste segregation." }