Skip to content

Update an Activity

PUT https://api.copper.com/developer_api/v1/activities/{{update_activity_id}}

Request body

{
  "activity_date": 1496772351,
  "details": "This is the updated description of this note"
}

Example Requests

Update a Note

curl --location --request PUT "https://api.copper.com/developer_api/v1/activities/{{update_activity_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 "{
  \"details\": \"This is the updated description of this note\",
  \"activity_date\": 1496772351,
}"
{
  "id": 3064242278,
  "parent": {
    "id": 27140359,
    "type": "person"
  },
  "type": {
    "id": 0,
    "category": "user"
  },
  "user_id": 137658,
  "details": "This is the updated description of this note",
  "activity_date": 1496772351,
  "old_value": null,
  "new_value": null,
  "date_created": 1496772355,
  "date_modified": 1496772355
}