Back to API List
Comments & Reviews API
Social
3 Endpoints
Handle user comments, reviews, ratings, moderation, and threaded discussions.
Internal API - Hosted by this App
API Endpoints & Usage
Explore and interact with the available endpoints for the Comments & Reviews API. These API routes are live!
POST
/api/comments
Create new comment or review with rating.
Try it out
GET
/api/comments/{resourceId}
Get comments for resource with threading and pagination. Replace {resourceId} with an actual ID.
Try it out
Replace placeholders (e.g., {userId}) with actual values in the path above. You can also add/edit query parameters (e.g., ?key=value).
PUT
/api/comments/{commentId}/moderate
Moderate comment - approve, reject, or flag. Replace {commentId} with an actual ID.
Try it out
Replace placeholders (e.g., {userId}) with actual values in the path above.