Create a New Task¶
POST https://api.copper.com/developer_api/v1/tasks
Note that this endpoint is eligible to return computed custom field values, click here for more information.
Request body¶
{
"name": "Demo task",
"related_resource": {
"id": 144296,
"type": "project"
},
"assignee_id": 137658,
"due_date": 1496799000,
"reminder_date": null,
"priority": "None",
"status": "Open",
"details": "This needs to be done!",
"tags": [],
"custom_fields": []
}
Example Requests¶
Create Task¶
curl --location --request POST "https://api.copper.com/developer_api/v1/tasks" \
--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": 3726701,
"name": "Demo Task",
"related_resource": {
"id": null,
"type": null
},
"assignee_id": 137658,
"due_date": null,
"reminder_date": null,
"completed_date": null,
"priority": "None",
"status": "Open",
"details": null,
"tags": [],
"custom_fields": [],
"date_created": 1496771985,
"date_modified": 1496771985
}