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)
Document the transaction
{
"uuid": "feb0db0a-42a6-40db-9259-dc6e45d373cc",
"created_at": "2026-04-28T22:34:35+01:00",
"updated_at": "2026-04-28T22:34:35+01:00",
"name": "Document the transaction",
"description": "Document the transaction",
"priority": "high",
"position": 1,
"due_at": "2021-01-01 00:00:00",
"status": {
"uuid": "82cd4b21-f27d-4795-9b61-34a11e4efe7d",
"created_at": "2026-04-28T22:34:35+01:00",
"updated_at": "2026-04-28T22:34:35+01:00",
"name": "Incomplete",
"colour": "#398898",
"position": 1,
"is_type_completed": false,
"is_archived": false,
"is_not_started": false
},
"taskable_type": "case",
"taskable": {
"uuid": "d3788e91-700b-4cf1-9fbf-db58e77f509f",
"created_at": "2026-04-28T22:34:35+01:00",
"updated_at": "2026-04-28T22:34:35+01:00",
"name": "finance",
"slug": "finance",
"status": "App\\Http\\Resources\\CasesStatusResource",
"type": "App\\Http\\Resources\\CasesTypeResource",
"review_at": "2026-04-28T22:34:35+01:00",
"assigned_to_uuids": [
"2b0bd8e4-7f71-480f-b778-dfe66908342e"
],
"group_uuids": [
"4425236c-018f-4fbf-8f89-80c9ab95236d"
],
"completed_at": "2026-04-28T22:34:35+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": "af4df0c4-eef8-4bff-8e11-eecd8e35f54a",
"plans": "App\\Http\\Resources\\Plans\\PlanResource",
"custom_fields": "App\\Http\\Resources\\CustomFieldValueResource"
},
"author": {
"uuid": {
"example": "29ed93e9-a98c-419b-83db-de4a30d7e03b",
"description": "The UUID of the resource.",
"collection": false
},
"created_at": {
"example": "2026-04-28T22:34:35+01:00",
"description": "The timestamp of when the resource was created.",
"collection": false
},
"updated_at": {
"example": "2026-04-28T22:34:35+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": "dcd9a99d-5490-4194-a9a9-de9875fcd424",
"description": "The UUID of the resource.",
"collection": false
},
"created_at": {
"example": "2026-04-28T22:34:35+01:00",
"description": "The timestamp of when the resource was created.",
"collection": false
},
"updated_at": {
"example": "2026-04-28T22:34:35+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": "8e1b89fc-9c76-4f67-98c4-ee1dbae46104",
"description": "The UUID of the resource.",
"collection": false
},
"created_at": {
"example": "2026-04-28T22:34:35+01:00",
"description": "The timestamp of when the resource was created.",
"collection": false
},
"updated_at": {
"example": "2026-04-28T22:34:35+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": "dd7c4327-e648-4db5-8e43-b79461d5ac61",
"description": "The UUID of the resource.",
"collection": false
},
"created_at": {
"example": "2026-04-28T22:34:35+01:00",
"description": "The timestamp of when the resource was created.",
"collection": false
},
"updated_at": {
"example": "2026-04-28T22:34:35+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": "80fa410f-6af2-47d6-8eb6-76ed50bf0adc",
"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": "be2166ad-d88f-4ba4-a45c-f07c187c4860",
"created_at": "2026-04-28T22:34:35+01:00",
"updated_at": "2026-04-28T22:34:35+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."
}
]
}