Create task

Add a task with an assignee, due date and priority to a lead, event, booking, contact or account.

POST https://cotlet.dev/api/v1/tripleseat/records/{record_id}/tasks

write Confirm

Does what Add Task does on the Tasks tab. The assignee on an event or booking must be its owner or a manager. Priority is low, medium or high. The task appears on the assignee's Tasks page, so the call asks you first. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: create_task
NameTypeDescription
record_type string required string lead, event, booking, contact or account.
record_id integer required integer ID of that record.
body string required string What needs to be done.
assignee_id integer required integer User ID. For events and bookings, the owner or a manager.
due_date date date Due date.
priority string string low, medium or high.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/tripleseat/records/5529012/tasks \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"record_type":"event","body":"Chase signed contract and deposit for the Delgado rehearsal dinner on 21 Nov.","assignee_id":2214,"due_date":"2026-10-20","priority":"high"}'
Python
result = client.call("tripleseat", "create_task", {"record_type":"event","record_id":5529012,"body":"Chase signed contract and deposit for the Delgado rehearsal dinner on 21 Nov.","assignee_id":2214,"due_date":"2026-10-20","priority":"high"})
Node.js
const result = await cotlet.call('tripleseat', 'create_task', {"record_type":"event","record_id":5529012,"body":"Chase signed contract and deposit for the Delgado rehearsal dinner on 21 Nov.","assignee_id":2214,"due_date":"2026-10-20","priority":"high"});
CLI
cotlet call tripleseat create_task --data '{"record_type":"event","record_id":5529012,"body":"Chase signed contract and deposit for the Delgado rehearsal dinner on 21 Nov.","assignee_id":2214,"due_date":"2026-10-20","priority":"high"}'

Example response

JSON

{
  "task_id": 881204,
  "record_type": "event",
  "record_id": 5529012,
  "body": "Chase signed contract and deposit for the Delgado rehearsal dinner on 21 Nov.",
  "assignee": "Sam Reyes",
  "due_date": "2026-10-20",
  "priority": "high",
  "completed": false
}

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.