Skip to navigation

Create an ECO comment

Preview

Adds a comment to an ECO. Specify replyToCommentId to reply to an existing comment.

CAD ROOMS notifies the author of the comment you reply to and any users you mention.

Required permission: Viewer or higher in the project.

Plan requirement: Business plan.

Authentication

AuthorizationBearer
An API key associated with your user account and workspace. API requests inherit your existing workspace permissions.
OR
AuthorizationBearer
The session token of a user signed in to the CAD ROOMS app. Every endpoint accepts it in place of an API key.

Path parameters

ecoIdstringRequired
Unique identifier of the ECO.

Request

This endpoint expects an object.
contentstringRequired
Text of the comment, in Markdown.
replyToCommentIdstringOptional
ID of the comment to reply to.
mentionslist of stringsOptional
IDs of the users mentioned in the text.

Response headers

Request-IdstringOptional

Request-Id. Unique identifier for the request. Every response, success or error, returns it. Error bodies carry the same value in requestId. Include it when contacting CAD ROOMS support.

Response

Returns the new comment.
idstring
Unique identifier for the comment.
ecoIdstring
ID of the ECO.
replyToCommentIdstring or null

ID of the comment this one replies to, or null if it is not a reply.

contentstring
Text of the comment, in Markdown.
authorobject
Represents a CAD ROOMS user.
mentionslist of objects
Users mentioned in the text.
createdAtdatetime
Time at which the comment was created.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error