Get all tasks
GET {{baseUrl}}/crm/tasks?filter[type]=veniam elit in&filter[status]=done&filter[date]=range&filter[assignTo]=veniam elit in&filter[contacts]=veniam elit in&filter[deals]=veniam elit in&filter[companies]=veniam elit in&dateFrom=-41398727&dateTo=-41398727&offset=13396752&limit=50&sort=desc&sortBy=name
Request Params
| Key | Datatype | Required | Description | 
|---|---|---|---|
| filter[type] | string | Filter by task type (ID) | |
| filter[status] | string | Filter by task status | |
| filter[date] | string | Filter by date | |
| filter[assignTo] | string | Filter by assignTo id | |
| filter[contacts] | string | Filter by contact ids | |
| filter[deals] | string | Filter by deals ids | |
| filter[companies] | string | Filter by companies ids | |
| dateFrom | number | dateFrom to date range filter type (timestamp in milliseconds) | |
| dateTo | number | dateTo to date range filter type (timestamp in milliseconds) | |
| offset | number | Index of the first document of the page | |
| limit | number | Number of documents per page | |
| sort | string | Sort the results in the ascending/descending order. Default order is descending by creation if sortis not passed | |
| sortBy | string | The field used to sort field names. | 
HEADERS
| Key | Datatype | Required | Description | 
|---|---|---|---|
| Accept | string | 
RESPONSES
status: OK
{"items":[{"taskTypeId":"61a5cd07ca1347c82306ad09","name":"Task: Connect with client","id":"61a5cd07ca1347c82306ad06","contactsIds":[1,2,3],"dealsIds":["61a5ce58c5d4795761045990","61a5ce58c5d4795761045991","61a5ce58c5d4795761045992"],"companiesIds":["61a5ce58c5d4795761045990","61a5ce58c5d4795761045991","61a5ce58c5d4795761045992"]},{"taskTypeId":"61a5cd07ca1347c82306ad09","name":"Task: Connect with client","id":"61a5cd07ca1347c82306ad06","contactsIds":[1,2,3],"dealsIds":["61a5ce58c5d4795761045990","61a5ce58c5d4795761045991","61a5ce58c5d4795761045992"],"companiesIds":["61a5ce58c5d4795761045990","61a5ce58c5d4795761045991","61a5ce58c5d4795761045992"]}]}