Audience Contact Search

The Audience Contact Search API allows you to search for contacts within a specified audience(list, ccg or UDT) based on multiple filter conditions. It supports advanced filtering logic, sorting, pagination, and the ability to fetch either result data or just the count of matching records. This is a synchronous API.

Body Params
string
required

Specifies the audience type.
Allowed values: List | UDT | Segment | CCG

string

Specifies how to combine multiple filtering criteria blocks. (Allowed value "and" & "or"). Mandory if more than one 'filtering_criteria' block is provided. Blank value accepted if exactly one 'filtering_criteria' block is provided.

filtering_criteria
array of objects
required

Defines the conditions used to filter contacts within the specified audience.

filtering_criteria*
output
object
required

Defines how the results should be returned. Required unless 'get_Count' is set to 'true'.

string

Specifies whether the API should return only thr total count of matching records instead of the full contact data. If 'get_Count' is set to 'true', the response will include only the count. If set to 'false', the output object must be defined.
Important Notes
When 'get_Count' is 'true', fields like 'pagination','fields, and 'sorting' under the 'output' object are ignored./nWhen using this mode, the API returns the total number of matched records as an integer.

Headers
string
required

API key for authentication. You must have a unique and valid API key.

string
required

Specify the request content type. It must be application/json

Responses

Language
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json