v1

latestOpenAPI 3.1.1Proprietary2026-07-2687313591.4 KB
Reminders

Get all Reminders

Returns a page of Reminders visible to the caller.

You can filter reminders using the filter query parameter. The filter parameter is a string that you can specify conditions based on the following properties.

Property NameTypeAllowed OperatorsExamples
idint64=id=1|id=2|id=3
typeenum=type=one-time, type=recurring
statusenum=status=active, status=overdue, status=completed
resetTriggerenum=resetTrigger=interaction, resetTrigger=email, resetTrigger=event
dueDatedatetime>, <, >=, <=dueDate>=2026-01-01T00:00:00Z
completedAtdatetime>, <, >=, <=completedAt=2026-01-01T00:00:00Z
createdAtdatetime>, <, >=, <=createdAt>=2026-01-01T00:00:00Z
updatedAtdatetime>, <, >=, <=updatedAt>=2026-01-01T00:00:00Z
owner.idint64=, !=owner.id=1|owner.id=2, owner.id!=3
creator.idint64=creator.id=1
completer.idint64=completer.id=1
company.idint64=company.id=42
person.idint64=person.id=42
opportunity.idint64=opportunity.id=42

Results are ordered by dueDate ascending (soonest-due first).

get/v2/reminders

Query parameters

totalCountboolean

Include total count of the collection in the pagination response

cursorstring
Example:ICAgICAgYmVmb3JlOjo6Nw

Cursor for the next or previous page

limitinteger
Example:100

Number of items to include in the page

filterstring

Filter options

Response

OK

Example response

{
  "data": [
    {
      "id": 1,
      "content": "Follow up about the funding round",
      "dueDate": "2026-06-01T17:00:00Z",
      "creator": {
        "id": 1
      },
      "owner": {
        "id": 1
      },
      "completer": {
        "id": 1
      },
      "company": {
        "id": 1
      },
      "person": {
        "id": 1
      },
      "opportunity": {
        "id": 1
      },
      "createdAt": "2023-01-01T00:00:00Z",
      "updatedAt": "2023-01-01T00:00:00Z"
    }
  ],
  "pagination": {
    "prevUrl": "https://api.affinity.co/v2/foo?cursor=ICAgICAgYmVmb3JlOjo6Nw",
    "nextUrl": "https://api.affinity.co/v2/foo?cursor=ICAgICAgIGFmdGVyOjo6NA"
  }
}