curl --request PATCH \
--url https://{your-subdomain}.neetocrm.com/api/external/v1/tasks/{id} \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <x-api-key>' \
--data '
{
"task": {
"title": "Follow up with Eve",
"description": "Send proposal",
"status": "pending",
"priority": "high",
"due_date": "2024-01-15",
"due_time": "14:00",
"owner_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"contact_id": 1,
"company_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"deal_id": 1,
"lead_id": 1
}
}
'{
"task": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"title": "Follow up with Eve",
"description": "Send proposal",
"status": "pending",
"priority": "high",
"due_date": "2025-03-20",
"due_time": "14:00",
"owner_id": null,
"contact_id": "c1d2e3f4-a5b6-7890-cdef-123456789012",
"company_id": null,
"deal_id": null,
"lead_id": null,
"organization_id": "org-123",
"owner": null,
"created_at": "2025-03-15T10:30:00.000Z",
"updated_at": "2025-03-15T10:30:00.000Z"
}
}Update an existing task by its ID.
curl --request PATCH \
--url https://{your-subdomain}.neetocrm.com/api/external/v1/tasks/{id} \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <x-api-key>' \
--data '
{
"task": {
"title": "Follow up with Eve",
"description": "Send proposal",
"status": "pending",
"priority": "high",
"due_date": "2024-01-15",
"due_time": "14:00",
"owner_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"contact_id": 1,
"company_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"deal_id": 1,
"lead_id": 1
}
}
'{
"task": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"title": "Follow up with Eve",
"description": "Send proposal",
"status": "pending",
"priority": "high",
"due_date": "2025-03-20",
"due_time": "14:00",
"owner_id": null,
"contact_id": "c1d2e3f4-a5b6-7890-cdef-123456789012",
"company_id": null,
"deal_id": null,
"lead_id": null,
"organization_id": "org-123",
"owner": null,
"created_at": "2025-03-15T10:30:00.000Z",
"updated_at": "2025-03-15T10:30:00.000Z"
}
}{your-subdomain} with your workspace’s subdomain. X-Api-Key is used to authenticate requests using an API key. Provide your API key in this header to access protected endpoints. Refer to Authentication for more information.
The ID of the task to update. You can get the task id by listing all tasks using our List all tasks API.
Hide child attributes
Task title.
"Follow up with Eve"
Task description.
"Send proposal"
Task status.
"pending"
Task priority.
"high"
Due date.
"2024-01-15"
Due time.
"14:00"
Unique identifier of the owner.
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Associated contact ID.
1
Unique identifier of the associated company.
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Associated deal ID.
1
Associated lead ID.
1
Task updated successfully.
Hide child attributes
Unique identifier for the task.
Title of the task.
Description of the task.
Current status of the task.
Priority level of the task.
Due date of the task.
Due time of the task.
Unique identifier of the owner.
Unique identifier of the associated contact.
Unique identifier of the associated company.
Unique identifier of the associated deal.
Unique identifier of the associated lead.
Unique identifier of the organization.
Timestamp when the task was created.
Timestamp when the task was last updated.