---
title: "Count what is waiting on a person"
method: GET
path: "/outreach-tasks/count/"
tags: ["outreach"]
---

# Count what is waiting on a person

`GET /outreach-tasks/count/`

## Request

- Base URL: `https://api.getoneprofile.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getoneprofile.ai/outreach-tasks/count/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

`pending` is the nav badge: tasks waiting on a person. Scheduled work is waiting on a channel, and a badge that counted it would nag about things nobody can act on. `failed_retryable` counts the failed LinkedIn steps whose contact can still be retried, for the alert beside the queue; it is not part of the badge.

## Response `200`

Successful Response

- OutreachTaskCountSchema: The nav badge's count, and the failures the Tasks page raises beside it.
  - `failed_retryable` integer, required: Failed LinkedIn steps whose contact can still be retried (the contact is still stopped as failed). Not part of the badge.
  - `pending` integer, required: Tasks waiting on a person: the nav badge.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `422`: Invalid request made to the API.
- `500`: Internal server error.
- `502`: Bad gateway error.
- `503`: Service unavailable.

---

[API](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile.md) · [All operations](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/llms.txt) · [OpenAPI document](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/revisions/4a6bd71e3f02?raw)
