cURL
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" } } ] }
List all comments on a post, ordered by creation time (oldest first)
API key authentication. Generate an API key from your workspace settings.
Post ID (UUID)
List of comments
Show child attributes
Was this page helpful?