Skip to content

Create a New Activity

POST https://api.copper.com/developer_api/v1/activities

Request body

{
  "parent": {
    "type": "person",
    "id": 27140359
  },
  "type": {
    "category": "user",
    "id": 0
  },
  "details": "This is the description of this note"

}

Example Requests

Create New Note

curl --location --request POST "https://api.copper.com/developer_api/v1/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 "{
  \"parent\": {
    \"type\": \"person\",
    \"id\": 27140359
  },
  \"type\": {
    \"category\": \"user\",
    \"id\": 0
  },
  \"details\": \"This is the description of this note\"

}"
{
  "id": 3064242278,
  "parent": {
    "id": 27140359,
    "type": "person"
  },
  "type": {
    "id": 0,
    "category": "user"
  },
  "user_id": 137658,
  "details": "This is the description of this note",
  "activity_date": 1496772355,
  "old_value": null,
  "new_value": null,
  "date_created": 1496772355,
  "date_modified": 1496772355
}