---
title: "Get Companies attached to a Note"
method: GET
path: "/v2/notes/{noteId}/attached-companies"
tags: ["Notes"]
---

# Get Companies attached to a Note

`GET /v2/notes/{noteId}/attached-companies`

Returns directly attached companies for a given Note.

## Path parameters

- `noteId` integer, required

## Query parameters

- `totalCount` boolean
- `cursor` string
- `limit` integer

## Response `200`

OK

- CompanyDataPaged — CompanyDataPaged model
  - `data` CompanyData[], required — A page of Company results
    - `id` integer, required — The company's unique identifier
    - `name` string, required — The company's name
    - `domain` string, hostname, nullable, required — The company's primary domain
  - `pagination` Pagination, required
    - `prevUrl` string, uri, nullable — URL for the previous page
    - `nextUrl` string, uri, nullable — URL for the next page

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `default` — Errors

---

[API](https://skmtc.net/affinity/apis/affinity-api-v2.md) · [All operations](https://skmtc.net/affinity/apis/affinity-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/affinity/affinity-api-v2/revisions/4c2891c31b7f/schema)
