Log time

Log time on a ticket or project, billable or not.

POST https://cotlet.dev/api/v1/accelo/againsts/{against_id}/times

write

Creates a time entry on a ticket or project for the minutes and day you give, as you, with a subject. Time on tickets and projects is billable unless you pass billable false. The entry reaches no one and nothing is invoiced from it until you approve the time in Accelo. Edit or delete the entry in Accelo if it is wrong, so it does not ask for confirmation.

Parameters

Parameters: log_time
NameTypeDescription
against_type enum required enum ticket or project.
against_id integer required integer Ticket or project ID.
minutes integer required integer Minutes to log.
subject string required string What the time was spent on.
date string string ISO date of the work. Default: today.
billable boolean boolean Default: true.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/accelo/againsts/1042/times \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"against_type":"ticket","minutes":45,"subject":"Export fix","billable":true,"date":"2026-10-16"}'
Python
result = client.call("accelo", "log_time", {"against_type":"ticket","against_id":1042,"minutes":45,"subject":"Export fix","billable":True,"date":"2026-10-16"})
Node.js
const result = await cotlet.call('accelo', 'log_time', {"against_type":"ticket","against_id":1042,"minutes":45,"subject":"Export fix","billable":true,"date":"2026-10-16"});
CLI
cotlet call accelo log_time --data '{"against_type":"ticket","against_id":1042,"minutes":45,"subject":"Export fix","billable":true,"date":"2026-10-16"}'

Example response

JSON

{
  "activity_id": 5564,
  "against": {
    "type": "ticket",
    "id": 1042
  },
  "subject": "Export fix",
  "minutes": 45,
  "hours": 0.75,
  "billable": true,
  "date": "2026-10-16"
}

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.