Skip to main content
CommentsVersion: 2021-04-15

Get Task Comments

GET/projects/tasks/{taskId}/comments

Pages comments on a task. Deleted comments are omitted. Replies are returned as sibling rows in comments with parentCommentId set — there is no nested replies array. skip must be a multiple of limit. total counts top-level comments only.

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:projects/tasks.comments.readonly
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3
Example:v3

Path Parameters

taskIdstringrequired

Task id

Example:6a102435124ecfb348bd5509

Query Parameters

skipnumber

Number of top-level comments to skip for paging. Use page offsets only: 0, limit, 2*limit, … (skip must be a multiple of limit). Defaults to 0. Arbitrary offsets (e.g. skip=10&limit=50) return 400.

Possible values: >= 0

Default:0
Example:0
limitnumber

Items per page. Defaults to 50.

Possible values: >= 1 and <= 100

Default:50
Example:50
locationIdstring

Location id. Required for channel: APP. Ignored for OAuth/PIT — those use the location on the auth token. Do not send in path, body, or headers.

Example:ve9EPM428h8b87FE9C12Kg

Response

Successful response

commentsobject[]required

Comment rows for this page (top-level and replies flattened)

totalnumberrequired

Count of top-level comments (replies are not included in total)

Example:1
skipnumber

Number of top-level comments skipped (echo of the request)

Example:0
limitnumber

Page size (echo of the request)

Example:50