Log activity

Log a call, meeting or custom activity on a record.

POST https://cotlet.dev/api/v1/copper-crm/records/{record_id}/activities

write Confirm

Adds an entry to the record's Activity Log, as Log Activity does. Phone Call and Meeting count in interaction stats and the Activity by User report, To-do does not, and a custom type counts only if it was created as an interaction. Completing a task does not log an activity by itself. The entry is visible to your team. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: log_activity
NameTypeDescription
record_type enum required enum lead, person, company, opportunity or project.
record_id string required string Id of the record.
activity_type string required string Activity Type name, e.g. Phone Call or Meeting.
details string string Notes for the entry.
occurred_at datetime datetime When it happened, ISO 8601. Default: now.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/copper-crm/records/record_8c41d2/activities \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"record_type":"lead","activity_type":"activity type"}'
Python
result = client.call("copper-crm", "log_activity", {"record_type":"lead","record_id":"record_8c41d2","activity_type":"activity type"})
Node.js
const result = await cotlet.call('copper-crm', 'log_activity', {"record_type":"lead","record_id":"record_8c41d2","activity_type":"activity type"});
CLI
cotlet call copper-crm log_activity --data '{"record_type":"lead","record_id":"record_8c41d2","activity_type":"activity type"}'

Example response

JSON

{
  "activity_id": "64018822",
  "activity_type": "Phone Call",
  "record": {
    "type": "person",
    "id": "77121902",
    "name": "Dana Whitfield"
  },
  "occurred_at": "2026-10-19T15:30:00Z",
  "details": "Walked through pricing, she will check with the clinic owner."
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.