Creates a new task and returns the created object. Tasks represent work items such as cleaning turnovers, maintenance repairs, or property inspections.
Body Parameters
A descriptive title for the task (e.g., “Turnover cleaning - Sunset Villa”).
The ID of the property this task is associated with.
Detailed instructions or notes for the task.
Department responsible for this task. One of: cleaning, maintenance, inspection.
The date the task should be performed (YYYY-MM-DD format).
The time the task should start (HH:MM format, 24-hour).
User ID of the team member to assign this task to.
Priority level. One of: low, normal, high, urgent.
estimated_duration_minutes
Estimated time to complete the task, in minutes.
Cost associated with the task.
Currency code for the cost (ISO 4217, e.g., “USD”, “EUR”). Required if cost is provided.
Example Request
curl -X POST \
-H "Authorization: Bearer trls_live_abc123..." \
-H "Content-Type: application/json" \
-d '{
"title": "Turnover cleaning - Sunset Villa",
"property_id": "a1b2c3d4-5678-9abc-def0-123456789abc",
"department": "cleaning",
"scheduled_date": "2026-04-10",
"scheduled_time": "10:00",
"assigned_to": "u1a2b3c4-1111-2222-3333-444444444444",
"priority": "high",
"estimated_duration_minutes": 120,
"cost": 85.00,
"currency": "USD"
}' \
"https://api.trellistech.com/v1/tasks"
Response
Returns the newly created task object.
Unique identifier for the task.
Task description or instructions.
ID of the associated property.
Name of the associated property.
Department (e.g., “cleaning”, “maintenance”).
Priority level: low, normal, high, urgent.
The assigned team member, if any. Full name of the assignee.
Scheduled date (YYYY-MM-DD).
Scheduled time (HH:MM), if set.
estimated_duration_minutes
Estimated duration in minutes.
Cost associated with the task.
Currency code (ISO 4217).
ISO 8601 timestamp of when the task was created.
ISO 8601 timestamp of the last update.
Example Response
{
"id" : "t1a2b3c4-5678-9abc-def0-333333333333" ,
"title" : "Turnover cleaning - Sunset Villa" ,
"description" : null ,
"property_id" : "a1b2c3d4-5678-9abc-def0-123456789abc" ,
"property_name" : "Sunset Villa" ,
"department" : "cleaning" ,
"status" : "OPEN" ,
"priority" : "high" ,
"assigned_to" : {
"id" : "u1a2b3c4-1111-2222-3333-444444444444" ,
"name" : "Sofia Martinez"
},
"scheduled_date" : "2026-04-10" ,
"scheduled_time" : "10:00" ,
"estimated_duration_minutes" : 120 ,
"cost" : 85.00 ,
"currency" : "USD" ,
"created_at" : "2026-04-05T07:00:00Z" ,
"updated_at" : "2026-04-05T07:00:00Z"
}
Error Responses
{
"error" : {
"code" : "validation_error" ,
"message" : "The 'title' field is required."
}
}
{
"error" : {
"code" : "invalid_parameter" ,
"message" : "The 'property_id' does not match any property in your workspace."
}
}
{
"error" : {
"code" : "unauthorized" ,
"message" : "Invalid or missing API key."
}
}