---
title: "Get a single comment"
method: GET
path: "/comments/{id}"
tags: ["Comments"]
---

# Get a single comment

`GET /comments/{id}`

## Request

- Base URL: `https://dummyjson.com`
- URL: `https://dummyjson.com/comments/{id}`
- Auth: none required

## Path parameters

- `id` integer, required

## Query parameters

- `select` string
- `delay` integer

## Response `200`

Comment

- Comment
  - `id` integer
  - `body` string
  - `postId` integer
  - `likes` integer
  - `user` object
    - `id` integer
    - `username` string
    - `fullName` string

## Other responses

- `404`: Error

---

[API](https://skmtc.dev/dummyjson/apis/dummyjson-api.md) - [All operations](https://skmtc.dev/dummyjson/apis/dummyjson-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dummyjson/apis/dummyjson-api/revisions/5e704f33a559?raw)
