> 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.

# Introduction

The CAD ROOMS API allows you to access workspace data from your own applications and systems, including projects, files, revisions, annotations, and engineering change orders (ECOs).

You can also use webhooks to receive notifications when changes occur, such as when a revision is released.

The API follows REST conventions, using resource-based URLs, standard HTTP methods and status codes, and JSON for request and response bodies.

## Base URL

All API requests use the following base URL:

```
https://api.cadrooms.workers.dev/v1
```

The `/v1` prefix identifies the major API version. Changes within this version are additive to maintain backward compatibility. See [Versioning and changes](/getting-started/versioning) for details.

## Make your first request

To access the API, you need an API key associated with your user account. See [Authentication](/getting-started/authentication) for instructions on creating one.

Once you have an API key, include it in the `Authorization` header to retrieve a list of projects you have access to:

```bash
curl https://api.cadrooms.workers.dev/v1/projects \
  -H "Authorization: Bearer <apiKey>"
```

Example response:

```json
{
  "data": [
    {
      "id": "356d9a6c-31e9-4d9c-ad55-de709172d893",
      "workspaceId": "1fb60bd2-19f9-47a9-bea9-27898f43a0d5",
      "name": "Gearbox v2",
      "slug": "gearbox-v2",
      "description": "Second-generation gearbox housing",
      "createdAt": "2026-03-02T09:00:00Z",
      "updatedAt": "2026-10-01T08:00:00Z"
    }
  ],
  "nextCursor": null
}
```

Paginated list responses contain a `data` array with the requested records and a `nextCursor` field for pagination. A `null` value in `nextCursor` indicates that no additional pages are available.

## API conventions

The following conventions apply across the CAD ROOMS API:

* **Resource IDs:** Resource IDs are unique UUIDs. Files do not have their own IDs and are identified by their project and path. Treat IDs as strings without interpreting their internal structure.
* **Field naming:** JSON fields use camelCase.
* **Timestamps:** All timestamps follow the RFC 3339 format in UTC, for example, `2026-10-02T09:00:00Z`.
* **Resource endpoints:** Individual resources are accessed directly, such as `/revisions/{revisionId}`, while resource collections are accessed through their parent resource, such as `/projects/{projectId}/files`.
* **Pagination:** List endpoints use a consistent pagination format, except when listing files in an ECO, which are returned in a single response. See [Pagination](/getting-started/pagination).
* **Error handling:** All API errors follow a standard response structure. See [Errors](/getting-started/errors).

## Next steps

* **[Authentication](/getting-started/authentication):** Learn how to create and use API keys and understand their permissions.
* **[Versioning and changes](/getting-started/versioning):** Understand API versioning and backward compatibility.
* **[Pagination](/getting-started/pagination):** Navigate paginated results using `limit`, `cursor`, and `nextCursor`.
* **[Errors](/getting-started/errors):** Understand HTTP status codes and error responses.
* **[Webhooks](/getting-started/webhooks):** Receive events, handle retries, and verify webhook signatures.
* **[API Reference](/api-reference):** Explore all available endpoints, organized by resource.