---
title: "Count notification queue entries by status"
method: GET
path: "/api/servicetodo/processes/notification-queue/counts"
tags: ["notificationQueue"]
---

# Count notification queue entries by status

`GET /api/servicetodo/processes/notification-queue/counts`

## Request

- Base URL: `https://services.fountain.com`
- URL: `https://services.fountain.com/api/servicetodo/processes/notification-queue/counts`
- Auth: HTTP bearer

## Query parameters

- `filter` object
  - `workerUuid` union: Filter to one worker (string) or multiple workers (array of UUIDs).
    - string, uuid: Single worker UUID
    - string[]: One or more worker UUIDs
  - `taskFlowUuid` union: Filter to one or more onboarding flows.
    - string, uuid
    - string[]
  - `search` string: Partial, case-insensitive match on the worker's name.
  - `scheduledFrom` string, date-time: Inclusive lower bound on the scheduled time (ISO 8601). The caller computes it from the viewer local calendar.
  - `scheduledTo` string, date-time: Exclusive upper bound on the scheduled time (ISO 8601). One day is `scheduledFrom` = its midnight and `scheduledTo` = the next midnight. Must be after `scheduledFrom`; otherwise the endpoint answers 400.

## Response `200`

Returns the number of matching entries in each UI status bucket.

- object
  - `data` object, required
    - `upcoming` integer, required
    - `sent` integer, required
    - `cancelled` integer, required
    - `skipped` integer, required
  - `meta` ResponsesPartMeta, required
    - `timestamp` string, date-time, required
    - `verb` 'OPTION' | 'GET' | 'PUT' | 'POST' | 'PATCH' | 'DELETE'
    - `path` string
    - `jti` string
    - `rid` string
    - `count` number
    - `capped` boolean: The server lowered filter[limit] to its ceiling. Page with filter[skip] to read past it.
    - `status` string
    - `duration` number
    - `size` number

## Other responses

- `422`: default error response

---

[API](https://skmtc.dev/fountain/apis/worker-experience-public-api.md) - [All operations](https://skmtc.dev/fountain/apis/worker-experience-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fountain/apis/worker-experience-public-api/revisions/6b9a31f79e22?raw)
