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
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15{
"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
Query
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\"
}"
200 Response
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19{
"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
}