Contacts

Returns Contacts

Example urls

contacts?site_id=12345&sitekey=abcde
contacts?site_id=12345&sitekey=abcde&goals=Ordered
contacts?site_id=12345&sitekey=abcde&campaign=Summer
contacts?site_id=12345&sitekey=abcde&campaign=Summer,mptl
contacts?site_id=12345&sitekey=abcde&profilings=cats,dogs
contacts?site_id=12345&sitekey=abcde&goals=allwithout

Parameters

All parameters can be replaced with “allwithout” to retrieve contacts that does not have any values of that type. The last example returns all contacts where no goals have been met.

goals
Filter contacts based on goals met.

visitedpages
Filter contacts based on visited pages. A “visited page” is created in Triggerbee.

campaign
Filter contacts based on campaigns. To retrieve contacts who arrived using a Tracking link, specify “mptl”.

profilings
Filter contacts based on profile.

take
Set the maximum numbers of contacts to be returned. Default is 10, max is 50.

skip
Sets the number of contacts to be skipped. Default is 0. Is often used in combination with take to create pagination.

Return format

A json object containing a list of contact data.