List contacts

get
List all contacts

https://data.salesmachine.io/v2/contacts
A pageable list of contacts. The contact list contains a pagination object that indicates if more contacts exist via the next field, whose value is a URL that can be used to fetch the next page. If the next field is not present, that indicates there are no further contacts in the list.
Request
Response
Request
Path Parameters
archived
optional
boolean
if true list only archived contacts
offset
optional
string
What offset of results to fetch. Defaults to first item.
limit
optional
string
How many results per page. Defaults to 25, max is 100
order
optional
string
Returns the contacts in ascending or descending order. Valid values 'asc' or 'desc'. Defaults to 'desc'
sort
optional
string
What field to sort the results by. Valid values: 'created_at'
Response
200: OK
{
"object": "contact.list",
"data": [
{
"object": "contact",
"id": "5d3bae5bcb4a287b44583a55",
"unique_id": "5d3bae4cf92ea13a3dfb542e",
"created_at": 1564192347,
"data": {
...
},
"salesmachine": {
...
},
"stage": {
"name": "Trial",
"id": "5b2bc014ce8d8355c6d48b70"
},
"accounts": {
"object": "account.list",
"data": [
{
"id": "5d3bae278cae234bef95405a"
}
]
}
}
],
"pagination": {
"total": 4019,
"offset": 0,
"limit": 25,
"count": 25,
"next": "https://api.salesmachine.io/v2/contacts?offset=25&limit=25"
}
}
‚Äč
curl -X GET https://api.salesmachine.io/v2/contacts \
-H 'Accept: application/json'
-H 'Authorization:Bearer <Your access token>'