Complete a task Run in API Explorer
Ask AI
PATCH
/api/v1/task/{task_uuid}/complete
curl \
--request PATCH 'https://api.plannrcrm.com/api/v1/task/6ff8f7f6-1eb3-3525-be4a-3932c805afed/complete' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}"
Response examples (200)
{
"uuid": "6472f525-4684-4a97-a73a-55db8bb16e46",
"created_at": "2026-05-19T18:31:17+01:00",
"updated_at": "2026-05-19T18:31:17+01:00",
"name": "Document the transaction",
"description": "Document the transaction",
"priority": "high",
"position": 1,
"due_at": "2021-01-01 00:00:00",
"status": {
"uuid": "f70fc687-04d4-45fa-b260-790f5f2fb6c4",
"created_at": "2026-05-19T18:31:17+01:00",
"updated_at": "2026-05-19T18:31:17+01:00",
"name": "Incomplete",
"colour": "#398898",
"position": 1,
"is_type_completed": false,
"is_archived": false,
"is_not_started": false
},
"taskable_type": "case",
"taskable": {
"uuid": "f9dd9feb-1100-4e09-8704-4304a4b3dd26",
"created_at": "2026-05-19T18:31:17+01:00",
"updated_at": "2026-05-19T18:31:17+01:00",
"name": "finance",
"slug": "finance",
"status": "App\\Http\\Resources\\CasesStatusResource",
"type": "App\\Http\\Resources\\CasesTypeResource",
"review_at": "2026-05-19T18:31:17+01:00",
"assigned_to_uuids": [
"4c0ea0fb-6900-4ab9-92aa-36bb893d5a38"
],
"group_uuids": [
"6b460ac1-4ade-4cb4-9b4f-af35c960ecac"
],
"completed_at": "2026-05-19T18:31:17+01:00",
"value": {
"amount": {
"example": "4000",
"description": "Money amount at their lowest denominator (for example: pennies)"
},
"formatted": {
"example": "£40.00",
"description": "Money amount formatted with currency"
},
"currency": {
"example": "GBP",
"description": "Currency of the money"
}
},
"status_position": 4,
"participants_count": 4,
"participants": "App\\Http\\Resources\\AccountResource",
"task_board_uuid": "12a299b6-5f1d-492e-9869-d77de303ee79",
"plans": "App\\Http\\Resources\\Plans\\PlanResource",
"custom_fields": "App\\Http\\Resources\\CustomFieldValueResource"
},
"author": {
"uuid": {
"example": "3fa2da18-822f-474d-889c-2850f5ca3fb5",
"description": "The UUID of the resource.",
"collection": false
},
"created_at": {
"example": "2026-05-19T18:31:17+01:00",
"description": "The timestamp of when the resource was created.",
"collection": false
},
"updated_at": {
"example": "2026-05-19T18:31:17+01:00",
"description": "The timestamp of when the resource was updated.",
"collection": false
},
"type": {
"example": "client",
"description": "Account type",
"collection": false
},
"role": {
"example": "client",
"description": "Account role",
"collection": false
},
"first_name": {
"example": "Gareth",
"description": "First name",
"collection": false
},
"last_name": {
"example": "Thompson",
"description": "Last name",
"collection": false
},
"name": {
"example": "Gareth Thompson",
"description": "Name",
"collection": false
},
"email": {
"example": "gareth@codepotato.co.uk",
"description": "(Deprecated - Please use the primary email of the account instead). The email of the account.",
"collection": false
},
"photo_url": {
"example": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"description": "The photo URL of the client",
"collection": false
},
"external_references": {
"example": "App\\Http\\Resources\\ExternalReferenceResource",
"description": "The external references that have been added to the client.",
"collection": true
}
},
"assigned_to": {
"uuid": {
"example": "57ab35ee-fe7c-4f36-b005-a61da4a283aa",
"description": "The UUID of the resource.",
"collection": false
},
"created_at": {
"example": "2026-05-19T18:31:17+01:00",
"description": "The timestamp of when the resource was created.",
"collection": false
},
"updated_at": {
"example": "2026-05-19T18:31:17+01:00",
"description": "The timestamp of when the resource was updated.",
"collection": false
},
"type": {
"example": "client",
"description": "Account type",
"collection": false
},
"role": {
"example": "client",
"description": "Account role",
"collection": false
},
"first_name": {
"example": "Gareth",
"description": "First name",
"collection": false
},
"last_name": {
"example": "Thompson",
"description": "Last name",
"collection": false
},
"name": {
"example": "Gareth Thompson",
"description": "Name",
"collection": false
},
"email": {
"example": "gareth@codepotato.co.uk",
"description": "(Deprecated - Please use the primary email of the account instead). The email of the account.",
"collection": false
},
"photo_url": {
"example": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"description": "The photo URL of the client",
"collection": false
},
"external_references": {
"example": "App\\Http\\Resources\\ExternalReferenceResource",
"description": "The external references that have been added to the client.",
"collection": true
}
},
"completed_at": "2021-01-01 00:00:00",
"completed_by": {
"uuid": {
"example": "84d83fcd-05bc-445f-b21e-f06025b266bd",
"description": "The UUID of the resource.",
"collection": false
},
"created_at": {
"example": "2026-05-19T18:31:17+01:00",
"description": "The timestamp of when the resource was created.",
"collection": false
},
"updated_at": {
"example": "2026-05-19T18:31:17+01:00",
"description": "The timestamp of when the resource was updated.",
"collection": false
},
"type": {
"example": "client",
"description": "Account type",
"collection": false
},
"role": {
"example": "client",
"description": "Account role",
"collection": false
},
"first_name": {
"example": "Gareth",
"description": "First name",
"collection": false
},
"last_name": {
"example": "Thompson",
"description": "Last name",
"collection": false
},
"name": {
"example": "Gareth Thompson",
"description": "Name",
"collection": false
},
"email": {
"example": "gareth@codepotato.co.uk",
"description": "(Deprecated - Please use the primary email of the account instead). The email of the account.",
"collection": false
},
"photo_url": {
"example": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"description": "The photo URL of the client",
"collection": false
},
"external_references": {
"example": "App\\Http\\Resources\\ExternalReferenceResource",
"description": "The external references that have been added to the client.",
"collection": true
}
},
"workflow_task": {
"uuid": {
"example": "d564205d-f859-4212-b929-d9797580d977",
"description": "The UUID of the resource.",
"collection": false
},
"created_at": {
"example": "2026-05-19T18:31:17+01:00",
"description": "The timestamp of when the resource was created.",
"collection": false
},
"updated_at": {
"example": "2026-05-19T18:31:17+01:00",
"description": "The timestamp of when the resource was updated.",
"collection": false
},
"name": {
"example": "Mortgage Review",
"description": "The name of the task",
"collection": false
},
"description": {
"example": "We need to run through a mortgage review with Gareth, as he can probably find a better deal.",
"description": "The extra description added to a task",
"collection": false
},
"priority": {
"example": "high",
"description": "The priority level of the task (e.g p1, p2, p3, p4)",
"collection": false
},
"position": {
"example": 2,
"description": "The task position.",
"collection": false
},
"task_status": {
"example": "App\\Http\\Resources\\TaskStatusResource",
"description": "Task status.",
"collection": false
},
"offset_due_at_by": {
"example": 2,
"description": "How many days from the day the workflow is run should the due at be set by.",
"collection": false
},
"visible_to_clients": {
"example": true,
"description": "Indicator for if the task is visible to clients.",
"collection": false
},
"auto_assign_assigned_adviser": {
"example": true,
"description": "Denotes if the task will auto-assign the assigned adviser / assigned adviser of the client when it is created.",
"collection": false
},
"auto_assign_assigned_administrator": {
"example": true,
"description": "Denotes if the task will auto-assign the administrator of the client when it is created.",
"collection": false
},
"auto_assign_clients": {
"example": true,
"description": "Denotes if the task will auto-assign the clients when it is created. If the workflow is run on a case then all the clients on the case will be assigned.",
"collection": false
},
"author": {
"example": "App\\Http\\Resources\\AccountResource",
"description": "The author of the task.",
"collection": false
},
"participants": {
"example": "App\\Http\\Resources\\AccountResource",
"description": "The participants/assignees of the task.",
"collection": true
},
"tags": {
"example": "App\\Http\\Resources\\TagResource",
"description": "The tags added to the task.",
"collection": true
},
"location_uuid": {
"example": "bbdcdb2e-8e0b-4b80-8c0e-af24a19f3906",
"description": "The parent task or workflow trigger task this task is a child of.",
"collection": false
},
"parent": {
"example": "App\\Http\\Resources\\Board\\WorkflowBoardTaskResource",
"description": "The parent task.",
"collection": false
},
"trigger": {
"example": "App\\Http\\Resources\\Board\\WorkflowBoardTaskResource",
"description": "The task that will trigger this task to be created.",
"collection": false
},
"trigger_tasks": {
"example": "App\\Http\\Resources\\Board\\WorkflowBoardTaskResource",
"description": "The tasks that will be triggered when this task is completed.",
"collection": true
},
"sub_tasks": {
"example": "App\\Http\\Resources\\Board\\WorkflowBoardTaskResource",
"description": "The tasks sub tasks.",
"collection": true
},
"groups": {
"example": "App\\Http\\Resources\\GroupResource",
"description": "The groups that will be added to the task.",
"collection": true
},
"workflow": {
"example": "App\\Http\\Resources\\Board\\WorkflowResource",
"description": "The workflow that the workflow task belongs to.",
"collection": false
},
"is_trigger_task": {
"example": true,
"description": "Denotes if this is a triggered task.",
"collection": false
}
},
"is_recurring": true,
"recurring_frequency": "weekly",
"recurring_last_run": "2026-01-01 00:00:00",
"recurring_next_run": "2026-01-01 00:00:00",
"custom_fields": [
{
"uuid": "789c7bf2-770a-4fad-bd2a-fdc0f6e89e79",
"created_at": "2026-05-19T18:31:17+01:00",
"updated_at": "2026-05-19T18:31:17+01:00",
"type": "string",
"name": "Favourite Drink",
"reference": "favourite_drink",
"is_required": false,
"value": "Coffee",
"selection_options": [
"Coffee",
"Tea",
"Water"
],
"help_text": "This is the client's favourite drink."
}
]
}