Skip to main content
POST
Získání analytiky konverzací

Authorizations

x-api-key
string
header
required

Body

application/json
waba_id
string
required
token
string

Registrační token (alternativní autentizace).

start
integer

Začátek rozsahu (Unix sekundy). Výchozí je před 30 dny.

end
integer

Konec rozsahu (Unix sekundy). Výchozí je nyní.

granularity
enum<string>
default:DAILY
Available options:
HALF_HOUR,
DAILY,
MONTHLY
phone_numbers
string[]
country_codes
string[]
metric_types
string[]

Metriky, které se mají vrátit.

conversation_categories
string[]

Filtrování podle kategorie: MARKETING, UTILITY, AUTHENTICATION, SERVICE.

conversation_types
string[]

Filtrování podle typu: FREE_ENTRY, FREE_TIER, REGULAR.

conversation_directions
string[]

Filtrování podle směru: BUSINESS_INITIATED, USER_INITIATED.

dimensions
string[]

Response

Analytická data

success
boolean
data_points
object[]