Skip to content

Update an Existing Custom Activity Type

PUT https://api.prosperworks.com/developer_api/v1/custom_activity_types/{{custom_activity_type_id}}

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"

Request Body

1
2
3
{
  "icon_type": "Todo"
}

Example Requests

Update an Existing Custom Activity Type

1
2
3
4
5
6
7
8
9
curl --location --request PUT "https://api.prosperworks.com/developer_api/v1/custom_activity_types/5" \
  --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 "{
  \"icon_type\": \"Todo\"
}
"
1
2
3
4
5
6
7
8
9
{
    "id": 5,
    "company_id": 1,
    "icon_type": "Todo",
    "is_disabled": false,
    "is_interaction": false,
    "name": "New Activity",
    "is_default_task_type": null
}