> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.cadrooms.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.cadrooms.com/_mcp/server.

# List annotations

GET https://api.cadrooms.workers.dev/v1/revisions/{revisionId}/annotations

Retrieves the annotations associated with the underlying file version of a revision, sorted by annotation number. This matches the behavior of the CAD ROOMS app, which displays annotations for the currently open file version.

Annotation numbering starts at 1 for each file version. A release can reuse the previous file version, such as A.3 and B.1. In this case, both revisions return the same annotations.

To retrieve older annotations, specify an earlier revision.

Required permission: Viewer or higher in the project.


Reference: https://docs.cadrooms.com/api-reference/annotations/list-annotations

## Authentication

- `Authorization` header (bearer token, required) — An API key associated with your user account and workspace. API requests inherit your existing workspace permissions.
- `Authorization` header (bearer token, required) — The session token of a user signed in to the CAD ROOMS app. Every endpoint accepts it in place of an API key.

## Request

### Path parameters

- `revisionId` (string, required) — Unique identifier of the revision.

### Query parameters

- `resolved` (boolean, optional) — Set to `true` to return only resolved annotations, or `false` to return only unresolved annotations. Omit to return both.
- `limit` (integer, optional, default: 100) — Maximum number of records to return per page. Accepts values between 1 and 1000.
- `cursor` (string, optional) — Cursor for retrieving the next page. Use the `nextCursor` value from the previous response. Omit for the first page.

## Response

### 200

Returns a paginated list of annotations, sorted by number.

- `data` (list of Annotation, required) — Array of records returned for the current page, following the endpoint's defined sort order.
- `nextCursor` (string, required, nullable) — Cursor for retrieving the next page. Returns `null` when there are no more results.
- `totalCount` (integer, optional) — Number of records that match the request, across all pages. Returned only when the list accepts `include=totalCount` and you send it.

## Errors

### 401 Unauthorized Error

The API key is missing, invalid, expired, or revoked.

- `error` (ErrorError, required)

### 404 Not Found Error

The requested resource does not exist or is not accessible to your account. Both cases return the same response.

- `error` (ErrorError, required)

### 429 Too Many Requests Error

The rate limit has been exceeded. Wait for the duration specified in the `Retry-After` header before retrying.

- `error` (ErrorError, required)

### 500 Internal Server Error

An unexpected server error occurred. Retry later. Include the `requestId` when contacting support.

- `error` (ErrorError, required)

## Types

### Annotation

A numbered note pinned to a point on one file version in 3D.

- `id` (string, required) — Unique identifier for the annotation.
- `projectId` (string, required) — ID of the project.
- `path` (string, required) — Full path of the annotated file.
- `revisionId` (string, required) — Latest revision of the annotated file version when the annotation was created.
- `number` (integer, required) — Annotation number, unique within a file version. Numbering starts at 1 on each file version.
- `url` (string, required) — Link that opens the annotation in the CAD ROOMS app. Use it to share the annotation, as Copy link does in the app.
- `content` (string, required) — Text of the annotation, in Markdown.
- `author` (User, required) — Represents a CAD ROOMS user.
- `mentions` (list of User, required) — Users mentioned in the text.
- `nodeId` (long, required, nullable) — ID of the part the annotation is pinned to, or `null` if none.
- `nodeName` (string, required, nullable) — Name of the part the annotation is pinned to, or `null` if none.
- `position` (AnnotationPosition, required, nullable) — Position of the annotation in 3D, or `null` if none.
- `resolvedAt` (datetime, required, nullable) — Timestamp when the annotation was resolved, or `null` if it is unresolved.
- `previews` (list of AnnotationPreviewsItems, required) — Thumbnails of the annotation. Use Download an annotation thumbnail to get the image.
- `createdAt` (datetime, required) — Timestamp when the annotation was created.
- `updatedAt` (datetime, required) — Timestamp when the annotation was last updated.
- `replyCount` (integer, required) — Number of replies.

### ErrorError

- `code` (string, required) — Stable error identifier for programmatic error handling. Every endpoint can return the general codes listed on the Errors page. Where a business condition applies, an endpoint returns a more specific code, documented on that endpoint.
- `message` (string, required) — Human-readable error description. May change over time.
- `requestId` (string, required) — Unique request identifier used for troubleshooting. The same value is returned in the `Request-Id` header of every response. Include this when contacting support.
- `details` (list of ErrorErrorDetailsItems, optional) — Optional. Contains field-level validation errors for `400` responses.

