Skip to main content
GET
/
posts
/
{postId}
/
comments
List post comments
curl --request GET \
  --url https://app.tryordinal.com/api/v1/posts/{postId}/comments \
  --header 'Authorization: Bearer <token>'
{
  "comments": [
    {
      "id": "a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
      "message": "Great post! @[Jane Smith](550e8400-e29b-41d4-a716-446655440002) what do you think?",
      "postId": "d4f8e2a1-3b7c-4e9d-8f2a-1c5b9e7d3a6f",
      "createdAt": "2026-02-04T10:30:00.000Z",
      "updatedAt": "2026-02-04T10:30:00.000Z",
      "user": {
        "id": "550e8400-e29b-41d4-a716-446655440001",
        "firstName": "John",
        "lastName": "Doe",
        "email": "john@example.com"
      }
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.tryordinal.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key authentication. Generate an API key from your workspace settings.

Path Parameters

postId
string<uuid>
required

Post ID (UUID)

Response

List of comments

comments
object[]