Notes

Returns all notes, with the exception of replies. You can filter notes using the filter query parameter. The filter parameter is a string that you can specify conditions based on the following properties.

Property NameTypeAllowed OperatorsExamples
idint32=id=1|id=2|id=3
creator.idint32=creator.id=1
createdAtdatetime>, <, >=, <=createdAt<2025-02-04T10:48:24Z
updatedAtdatetime>, <, >=, <=updatedAt>=2025-02-03T10:48:24Z
get/v2/notes

Request

  • Base URL
    https://api.affinity.co
  • URL
    https://api.affinity.co/v2/notes
  • Auth
    HTTP bearer

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

filterstring

Filter options

includesstring[]

Additional properties to include in the response

Response

OK

Example response

{
  "data": [
    {
      "creator": {
        "id": 1,
        "firstName": "Jane",
        "lastName": "Doe",
        "primaryEmailAddress": "jane.smith@northpointvc.com",
        "type": "internal"
      },
      "mentions": [
        {
          "id": 1,
          "type": "person",
          "person": {
            "id": 1,
            "firstName": "Jane",
            "lastName": "Smith",
            "primaryEmailAddress": "jane.smith@northpointvc.com",
            "type": "internal"
          }
        }
      ]
    }
  ],
  "pagination": {
    "prevUrl": "https://api.affinity.co/v2/foo?cursor=ICAgICAgYmVmb3JlOjo6Nw",
    "nextUrl": "https://api.affinity.co/v2/foo?cursor=ICAgICAgIGFmdGVyOjo6NA"
  }
}

Changes

    • info

      added authentication authorization bad-request conflict method-not-allowed not-acceptable not-found not-implemented rate-limit server timeout unprocessable-entity unsupported-media-type validation discriminator mapping keys to the / response property for the response status

    • info

      added bad-request validation discriminator mapping keys to the / response property for the response status

    • info

      added entities interaction ai-notetaker user-reply ai-notetaker-reply discriminator mapping keys to the / response property for the response status

    • info

      added meeting call chat-message email discriminator mapping keys to the /// response property for the response status

    • info

      added person discriminator mapping keys to the ////// response property for the response status

    • info

      added person discriminator mapping keys to the ////// response property for the response status

    • info

      added person discriminator mapping keys to the ////// response property for the response status

    • info

      added person discriminator mapping keys to the ////// response property for the response status

    • info

      added person discriminator mapping keys to the ////// response property for the response status