### User

Represents a CAD ROOMS user.

- `id` (string, required) — Unique identifier for the user.
- `displayName` (string, required) — User's display name in the CAD ROOMS app.

### AnnotationPosition

A point in 3D.

- `x` (double, required)
- `y` (double, required)
- `z` (double, required)

### AnnotationPreviewsItems

- `id` (string, required) — Unique identifier of the thumbnail.
- `createdAt` (datetime, required) — Timestamp when the thumbnail was created.

### ErrorErrorDetailsItems

- `field` (string, required) — Name of the request field that failed validation.
- `message` (string, required) — Description of the validation issue.

## Examples

**Response**

```json
{
  "data": [
    {
      "id": "95823020-a9ba-4c7b-97ca-0d714381b3ff",
      "projectId": "6c83044f-ec8a-4a01-8a6b-e8b3eb988d2b",
      "path": "parts/bracket.prt",
      "revisionId": "a7e9d949-ebc6-4707-a493-a3f13f2a1b51",
      "number": 4,
      "url": "https://app.example.com/+acme/gearbox-v2/files/9f1c2b7e-4d3a-4e8b-a6f5-2c9d8e7b1a30?annotation=4",
      "content": "Check the fillet on this edge.",
      "author": {
        "id": "40a078d1-1f99-459a-a09a-f21da9c5dce4",
        "displayName": "John Doe"
      },
      "mentions": [
        {
          "id": "f008611c-2eef-4880-af86-94dbc7ecf9f7",
          "displayName": "Jane Doe"
        }
      ],
      "nodeId": 1042,
      "nodeName": "Bracket_Body",
      "position": {
        "x": 12.5,
        "y": -3.2,
        "z": 40
      },
      "resolvedAt": null,
      "previews": [
        {
          "id": "814d0864-aef9-43e8-925c-a1466b65349e",
          "createdAt": "2026-10-09T09:00:00Z"
        }
      ],
      "createdAt": "2026-10-09T09:00:00Z",
      "updatedAt": "2026-10-09T09:00:00Z",
      "replyCount": 1
    }
  ],
  "nextCursor": null
}
```

**SDK Code**

```python Example
import requests

url = "https://api.cadrooms.workers.dev/v1/revisions/a7e9d949-ebc6-4707-a493-a3f13f2a1b51/annotations"

querystring = {"resolved":"false"}

headers = {"Authorization": "Bearer <API key>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript Example
const url = 'https://api.cadrooms.workers.dev/v1/revisions/a7e9d949-ebc6-4707-a493-a3f13f2a1b51/annotations?resolved=false';
const options = {method: 'GET', headers: {Authorization: 'Bearer <API key>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.cadrooms.workers.dev/v1/revisions/a7e9d949-ebc6-4707-a493-a3f13f2a1b51/annotations?resolved=false"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <API key>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Example
require 'uri'
require 'net/http'

url = URI("https://api.cadrooms.workers.dev/v1/revisions/a7e9d949-ebc6-4707-a493-a3f13f2a1b51/annotations?resolved=false")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <API key>'

response = http.request(request)
puts response.read_body
```

```java Example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.cadrooms.workers.dev/v1/revisions/a7e9d949-ebc6-4707-a493-a3f13f2a1b51/annotations?resolved=false")
  .header("Authorization", "Bearer <API key>")
  .asString();
```

```php Example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.cadrooms.workers.dev/v1/revisions/a7e9d949-ebc6-4707-a493-a3f13f2a1b51/annotations?resolved=false', [
  'headers' => [
    'Authorization' => 'Bearer <API key>',
  ],
]);

echo $response->getBody();
```

```csharp Example
using RestSharp;

var client = new RestClient("https://api.cadrooms.workers.dev/v1/revisions/a7e9d949-ebc6-4707-a493-a3f13f2a1b51/annotations?resolved=false");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <API key>");
IRestResponse response = client.Execute(request);
```

```swift Example
import Foundation

let headers = ["Authorization": "Bearer <API key>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.cadrooms.workers.dev/v1/revisions/a7e9d949-ebc6-4707-a493-a3f13f2a1b51/annotations?resolved=false")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```