Log activity
civicrm_log_activityWRITE: records ONE activity (a meeting, phone call, e-mail, follow-up, ...) with one or more contacts. It only STORES the record: an activity of type Email does not send an e-mail. Added by the contact this API key belongs to unless source_contact_id is given. APIv4 Activity.create.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Status by name, e.g. Completed (default), Scheduled, Cancelled. | |
| details | No | Description. | |
| subject | Yes | Subject line. | |
| activity_type | Yes | Activity type by name, e.g. Meeting, Phone Call, Email, Follow up (see civicrm_get_fields Activity, field activity_type_id). | |
| with_contact_ids | Yes | The contact(s) the activity is with. | |
| source_contact_id | No | Who added it (default: the API key's own contact). | |
| activity_date_time | No | When it happened or will happen (default now). | |
| assignee_contact_ids | No | Contact(s) assigned to do it. |