API

Count devices for push notifications

POST/api/crm/v2/push_notifications.count_devicesv2
operationId: pushNotifications.countDevices

Returns the number of client devices available for push notifications. Only published branches and devices with a push token that are not blocked are counted.

Authorization

api-token + language + role

Request body application/json

object
branch_idoneOfrequired

Example: 8785

One of the options
integer
date_sendingstring

Example: 10:41 09/07/2024

date_last_order_fromstring

Example: 09/07/2024

date_last_order_tostring

Example: 10/07/2024

date_of_birth_fromstring

Example: 09/07

date_of_birth_tostring

Example: 10/07

genderstring (Gender)

Values:womanman

Example: man

payboolean

Paid notification

Example: true

platformstring (Platform)

Values:androidiosallmobile_appssitesocial_apps

Example: all

Responses

OK

object
statusstringrequired

Values:successerror

Example: success

dataintegerrequired

Example: 1