Skip to content

tasks.created

Crewsum sends tasks.created when one or more tasks are created.

tasks.created
  • The Create Task API endpoint (POST /v1/tasks/tasks). This sends one task.
  • Creating a task in the Crewsum app.
  • Adding tasks while you create or edit a project or a client in the Crewsum app. One event can then contain several tasks.

Crewsum sends the event only after the change is saved. A request that fails or is rejected sends no event. See Delivery for timing and retries.

data.tasks is an array of tasks.

{
"event": "tasks.created",
"data": {
"tasks": [
{
"id": "task-pqr123stu4567890",
"name": "Site Survey",
"description": "Survey the site before installation",
"isArchived": false,
"createdAt": "2026-09-28T14:05:12.000Z",
"updatedAt": "2026-09-28T14:05:12.000Z",
"isDeleted": false,
"clientId": "client-ghi123jkl4567890",
"projectId": "project-mno123pqr4567890",
"hoursBudget": 40,
"submittedHours": 0,
"billingCategory": "BILLABLE",
"clientName": "Northwind Logistics",
"projectName": "Warehouse Automation Rollout",
"projectEndCustomer": "Bayview Distribution Center",
"clientDeleted": false,
"clientArchived": false,
"projectDeleted": false,
"projectArchived": false,
"isDefault": false,
"autoAssign": false
}
]
}
}

hoursBudget, submittedHours, and isAvailableForNewSelection can be missing. billingCategory is BILLABLE, NON_BILLABLE, or null.