Get an annotation
Retrieves an annotation by its ID, including its replies.
Required permission: Viewer or higher in the project.
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
annotationId
Unique identifier of the annotation.
Response headers
Request-Id
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 requested annotation.
id
Unique identifier for the annotation.
projectId
ID of the project.
path
Full path of the annotated file.
revisionId
Latest revision of the annotated file version when the annotation was created.
number
Annotation number, unique within a file version. Numbering starts at 1 on each file version.
url
Link that opens the annotation in the CAD ROOMS app. Use it to share the annotation, as Copy link does in the app.
content
Text of the annotation, in Markdown.
mentions
Users mentioned in the text.
nodeId
ID of the part the annotation is pinned to, or null if none.
nodeName
Name of the part the annotation is pinned to, or null if none.
position
Position of the annotation in 3D, or null if none.
resolvedAt
Timestamp when the annotation was resolved, or null if it is unresolved.
previews
Thumbnails of the annotation. Use Download an annotation thumbnail to get the image.
createdAt
Timestamp when the annotation was created.
updatedAt
Timestamp when the annotation was last updated.
replies
Replies to the annotation, oldest first.
Errors
401
Unauthorized Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error