---
title: "Retrieve Task Comments"
method: GET
path: "/v1/tasks/comments"
tags: ["Tasks"]
---

# Retrieve Task Comments

`GET /v1/tasks/comments`

## Request

- Base URL: `https://api.exhibitday.com`
- URL: `https://api.exhibitday.com/v1/tasks/comments`
- Auth: one of:
  - API key in header `api_key`
  - API key in query parameter `api_key`

This method retrieves task comments in your workspace based on various filter criteria. The filter parameters for this method work in conjunction on an “AND-basis”. For example, if you pass in the value “12345” for filter_by_event_id, you’ll get back the comments of all the tasks of the event that has an Id of 12345, and if you pass in a task id for filter_by_task_id, you’ll get back the comments of that task only. You can only pass in one value for each filter parameter. If you don’t pass in any filter, all the task comments in your workspace are returned.

Documentation: https://api.exhibitday.com/Help/V1?epf=2#get-v1-tasks-comments

## Query parameters

- `filter_by_event_id` integer
- `filter_by_task_id` integer
- `hydrate_task` boolean
- `filter_by_commenter_user_id` string
- `$result_sort` string
- `filter_by_last_update_timestamp_greater_than_or_equal_to` string
- `$limit` integer
- `$offset` integer
- `$result_format` string

## Headers

- `If-None-Match` string

## Response `200`

OK

- TaskCommentsList, nullable
  - `records_found` integer
  - `total_records` integer
  - `has_more` boolean
  - `list_type` string, nullable
  - `list_data` TaskComment[], nullable
    - `id` integer
    - `comment` string, nullable
    - `comment_created_timestamp` string, date-time
    - `comment_last_update_timestamp` string, date-time
    - `commenter` AspNetUserReferenced, nullable
      - `id` string, nullable
      - `first_name` string, nullable
      - `last_name` string, nullable
      - `email` string, nullable
    - `event_id` integer, nullable
    - `task_id` integer, nullable
    - `task` TaskReferenced, nullable
      - `id` integer
      - `exhibitday_url` string, nullable
      - `event_task_section_id` integer, nullable
      - `event_task_section` string, nullable
      - `display_rank` integer
      - `name` string, nullable
      - `due_date` string, nullable
      - `assignee` AspNetUserReferenced, nullable
        - `id` string, nullable
        - `first_name` string, nullable
        - `last_name` string, nullable
        - `email` string, nullable
      - `is_completed` boolean
      - `task_completed_timestamp` string, date-time, nullable
      - `task_created_timestamp` string, date-time
      - `task_last_update_timestamp` string, date-time

## Other responses

- `304`: Not Modified: If-None-Match named the current ETag, so there is no body.
- `400`: Bad Request: a missing or invalid parameter, or a change that is not allowed (error_code says which).
- `401`: Unauthorized: the api_key is missing or invalid, or API access is not enabled for the workspace.
- `404`: Not Found: no object with that id in your workspace, or an unknown URL or method.
- `429`: Too Many Requests: the rate limit was exceeded.
- `500`: Unexpected Internal Error.

---

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