Create task

Create a task on a ticket or project.

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

write Confirm

Creates a task with a title against a ticket or project, and returns it with its status, which starts as Pending until the assignee accepts it. An assignee can be notified about the task. Set a due date and priority from the names Accelo shows. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: create_task
NameTypeDescription
against_type enum required enum ticket or project.
against_id integer required integer Ticket or project ID.
title string required string Task title.
description string string Task details.
assignee_id integer integer Staff ID of the assignee.
due_date string string ISO date.
priority string string Priority name as shown in Accelo.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/accelo/againsts/1/tasks \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"against_type":"ticket","title":"title"}'
Python
result = client.call("accelo", "create_task", {"against_type":"ticket","against_id":1,"title":"title"})
Node.js
const result = await cotlet.call('accelo', 'create_task', {"against_type":"ticket","against_id":1,"title":"title"});
CLI
cotlet call accelo create_task --data '{"against_type":"ticket","against_id":1,"title":"title"}'

Example response

JSON

{
  "task_id": 7712,
  "title": "Ship the export fix",
  "against": {
    "type": "ticket",
    "id": 1042
  },
  "assignee": "Sam Okafor",
  "status": "Pending",
  "priority": "High",
  "date_due": "2026-10-20"
}

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.