---
title: "Count contacts"
method: GET
path: "/workspaces/{workspaceID}/contacts/count"
tags: ["Contacts"]
---

# Count contacts

`GET /workspaces/{workspaceID}/contacts/count`

## Request

- Base URL: `https://api.salesforge.ai/public/v2`
- URL: `https://api.salesforge.ai/public/v2/workspaces/{workspaceID}/contacts/count`
- Auth: API key in header `Authorization`

Count active contacts associated with the workspace using the same filters and aliases as contact listing. Exact counts can be expensive; request a count only when a total is needed. Pagination parameters (limit, offset, pagination, cursor) are ignored; the total always covers all matching contacts.

## Path parameters

- `workspaceID` string, required

## Query parameters

- `tag_ids[]` string[]
- `tagIds` string[]
- `not_in_sequence_id` string
- `notInSequenceId` string
- `validation_statuses[]` string[]
- `validationStatus` string[]
- `has_valid_linkedin` boolean
- `not_in_esps[]` string[]

## Response `200`

Exact matching contact count

- ApiContactsCountResponse
  - `total` integer, required

## Other responses

- `400`: Bad Request
- `500`: Internal Server Error

---

[API](https://skmtc.dev/salesforge/apis/salesforge-api.md) - [All operations](https://skmtc.dev/salesforge/apis/salesforge-api/llms.txt) - [OpenAPI document](https://skmtc.dev/salesforge/apis/salesforge-api/revisions/3f946278b378?raw)
