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": "e18730c9-f8bc-4f90-9639-8fb743be355f",
"created_at": "2026-05-08T14:41:55+01:00",
"updated_at": "2026-05-08T14:41:55+01:00",
"name": "Document the transaction",
"description": "Document the transaction",
"priority": "high",
"position": 1,
"due_at": "2021-01-01 00:00:00",
"status": {
"uuid": "118c59f6-77e2-4d59-bc20-f1dbb6a0049d",
"created_at": "2026-05-08T14:41:55+01:00",
"updated_at": "2026-05-08T14:41:55+01:00",
"name": "Incomplete",
"colour": "#398898",
"position": 1,
"is_type_completed": false,
"is_archived": false,
"is_not_started": false
},
"taskable_type": "case",
"taskable": {
"uuid": "09b5707c-d21f-4d3d-87b5-82d393894637",
"created_at": "2026-05-08T14:41:55+01:00",
"updated_at": "2026-05-08T14:41:55+01:00",
"name": "finance",
"slug": "finance",
"status": "App\\Http\\Resources\\CasesStatusResource",
"type": "App\\Http\\Resources\\CasesTypeResource",
"review_at": "2026-05-08T14:41:55+01:00",
"assigned_to_uuids": [
"a7badb5b-7631-4b5c-a3e6-1f5bf33ed1b1"
],
"group_uuids": [
"6441f424-de1a-4987-a55c-64cc29a1bfa1"
],
"completed_at": "2026-05-08T14:41:55+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": "0fe1e044-893a-467a-8816-1ff40eed3bc2",
"plans": "App\\Http\\Resources\\Plans\\PlanResource",
"custom_fields": "App\\Http\\Resources\\CustomFieldValueResource"
},
"author": {
"uuid": {
"example": "cb82fa2b-7d93-4c27-8e89-a15dc5e70f48",
"description": "The UUID of the resource.",
"collection": false
},
"created_at": {
"example": "2026-05-08T14:41:55+01:00",
"description": "The timestamp of when the resource was created.",
"collection": false
},
"updated_at": {
"example": "2026-05-08T14:41:55+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": "b2f1184b-a21e-4b41-b212-b82c3d4418bd",
"description": "The UUID of the resource.",
"collection": false
},
"created_at": {
"example": "2026-05-08T14:41:55+01:00",
"description": "The timestamp of when the resource was created.",
"collection": false
},
"updated_at": {
"example": "2026-05-08T14:41:55+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": "4f5aaaac-31d0-4223-acc1-bc70958c19cc",
"description": "The UUID of the resource.",
"collection": false
},
"created_at": {
"example": "2026-05-08T14:41:55+01:00",
"description": "The timestamp of when the resource was created.",
"collection": false
},
"updated_at": {
"example": "2026-05-08T14:41:55+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": "5f918c08-4b18-4b8c-9e5c-a397fb79d20c",
"description": "The UUID of the resource.",
"collection": false
},
"created_at": {
"example": "2026-05-08T14:41:55+01:00",
"description": "The timestamp of when the resource was created.",
"collection": false
},
"updated_at": {
"example": "2026-05-08T14:41:55+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": "836a777e-70b2-470c-914f-3c3f45209943",
"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": "00aa8c8f-a10a-4b09-a05a-de06eb54cc2d",
"created_at": "2026-05-08T14:41:55+01:00",
"updated_at": "2026-05-08T14:41:55+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."
}
]
}