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
{
"name": "Document the transaction",
"uuid": "caddd2ac-9157-4c2f-935b-7712a3353881",
"author": {
"name": {
"example": "Gareth Thompson",
"collection": false,
"description": "Name"
},
"role": {
"example": "client",
"collection": false,
"description": "Account role"
},
"type": {
"example": "client",
"collection": false,
"description": "Account type"
},
"uuid": {
"example": "5b8f9363-6d4a-4374-806b-ce157ec1b6d6",
"collection": false,
"description": "The UUID of the resource."
},
"email": {
"example": "gareth@codepotato.co.uk",
"collection": false,
"description": "(Deprecated - Please use the primary email of the account instead). The email of the account."
},
"last_name": {
"example": "Thompson",
"collection": false,
"description": "Last name"
},
"photo_url": {
"example": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"collection": false,
"description": "The photo URL of the client"
},
"created_at": {
"example": "2026-03-18T16:05:26+00:00",
"collection": false,
"description": "The timestamp of when the resource was created."
},
"first_name": {
"example": "Gareth",
"collection": false,
"description": "First name"
},
"updated_at": {
"example": "2026-03-18T16:05:26+00:00",
"collection": false,
"description": "The timestamp of when the resource was updated."
},
"external_references": {
"example": "App\\Http\\Resources\\ExternalReferenceResource",
"collection": true,
"description": "The external references that have been added to the client."
}
},
"due_at": "2021-01-01 00:00:00",
"status": {
"name": "Incomplete",
"uuid": "d73032f9-bb36-4f5e-9ff4-8f63f160f0ad",
"colour": "#398898",
"position": 1,
"created_at": "2026-03-18T16:05:26+00:00",
"updated_at": "2026-03-18T16:05:26+00:00",
"is_archived": false,
"is_not_started": false,
"is_type_completed": false
},
"position": 1,
"priority": "high",
"taskable": {
"name": "finance",
"slug": "finance",
"type": "App\\Http\\Resources\\CasesTypeResource",
"uuid": "b2e3841d-3c33-4f38-833a-2c7ccdc907e6",
"plans": "App\\Http\\Resources\\Plans\\PlanResource",
"value": {
"amount": {
"example": "4000",
"description": "Money amount at their lowest denominator (for example: pennies)"
},
"currency": {
"example": "GBP",
"description": "Currency of the money"
},
"formatted": {
"example": "£40.00",
"description": "Money amount formatted with currency"
}
},
"status": "App\\Http\\Resources\\CasesStatusResource",
"review_at": "2026-03-18T16:05:26+00:00",
"created_at": "2026-03-18T16:05:26+00:00",
"updated_at": "2026-03-18T16:05:26+00:00",
"group_uuids": [
"b5237205-afaf-441b-ba4f-1423d8f6ada6"
],
"completed_at": "2026-03-18T16:05:26+00:00",
"participants": "App\\Http\\Resources\\AccountResource",
"custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
"status_position": 4,
"task_board_uuid": "ff9b8b37-5839-4430-9730-b546bb2eeb17",
"assigned_to_uuids": [
"7c7567ba-d6e1-40ea-a760-81ff5112cb85"
],
"participants_count": 4
},
"created_at": "2026-03-18T16:05:26+00:00",
"updated_at": "2026-03-18T16:05:26+00:00",
"assigned_to": {
"name": {
"example": "Gareth Thompson",
"collection": false,
"description": "Name"
},
"role": {
"example": "client",
"collection": false,
"description": "Account role"
},
"type": {
"example": "client",
"collection": false,
"description": "Account type"
},
"uuid": {
"example": "5ac5ea29-0c10-4306-8871-4bfbd1aa9cdd",
"collection": false,
"description": "The UUID of the resource."
},
"email": {
"example": "gareth@codepotato.co.uk",
"collection": false,
"description": "(Deprecated - Please use the primary email of the account instead). The email of the account."
},
"last_name": {
"example": "Thompson",
"collection": false,
"description": "Last name"
},
"photo_url": {
"example": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"collection": false,
"description": "The photo URL of the client"
},
"created_at": {
"example": "2026-03-18T16:05:26+00:00",
"collection": false,
"description": "The timestamp of when the resource was created."
},
"first_name": {
"example": "Gareth",
"collection": false,
"description": "First name"
},
"updated_at": {
"example": "2026-03-18T16:05:26+00:00",
"collection": false,
"description": "The timestamp of when the resource was updated."
},
"external_references": {
"example": "App\\Http\\Resources\\ExternalReferenceResource",
"collection": true,
"description": "The external references that have been added to the client."
}
},
"description": "Document the transaction",
"completed_at": "2021-01-01 00:00:00",
"completed_by": {
"name": {
"example": "Gareth Thompson",
"collection": false,
"description": "Name"
},
"role": {
"example": "client",
"collection": false,
"description": "Account role"
},
"type": {
"example": "client",
"collection": false,
"description": "Account type"
},
"uuid": {
"example": "ab5688a9-f6a0-49fa-b7fd-160ab143af28",
"collection": false,
"description": "The UUID of the resource."
},
"email": {
"example": "gareth@codepotato.co.uk",
"collection": false,
"description": "(Deprecated - Please use the primary email of the account instead). The email of the account."
},
"last_name": {
"example": "Thompson",
"collection": false,
"description": "Last name"
},
"photo_url": {
"example": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"collection": false,
"description": "The photo URL of the client"
},
"created_at": {
"example": "2026-03-18T16:05:26+00:00",
"collection": false,
"description": "The timestamp of when the resource was created."
},
"first_name": {
"example": "Gareth",
"collection": false,
"description": "First name"
},
"updated_at": {
"example": "2026-03-18T16:05:26+00:00",
"collection": false,
"description": "The timestamp of when the resource was updated."
},
"external_references": {
"example": "App\\Http\\Resources\\ExternalReferenceResource",
"collection": true,
"description": "The external references that have been added to the client."
}
},
"is_recurring": true,
"custom_fields": [
{
"name": "Favourite Drink",
"type": "string",
"uuid": "f0c5d975-08c2-4529-9191-2375bab06681",
"value": "Coffee",
"help_text": "This is the client's favourite drink.",
"reference": "favourite_drink",
"created_at": "2026-03-18T16:05:26+00:00",
"updated_at": "2026-03-18T16:05:26+00:00",
"is_required": false,
"selection_options": [
"Coffee",
"Tea",
"Water"
]
}
],
"taskable_type": "case",
"workflow_task": {
"name": {
"example": "Mortgage Review",
"collection": false,
"description": "The name of the task"
},
"tags": {
"example": "App\\Http\\Resources\\TagResource",
"collection": true,
"description": "The tags added to the task."
},
"uuid": {
"example": "a85d5dc7-6306-40d0-aeb0-f4e69158739b",
"collection": false,
"description": "The UUID of the resource."
},
"author": {
"example": "App\\Http\\Resources\\AccountResource",
"collection": false,
"description": "The author of the task."
},
"groups": {
"example": "App\\Http\\Resources\\GroupResource",
"collection": true,
"description": "The groups that will be added to the task."
},
"parent": {
"example": "App\\Http\\Resources\\Board\\WorkflowBoardTaskResource",
"collection": false,
"description": "The parent task."
},
"trigger": {
"example": "App\\Http\\Resources\\Board\\WorkflowBoardTaskResource",
"collection": false,
"description": "The task that will trigger this task to be created."
},
"position": {
"example": 2,
"collection": false,
"description": "The task position."
},
"priority": {
"example": "high",
"collection": false,
"description": "The priority level of the task (e.g p1, p2, p3, p4)"
},
"workflow": {
"example": "App\\Http\\Resources\\Board\\WorkflowResource",
"collection": false,
"description": "The workflow that the workflow task belongs to."
},
"sub_tasks": {
"example": "App\\Http\\Resources\\Board\\WorkflowBoardTaskResource",
"collection": true,
"description": "The tasks sub tasks."
},
"created_at": {
"example": "2026-03-18T16:05:26+00:00",
"collection": false,
"description": "The timestamp of when the resource was created."
},
"updated_at": {
"example": "2026-03-18T16:05:26+00:00",
"collection": false,
"description": "The timestamp of when the resource was updated."
},
"description": {
"example": "We need to run through a mortgage review with Gareth, as he can probably find a better deal.",
"collection": false,
"description": "The extra description added to a task"
},
"task_status": {
"example": "App\\Http\\Resources\\TaskStatusResource",
"collection": false,
"description": "Task status."
},
"participants": {
"example": "App\\Http\\Resources\\AccountResource",
"collection": true,
"description": "The participants/assignees of the task."
},
"location_uuid": {
"example": "5c1fffe4-2a25-4c5a-bda2-9d3956e33c8d",
"collection": false,
"description": "The parent task or workflow trigger task this task is a child of."
},
"trigger_tasks": {
"example": "App\\Http\\Resources\\Board\\WorkflowBoardTaskResource",
"collection": true,
"description": "The tasks that will be triggered when this task is completed."
},
"is_trigger_task": {
"example": true,
"collection": false,
"description": "Denotes if this is a triggered task."
},
"offset_due_at_by": {
"example": 2,
"collection": false,
"description": "How many days from the day the workflow is run should the due at be set by."
},
"visible_to_clients": {
"example": true,
"collection": false,
"description": "Indicator for if the task is visible to clients."
},
"auto_assign_clients": {
"example": true,
"collection": false,
"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."
},
"auto_assign_assigned_adviser": {
"example": true,
"collection": false,
"description": "Denotes if the task will auto-assign the assigned adviser / assigned adviser of the client when it is created."
},
"auto_assign_assigned_administrator": {
"example": true,
"collection": false,
"description": "Denotes if the task will auto-assign the administrator of the client when it is created."
}
},
"recurring_last_run": "2026-01-01 00:00:00",
"recurring_next_run": "2026-01-01 00:00:00",
"recurring_frequency": "weekly"
}