Ana içeriğe atla
POST
Count the leads of a selection

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Gövde

application/json
lead_ids
integer[]

The identifiers of the selected leads, without a limit. Send either these or select_all.

Minimum array length: 1

A lead identifier.

select_all
boolean

Select every record the list shows with the filters in filters. The action then runs in the background and the response only carries the number of records.

filters
object | null

With select_all, the filters the list shows, as an object: the query parameters of GET /api/v1/leads with the same names and values, array parameters without the []. Paging and sorting parameters are ignored.

except_ids
integer[] | null

With select_all, the identifiers of the records to leave out, at most 1000.

Maximum array length: 1000

A record identifier to leave out.

Gerekli aralık: x >= 1

Yanıt

success
boolean
gerekli
data
object
gerekli