---
title: "Count what went out as a sender"
method: GET
path: "/outreach-tasks/activity/count/"
tags: ["outreach"]
---

# Count what went out as a sender

`GET /outreach-tasks/activity/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/activity/count/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

How many Activity rows the same filters as the list select, for the page's total.

## Query parameters

- `sender_profile_id` string[], nullable: Only what went out as these senders; omit for every sender.
- `channel` TaskChannel[], nullable: Only these channels (`email`, `linkedin`); omit for both.
- `decision` ActivityDecision[], nullable: Only what was decided this way: `approved` (a person or an API key approved it before it went), `automatic` (no person decided: the rules let it go), `rejected` (a person refused it, so it never went), `sent_by_person` (a person wrote and sent it from the inbox), `not_recorded` (a LinkedIn step from before Activity whose approval was not kept).
- `outcome` ActivityOutcome[], nullable: Only what ended this way: `sent` (an email the provider accepted), `done` (a LinkedIn step that did its job), `failed`, `skipped`, `already_pending` (a connection request somebody had already sent), `stopped`, `not_sent` (refused).
- `kind` string[], nullable: Only these kinds: a LinkedIn action slug (`connection_request`, `send_message`, …), `email` for a sequence's email, or `reply` for a reply from the inbox.
- `sequence_id` string[], nullable: Only what these sequences sent; omit for all of them.
- `occurred_after` string, date-time, nullable: Only what happened at or after this instant, with its timezone offset.
- `occurred_before` string, date-time, nullable: Only what happened before this instant, with its timezone offset.
- `search` string, nullable: Words that must each appear in the contact's name, address or LinkedIn profile, or in the subject.

## Response `200`

Successful Response

- OutreachActivityCountSchema: How many Activity rows the same filters select, for the page's total.
  - `total` integer, required: How many rows match the filters.

## 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)
