List audiences
GET {{baseUrl}}/v1/audiences?pageSize=1000&skip=10&sort=value&withTotalResultSize=true
Get all audiences created in the account. To create an audience, use Create audience.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
pageSize | number | The number of items in this response. | |
skip | number | The number of items to skip when paging through large result sets. | |
sort | string | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with - . |
Note: This parameter works only with numeric fields.
|
| withTotalResultSize
| boolean | | When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets.
- When
true
:hasMore
is true when there is a next page.totalResultSize
is always zero. - When
false
:hasMore
is always false.totalResultSize
contains the total number of results for this query. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |