---
title: "List Photo Comments"
method: GET
path: "/photos/{photo_id}/comments"
tags: ["Photos"]
---

# List Photo Comments

`GET /photos/{photo_id}/comments`

## Request

- Base URL: `https://api.companycam.com/v2`
- URL: `https://api.companycam.com/v2/photos/{photo_id}/comments`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/companycam/apis/core-api/docs/photos/:photo_id/comments/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `photo_id` string, id, required

## Query parameters

- `page` integer
- `per_page` integer

## Response `200`

List of photo tags sorted alphabetically

- Comment[]
  - `id` string, required: The unique ID of the comment
  - `creator_id` string: The id of the entity that created the Comment
  - `creator_type` string: The type of the entity that created the Comment
  - `creator_name` string: The display name of the entity that created the Comment
  - `commentable_id` string: The unique ID of the entity that the comment was applied to
  - `commentable_type` string: The type of the entity that the comment was applied to.
  - `status` string: This should always be active
  - `content` string: The contents of the comment. This may contain whitespace characters such as newlines.
  - `created_at` integer: Timestamp when the Comment was created on the server
  - `updated_at` integer: Timestamp when the Comment was last updated

## Other responses

- `400`: Bad Request
- `404`: Not found
- `500`: Unexpected error

---

[API](https://skmtc.dev/companycam/apis/core-api.md) - [All operations](https://skmtc.dev/companycam/apis/core-api/llms.txt) - [OpenAPI document](https://skmtc.dev/companycam/apis/core-api/revisions/7b24aa9c27ea?raw)
