See a Person's Activities¶
POST https://api.copper.com/developer_api/v1/people/{{example_person_id}}/activities
This request will show the Activity entries created for a specific Person. For more details, please see the notes in the Activities section.
Request Body¶
{
"activity_types": [
{
"id": 1,
"category": "user"
}
]
}
Example Requests¶
Person Activities¶
curl --location --request POST "https://api.copper.com/developer_api/v1/people/{{example_person_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\"
}
]
}"
[
{
"id": 70,
"parent": {
"id": 2,
"type": "person"
},
"type": {
"id": 1,
"category": "user"
},
"user_id": 1,
"details": "Call with Rob",
"activity_date": 1522694372,
"old_value": null,
"new_value": null,
"date_created": 1522694392,
"date_modified": 1522694372
}
]