Create a New Custom Activity Type¶
POST https://api.copper.com/developer_api/v1/custom_activity_types
Field | Type | Details | Default |
---|---|---|---|
name* | string | Name of the custom activity type. | |
icon_type* | string | Icon Type. Must be one of: "Message", "Phone", "Event", "Assignment", "Assessment", "Group", "Description", "Speaker Notes", "Forum", "Web", "Loyalty", "Content Paste", "Headset", "Share", "Navigation", "Notification", "Voicemail", "Room", "Edit", "Send", "Videocam", "Play Arrow", "Grocery Store", "Mic", "Camera Mic", "Todo" |
* indicates a required field
Request Body¶
{
"name": "New Activity",
"icon_type": "Phone"
}
Example Requests¶
Create a New Custom Activity Type¶
curl --location --request POST "https://api.copper.com/developer_api/v1/custom_activity_types" \
--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\": \"New Activity\",
\"icon_type\": \"Phone\"
}
"
{
"id": 5,
"company_id": 1,
"icon_type": "Phone",
"is_disabled": false,
"is_interaction": false,
"name": "New Activity",
"is_default_task_type": null
}