Retrieve Comment by ID

This operation returns a comment by post and comment ID.

Authorization and Permissions

  • An OpenAm token is required to retrieve the comment.
  • The user must have access to view the post to see its comment.

Response

The response includes the complete comment details including:

  • Comment text and metadata
  • User information who created the comment
  • User interactions (likes, reactions, reply count)
  • Attachments if any

Note: This endpoint returns only the comment details, not the replies to this comment.

Path Params
string
required

The unique identifier of the post.

string
required

The unique identifier of the comment.

Headers
string
required

An OpenAm token for the user.

string

A UUID value to track the request, used for debugging and tracing.

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Choose an example:
application/json
application/problem+json