{% note tip "" %}
If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the MCP server so that the assistant can utilize the official REST documentation.
{% endnote %}
Comments in the News Feed allow users to discuss posts, share opinions, and clarify details. Files can be attached to each comment.
Quick navigation: all methods
User documentation: Feed
News Feed Post. Comments are linked to a post by the identifier POST_ID. The post identifier can be obtained using the method log.blogpost.get.
User. A comment is associated with a user by the identifier USER_ID. The user identifier can be retrieved using the methods user.get and user.search.
Files. Files can be attached to comments. To attach a file, pass an array containing the file name and a string with Base64 in the FILES field. Information about the attached file can be obtained using the method disk.attachedObject.get.
{% note tip "Typical use-cases and scenarios" %}
{% endnote %}
- Retrieve the post identifier
POST_IDusing the log.blogpost.get method - Add a comment using the log.blogcomment.add method
- Retrieve the user's comments using the log.blogcomment.user.get method if you need to synchronize the discussion
- Delete the comment using the log.blogcomment.delete method if the user's permissions allow it
Scope:
logWho can perform the method: depending on the method
#| || Method | Description || || log.blogcomment.add | Adds a comment to a News Feed post || || log.blogcomment.user.get | Returns a list of comments for a News Feed post || || log.blogcomment.delete | Deletes a comment from a post || |#