List tasks

get
List tasks

https://data.salesmachine.io/v2/tasks
This endpoint allows you to get a list of tasks
Request
Response
Request
Query Parameters
offset
optional
number
Offset of the results to fetch. Default to first item.
limit
optional
number
How many results per page. Default is 25, max is 100
Response
200: OK
Cake successfully retrieved.
{
"object": "task.list",
"data": [
{
"object": "task",
"id": "6120e071155b81197607c55b",
"created_at": 1629544561,
"type": "todo",
"status": "close",
"subject": "remember the milk",
"body": "don't forget",
"due_at": 1632136561,
"completed_at": 1629544561,
"account": {
"object": "account",
"id": "6120e071155b81197607c557"
},
"assignee": {
"object": "user",
"id": "6120e070155b81197607c507"
}
},
.....
],
"pagination": {
"total": 4019,
"offset": 0,
"limit": 25,
"count": 25,
"next": "https://data.salesmachine.io/v2/tasks?offset=25&limit=25"
}
}
curl -X GET https://data.salesmachine.io/v2/tasks \
-H 'Accept: application/json' \
-H 'Authorization:Bearer <Your access token>'