Ana içeriğe atla
POST
Count the conversations 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
ids
integer[]

The identifiers of the selected records. Send either these or select_all.

Required array length: 1 - 100 elements
Gerekli aralık: x >= 1
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/conversations 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
group_lines
boolean | null

Whether the rows were selected in the list grouped by contact (group_lines of GET /conversations): a grouped row stands for all of the contact's WhatsApp lines, which change with it. With select_all it also groups the list the selection is made from.

Yanıt

success
boolean
gerekli
data
object
gerekli