Skip to main content
GET
The condition fields a rule audience or a segment may use: each with its `key`, its section, its ops, the kind of value it takes, its options where the application has them (cities, tags, groups, categories, campaigns, segments) and whether it is open now and why not (`reason`: needs_store, needs_orders, zid_scope). Then count a definition with campaigns.segments.count.

Authorizations

Authorization
string
header
required

An account token from Settings › Account API in the Tawked console: Authorization: Bearer tk_acct_…

Path Parameters

application
string
required

An application's id (a UUID); list them with applications.applications.list.

Pattern: ^(?:[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12})$

Response

Done.

data
object[]
required
next_cursor
string | null
required