v1

latestOpenAPI 3.1.1Proprietary2026-07-2687313591.4 KB
Notes

Get Companies attached to a Note

Returns directly attached companies for a given Note.

get/v2/notes/{noteId}/attached-companies

Path parameters

noteIdinteger required

The id of the Note to get attached Companies

Query parameters

totalCountboolean

Include total count of the collection in the pagination response

cursorstring

Cursor for the next or previous page

limitinteger

Number of items to include in the page

Response

OK

Example response

{
  "data": [
    {
      "id": 1,
      "name": "Horizon Technologies",
      "domain": "horizontech.com"
    }
  ],
  "pagination": {
    "prevUrl": "https://api.affinity.co/v2/foo?cursor=ICAgICAgYmVmb3JlOjo6Nw",
    "nextUrl": "https://api.affinity.co/v2/foo?cursor=ICAgICAgIGFmdGVyOjo6NA"
  }
}