Create an Activity

Creating a new activity for a case from the API can be done by posting your activity object to Supportbench. Updating activities are not supported.

When creating an activity, the below fields are available to you.

NameRequiredDefaultSummary
case_idyes-The case id this activity is associated to.
type_idyes-The activity type. i.e. Task
contact_idno-The contact associated to this activity.
time_spentno0The time spent in minutes.
subjectno-The subject of the activity if different from the case.
publicnoFalseIs the case available within the communities.
importantnoFalseSet the important flag.
logsnoFalseSet the log flag.
solutionnoFalseSet the solution flag.
email_fromno-The email from.
email_tono-The email to addresses separated by commas.
email_ccno-The email cc addresses separated by commas
contentyes-The activity content in HTML.
dueno-Used for tasks. The date the task is due.
completed_onno-Used for tasks. The date the task was completed on.
attachment_group_idno-When attaching files, enter the attachment group id associated to the files to attach to this activity.
Language
Authorization