TSGGLOBAL Support sign in
Skip to page content
Browse TNID API docs

TNID API documentation Company Notifications List notifications (company)

List notifications (company)

On this page

GraphQL endpoint: /company

Lists the calling company's notifications, cursor-paginated. Optionally filter by status (UNREAD or READ); pass paginationInfo.nextCursor back as cursor for the next page.

Query

query (
  $limit: Int
  $cursor: String
  $status: NotificationStatus
) {
  notifications (
    limit: $limit
    cursor: $cursor
    status: $status
  ) {
    paginationInfo {
      limit
      nextCursor
    }
    records {
      id
      text
      kind
      subjectId
      subjectStatus
      context
      status
      insertedAt
      updatedAt
    }
  }
}

Variables

{}

Response

{
  "data": {
    "notifications": {
      "paginationInfo": {
        "limit": 20,
        "nextCursor": null
      },
      "records": [
        {
          "context": {},
          "id": "00000000-0000-4000-8000-000000000001",
          "insertedAt": "2026-01-15T09:00:02.000000",
          "kind": null,
          "status": "UNREAD",
          "subjectId": null,
          "subjectStatus": null,
          "text": "test notification",
          "updatedAt": "2026-01-15T09:00:02.000000"
        },
        {
          "context": {},
          "id": "00000000-0000-4000-8000-000000000002",
          "insertedAt": "2026-01-15T09:00:01.000000",
          "kind": null,
          "status": "UNREAD",
          "subjectId": null,
          "subjectStatus": null,
          "text": "test notification",
          "updatedAt": "2026-01-15T09:00:01.000000"
        },
        {
          "context": {},
          "id": "00000000-0000-4000-8000-000000000003",
          "insertedAt": "2026-01-15T09:00:00.000000",
          "kind": null,
          "status": "UNREAD",
          "subjectId": null,
          "subjectStatus": null,
          "text": "test notification",
          "updatedAt": "2026-01-15T09:00:00.000000"
        }
      ]
    }
  }
}