List activities

get
all activities

https://data.salesmachine.io/v2/activities
Request
Response
Request
Query Parameters
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 accounts 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": "activity.list",
"data": [
{
"object": "activity",
"type": "call",
"id": "5d4d879ef92ea143f0e3e0b5",
"created_at": 1565362078,
"completed_at": 1565361921,
"subject": "Call with John",
"note": "< text here ...> ",
"accounts": [
{
"object": "account",
"id": "5aa42e5ecb4a290c579aeec8"
}
],
"author": {
"object": "user",
"id": "5a9d0d70ec8d83231af64745"
}
},
....
],
"pagination": {
"total": 4019,
"offset": 0,
"limit": 25,
"count": 25,
"next": "https://api.salesmachine.io/v2/activities?offset=25&limit=25"
}
}
curl -X GET https://api.salesmachine.io/v2/activities \
-H 'Accept: application/json'
-H 'Authorization:Bearer <Your access token>'