Featurebase icon

Featurebase

Interact with the Featurebase API

Actions18

Comment → Get Many

AI-generated

Summary

Retrieves a paginated list of comments associated with a specific post.

Inputs

  • postId (required) — The ID of the post to retrieve comments for.
  • limit — The maximum number of comments to return (minimum 1, default 50).
  • filters — Additional filtering options including privacy level and sorting order.

Output shape

a list of items, each containing comment data

The operation sends a GET request to the Featurebase API endpoint.

Examples

Example 1: Fetch recent public comments from a specific post

Set postId to the target post ID, limit to a desired number (e.g., 20), and filters to privacy: 'public', sortBy: 'new'.

Example 2: Retrieve the top rated comments from a post

Set postId to the target post ID, filters to sortBy: 'top', and optionally set limit to control the number of results.

Links

Discussion