Skip to content

Update a Task

PUT https://api.copper.com/developer_api/v1/tasks/{{example_task_id}}

Updates are only applied to fields explicitly specified in the request body. For example, if an update request is made with an empty body, no updates will be made. To remove the value from a field, the request body must specify the target field value as 'null'.

Note that this endpoint is eligible to return computed custom field values, click here for more information.

Request body

{
  "details":"This is an update"
}

Example Requests

Update Task

curl --location --request POST "https://api.copper.com/developer_api/v1/tasks/{{example_task_id}}" \
  --header "X-PW-AccessToken: YOUR_TOKEN_HERE" \
  --header "X-PW-Application: developer_api" \
  --header "X-PW-UserEmail: YOUR_EMAIL_HERE" \
  --header "Content-Type: application/json" \
  --data '{ "name": "Demo Task" }'
{
  "id": 3716920,
  "name": "My First Task",
  "related_resource": {
    "id": 144296,
    "type": "project"
  },
  "assignee_id": 137658,
  "due_date": 1496799000,
  "reminder_date": null,
  "completed_date": null,
  "priority": "None",
  "status": "Open",
  "details": "This is an update",
  "tags": [],
  "custom_fields": [],
  "date_created": 1496712856,
  "date_modified": 1496776369
}