Bitrix24 REST API


Returns the list of comments to a task.

Method parameters

TASKID Task identifier. A required parameter.
ORDER Array for result sorting. The field for sorting may take the following values:
  • ID – comment identifier;
  • AUTHOR_ID – comment author’s identifier;
  • AUTHOR_NAME – author’s name;
  • AUTHOR_EMAIL – author’s email ;
  • POST_DATE – comment posting date..
The sorting direction may take the following values:
  • asc – ascending;
  • desc – descending;
Optional. By default it is filtered by descending comment identifier.
FILTER The array of the type {"filtered_field": "field value" [, ...]}. Filtered field can take the following values:
  • ID – comment identifier;
  • AUTHOR_ID – identifier of a comment author;
  • AUTHOR_NAME – author’s name;
  • POST_DATE – comment posting date.
Filter type can be specified before the filtered field:
  • "!" – not equal;
  • "<" – less;
  • "<=" – less or equal;
  • ">" – more;
  • ">=" – more or equal.
filter values – a single value or an array.

Optional. By default the entries are not filtered.


// Obtain all the comments for the task with ID=1 with ascending sorting by ID and filter by AUTHOR_ID

	[1, {'ID': 'asc'}, {'>AUTHOR_ID': 2}],

User comments

Comments by users are not official documentation. Responsibility for use of the comments are born by users themselves.

The user comments section is not intended as a request box or training area, but rather for specific usage examples. For more general inquiries, please refer to link.

Comments may be added only by registered users and appear after moderation.
© 2001-2017 Bitrix, Inc. Bitrix® is a registered trademark of Bitrix, Inc. Powered by Bitrix Site Manager