get https://{subdomain}.kommo.com/api/v4/tasks
Data type header when the request is successful
Content-Type: application/hal+json
Data type header in case of an error
Content-Type: application/problem+json
An example of the request
In the following example we will get a list of all completed tasks with the type 2 (Meeting) limiting the sample to 2 rows.
https://example.kommo.com/api/v4/tasks?filter[task_type]=2&filter[is_completed]=1&limit=2
Response parameters
Method returns an array of task objects. The properties of an object are listed below.
Parameter | Data type | Description |
---|---|---|
id | int | Task ID |
created_by | int | ID of the user who created the task |
updated_by | int | ID of the user who edited the task last |
created_at | int | Task creation date in the format of Unix Timestamp |
updated_at | int | Task edit date in the format of Unix Timestamp |
responsible_user_id | int | Task responsible user ID |
group_id | int | Group ID of the task responsible user |
entity_id | int | ID of the entity the task is linked to |
entity_type | string | Type of the entity the task is linked to |
is_completed | bool | Defines whether the task is completed |
task_type_id | int | Task type |
text | string | Task description |
duration | int | Task duration in seconds |
complete_till | int | Task deadline date in the format of Unix Timestamp |
result | object | Task result |
result[text] | string | Task result text |
account_id | int | Account ID where the task is located in |