v1

latestOpenAPI 3.0.12026-07-2412598.8 KB
Contacts

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.

post/contact/audience/search

Headers

api-keystring required

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

Content-Typestring required

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

Request body

audience_typestring required

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

filtering_criteria_operatorstring

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.

get_Countstring

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.

Response

Success Response: The request was successfully processed and matching audience contact data or count was returned.

request_idstring required

This is unique ID refer to each request.

statusstring required

It signifies the status of API. For example: success , failed.

descriptionstring required

This display the expected description of the API.

codeinteger required

This returns the customized code.

countinteger

The total number of items that match the request's query or filter criteria.