searchContacts

Purpose:

This method used to get the number of contacts in Apptivo based on the email address.

Request URL:

https://api.apptivo.com/app/dao/v6/contacts?a=getAllByAdvancedSearch&numRecords=NUM_OF_RECORDS&searchData={SEARCH_DATA}&multiSelectData={}&apiKey=API_KEY&accesKey=ACCESS_KEY

Request Parameters:

Parameter Data Type Description
SEARCH_DATA search data with Json format please see the sample request URL
NUM_OF_RECORDS number of records to return
SESSION_KEY Apptivo session key from username and password

* – Mandatory parameters

Output:

This will return the number of contacts with JSON format.

Sample Request URL:

https://app.apptivo.com/app/dao/v6/contacts?a=getAllByAdvancedSearch
&startIndex=0
&numRecords=50
&sortColumn=lastName.sortable
&sortDir=asc
&iDisplayLength=50
&iDisplayStart=0
&sSortDir_0=asc
&objectId=2
&multiSelectData={"marketIds":[],"segmentIds":[],"contactTypeIds":[],"industryIds":[]}
&searchData={"title":"","lastName":"TestContact","accountId":null,"isPrimary":null,"isBounced":null,"categories":[],"addresses":[{"addressAttributeId":"address_section_attr_id","addressGroupName":"Address1","addressType":"","state":"","stateCode":"","stateId":null,"stateName":""}],"phoneNumbers":[],"emailAddresses":[],"customAttributes":[],"labels":[]}
&status=0