See a Lead's Activities
POST https://api.copper.com/developer_api/v1/leads/{{example_lead_id}}/activities
This request will show the Activity entries created for a specific Lead. For more details please see the notes in the
Activities section.
Request body
{
"activity_types" : [
{
"id" : 1 ,
"category" : "user"
}
]
}
Example Requests
Lead Activities
Query
1
2
3
4
5
6
7
8
9
10
11
12
13 curl --location --request POST "https://api.copper.com/developer_api/v1/leads/{{example_lead_id}}/activities" \
--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 "{
\"activity_types\": [
{
\"id\": 1,
\"category\": \"user\"
}
]
}"
200 Response
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20[
{
"id" : 68 ,
"parent" : {
"id" : 1 ,
"type" : "lead"
},
"type" : {
"id" : 1 ,
"category" : "user"
},
"user_id" : 1 ,
"details" : "Phone call with Dave" ,
"activity_date" : 1522455323 ,
"old_value" : null ,
"new_value" : null ,
"date_created" : 1522455329 ,
"date_modified" : 1522455323
}
]