Skip to main content
POST
Count Inactive Prospects

Authorizations

X-API-Key
string
header
required

API Key for authentication

Body

application/json

Inactive means a non-deleted direct LEAD whose newest saved fetched-post date is over 30 days old, or with no saved post date after at least one successful fetch. Never-successfully-synced prospects are not confirmed inactive. Preview and delete must use the same scope; preview is a snapshot, not a reservation.

campaignIds
string<uuid>[]

Optional campaign IDs. Non-empty restricts this dimension; omitted or [] does not. Non-empty campaignIds and listIds intersect. Omitting or emptying both targets all reachable Prospects campaigns in the selected workspace for an MCP user; an API key must provide explicit scope.

listIds
string<uuid>[]

Optional prospect-list IDs. Non-empty restricts this dimension; omitted or [] does not. Non-empty listIds and campaignIds intersect. Omitting or emptying both targets all reachable Prospects campaigns in the selected workspace for an MCP user; an API key must provide explicit scope.

Response

status
string
required

Response status

Allowed value: "success"
data
object
required
message
string
required

Success message

Example:

"Operation completed successfully"