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": "35e1fb98-ac6b-4a17-8fea-0053b85e59e8",
"created_at": "2026-06-08T16:08:02+01:00",
"updated_at": "2026-06-08T16:08:02+01:00",
"name": "Document the transaction",
"description": "Document the transaction",
"priority": "high",
"position": 1,
"due_at": "2021-01-01 00:00:00",
"status": {
"uuid": "58999589-f2ff-4f1a-94d1-951c88850b5c",
"created_at": "2026-06-08T16:08:02+01:00",
"updated_at": "2026-06-08T16:08:02+01:00",
"name": "Incomplete",
"colour": "#398898",
"position": 1,
"is_type_completed": false,
"is_archived": false,
"is_not_started": false
},
"taskable_type": "case",
"taskable": {
"uuid": "86b1ef94-0ce6-4fd7-8b05-c42b287b4fec",
"created_at": "2026-06-08T16:08:02+01:00",
"updated_at": "2026-06-08T16:08:02+01:00",
"name": "finance",
"slug": "finance",
"status": "App\\Http\\Resources\\CasesStatusResource",
"type": "App\\Http\\Resources\\CasesTypeResource",
"review_at": "2026-06-08T16:08:02+01:00",
"assigned_to_uuids": [
"0b218ccf-c7df-43dd-9cd9-9024ebfe6d6f"
],
"group_uuids": [
"cc242299-5117-482f-8a42-42dd600b4649"
],
"completed_at": "2026-06-08T16:08:02+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": "341d093d-46c6-40fd-8885-4456aa1a9a9f",
"plans": "App\\Http\\Resources\\Plans\\PlanResource",
"custom_fields": "App\\Http\\Resources\\CustomFieldValueResource"
},
"author": {
"uuid": {
"example": "687d6438-5f0e-4f7b-a81c-00b45b525c0c",
"description": "The UUID of the resource.",
"collection": false
},
"created_at": {
"example": "2026-06-08T16:08:02+01:00",
"description": "The timestamp of when the resource was created.",
"collection": false
},
"updated_at": {
"example": "2026-06-08T16:08:02+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": "ebfb9cf4-d10e-46cd-82c4-79e7eacfd95a",
"description": "The UUID of the resource.",
"collection": false
},
"created_at": {
"example": "2026-06-08T16:08:02+01:00",
"description": "The timestamp of when the resource was created.",
"collection": false
},
"updated_at": {
"example": "2026-06-08T16:08:02+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": "eb3666d9-8850-423a-8ccb-cc80b4f5ee57",
"description": "The UUID of the resource.",
"collection": false
},
"created_at": {
"example": "2026-06-08T16:08:02+01:00",
"description": "The timestamp of when the resource was created.",
"collection": false
},
"updated_at": {
"example": "2026-06-08T16:08:02+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": "c1a1616f-032e-4398-8c8c-b60ac42faba9",
"description": "The UUID of the resource.",
"collection": false
},
"created_at": {
"example": "2026-06-08T16:08:02+01:00",
"description": "The timestamp of when the resource was created.",
"collection": false
},
"updated_at": {
"example": "2026-06-08T16:08:02+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": "fd7ed3aa-7252-43e4-a5d6-11dd4fe2e721",
"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
}
},
"workflow": {
"uuid": "331b7872-27b7-45a4-8565-801224d563e5",
"name": "New Client Onboarding"
},
"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": "d944f061-c3fb-4488-a85d-2a254d64df5b",
"created_at": "2026-06-08T16:08:02+01:00",
"updated_at": "2026-06-08T16:08:02+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."
}
]
}