Uncomplete a task Run in API Explorer
Ask AI
PATCH
/api/v1/task/{task_uuid}/uncomplete/{taskStatus}
curl \
--request PATCH 'https://api.plannrcrm.com/api/v1/task/6ff8f7f6-1eb3-3525-be4a-3932c805afed/uncomplete/{taskStatus}' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}"
Response examples (200)
{
"uuid": "530b6937-e547-4098-bbb1-67fd4f173c37",
"created_at": "2026-09-18T09:00:11+01:00",
"updated_at": "2026-09-18T09:00:11+01:00",
"name": "Document the transaction",
"description": "Document the transaction",
"priority": "high",
"position": 1,
"due_at": "2021-01-01 00:00:00",
"status": {
"uuid": "ec786ef3-c66c-49ff-ab69-49c1140d99f8",
"created_at": "2026-09-18T09:00:11+01:00",
"updated_at": "2026-09-18T09:00:11+01:00",
"name": "Incomplete",
"colour": "#398898",
"position": 1,
"is_type_completed": false,
"is_archived": false,
"is_not_started": false
},
"taskable_type": "case",
"taskable": {
"uuid": "39498829-337f-44e1-9c99-4041fd3c9d04",
"created_at": "2026-09-18T09:00:11+01:00",
"updated_at": "2026-09-18T09:00:11+01:00",
"name": "finance",
"slug": "finance",
"status": {
"uuid": "346d0556-fc69-4ba4-857c-f588b0d5d6b0",
"created_at": "2026-09-18T09:00:17+01:00",
"updated_at": "2026-09-18T09:00:17+01:00",
"name": "To Be Reviewed",
"colour": "#23852B",
"position": 5,
"is_type_completed": false
},
"type": {
"uuid": null,
"name": "Mortgage Plan",
"created_at": "2026-09-18T09:00:17+01:00",
"updated_at": "2026-09-18T09:00:17+01:00"
},
"review_at": "2026-09-18T09:00:11+01:00",
"assigned_to_uuids": [
"f0215cdf-891f-41c4-bee3-a689633fcc6a"
],
"group_uuids": [
"65e3091f-ab4d-404d-bca0-b9426cc250d5"
],
"completed_at": "2026-09-18T09:00:11+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": {
"uuid": "09271b9d-7714-43c8-9ba5-23b37ff3621e",
"created_at": "2026-09-18T09:00:17+01:00",
"updated_at": "2026-09-18T09:00:17+01:00",
"type": "client",
"role": "client",
"first_name": "Gareth",
"last_name": "Thompson",
"name": "Gareth Thompson",
"email": "gareth@codepotato.co.uk",
"photo_url": "https://eu.ui-avatars.com/api/?name=gareth+thompson",
"first_contact_date": "2026-09-18T09:00:17+01:00",
"next_review_date": "2026-09-18T09:00:17+01:00",
"previous_review_date": "2026-09-18T09:00:17+01:00",
"anniversary_review_date": "2026-09-18T09:00:17+01:00",
"terms_of_business_at": "2026-09-18T09:00:17+01:00",
"client_agreement_at": "2026-09-18T09:00:17+01:00",
"with_login": true,
"has_joint_account": true,
"can_be_deleted": "false",
"ownership_percentage": 100.0,
"inactive_at": "2026-09-18",
"last_interaction_at": "2026-09-18 09:00:17",
"referral_code": "ABC12345",
"is_out_of_office": true,
"out_of_office_from": "2026-09-18T09:00:17+01:00",
"out_of_office_until": "2026-09-18T09:00:17+01:00",
"out_of_office_message": "I am away this week. For urgent matters please contact the office.",
"is_pending_fact_find_account": false,
"permissions": {
"firm:read": [
"firm"
],
"network:read": [
"network:uuid"
]
}
},
"task_board_uuid": "f6b55697-3bb8-44e6-aee7-7be3961ddc74",
"plans": {
"uuid": "26abbf28-5f98-471b-aeb2-71cc0789bcf4",
"created_at": "2026-09-18T09:00:17+01:00",
"updated_at": "2026-09-18T09:00:17+01:00",
"opened_at": "2026-09-18T09:00:17+01:00",
"name": "Johns ISA",
"type": "cash_account",
"sub_type": "lifetime isa",
"abstract_type": "asset",
"policy_number": "AVIVA-123",
"proposal_reference": "AB123456",
"status": "inactive",
"inactive_at": "2026-09-18T09:00:17+01:00",
"inactive_reason": "claimed",
"agency_in_your_name": true,
"agency_in_your_name_from": "2025-09-18",
"originally_sold_by_firm": true,
"under_advice": true,
"visible_on_client_portal": true,
"include_in_client_valuation": true,
"show_on_joint": true,
"shown_on_circles": true,
"review_date": "2025-09-18",
"on_panel": true,
"is_group_scheme": false,
"is_sub_group_scheme": false,
"is_group_scheme_member": false,
"advice_area": "non_investment_insurance",
"total_benefit_amount": {
"amount": {
"example": "25000000",
"description": "Money amount at their lowest denominator (for example: pennies)"
},
"formatted": {
"example": "£250,000.00",
"description": "Money amount formatted with currency"
},
"currency": {
"example": null,
"description": "Currency of the money"
}
},
"total_benefits": {
"critical_illness": {
"amount": {
"example": "15000000",
"description": "Money amount at their lowest denominator (for example: pennies)"
},
"formatted": {
"example": "£150,000.00",
"description": "Money amount formatted with currency"
},
"currency": {
"example": null,
"description": "Currency of the money"
}
},
"family_income_benefit": {
"amount": {
"example": "10000000",
"description": "Money amount at their lowest denominator (for example: pennies)"
},
"formatted": {
"example": "£100,000.00",
"description": "Money amount formatted with currency"
},
"currency": {
"example": null,
"description": "Currency of the money"
}
}
},
"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": null,
"description": "Currency of the money"
}
},
"valued_at": "2026-09-18T09:00:17+01:00",
"original_valued_at": "2026-09-17T09:00:17+01:00",
"statistics": {
"recent_growth": 100
},
"is_wrap_product": false,
"is_wrap_child": false,
"can_be_deleted": "false"
},
"custom_fields": {
"uuid": null,
"created_at": "2026-09-18T09:00:17+01:00",
"updated_at": "2026-09-18T09:00: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."
}
},
"author": {
"uuid": "3ce8dfaf-90f7-4262-95f1-690cd3419413",
"created_at": "2026-09-18T09:00:11+01:00",
"updated_at": "2026-09-18T09:00:11+01:00",
"type": "client",
"role": "client",
"first_name": "Gareth",
"last_name": "Thompson",
"name": "Gareth Thompson",
"email": "gareth@codepotato.co.uk",
"photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"external_references": {
"uuid": "d9429bc7-4ef5-4ba4-969c-eaae44f3b95f",
"created_at": "2026-09-18T09:00:17+01:00",
"updated_at": "2026-09-18T09:00:17+01:00",
"third_party": "nucleus",
"reference": "AB123456"
}
},
"assigned_to": [
{
"uuid": "33c9cf1e-167a-4dd7-a067-57e522ddb793",
"created_at": "2026-09-18T09:00:11+01:00",
"updated_at": "2026-09-18T09:00:11+01:00",
"type": "client",
"role": "client",
"first_name": "Gareth",
"last_name": "Thompson",
"name": "Gareth Thompson",
"email": "gareth@codepotato.co.uk",
"photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"external_references": {
"uuid": "d9429bc7-4ef5-4ba4-969c-eaae44f3b95f",
"created_at": "2026-09-18T09:00:17+01:00",
"updated_at": "2026-09-18T09:00:17+01:00",
"third_party": "nucleus",
"reference": "AB123456"
}
}
],
"completed_at": "2021-01-01 00:00:00",
"completed_by": {
"uuid": "3d153100-c69d-4562-8252-d6bc4ee53049",
"created_at": "2026-09-18T09:00:11+01:00",
"updated_at": "2026-09-18T09:00:11+01:00",
"type": "client",
"role": "client",
"first_name": "Gareth",
"last_name": "Thompson",
"name": "Gareth Thompson",
"email": "gareth@codepotato.co.uk",
"photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"external_references": {
"uuid": "d9429bc7-4ef5-4ba4-969c-eaae44f3b95f",
"created_at": "2026-09-18T09:00:17+01:00",
"updated_at": "2026-09-18T09:00:17+01:00",
"third_party": "nucleus",
"reference": "AB123456"
}
},
"workflow_task": {
"uuid": "ac3c2972-3a20-40b9-8d76-477d73e2b4d8",
"created_at": "2026-09-18T09:00:11+01:00",
"updated_at": "2026-09-18T09:00:11+01:00",
"name": "Mortgage Review",
"description": "We need to run through a mortgage review with Gareth, as he can probably find a better deal.",
"priority": "high",
"position": 2,
"task_status": {
"uuid": "2efbe46d-d348-4b61-bc4a-07bd9725f5ae",
"created_at": "2026-09-18T09:00:18+01:00",
"updated_at": "2026-09-18T09:00:18+01:00",
"name": "Incomplete",
"colour": "#398898",
"position": 1,
"is_type_completed": false,
"is_archived": false,
"is_not_started": false
},
"offset_due_at_by": 2,
"visible_to_clients": true,
"auto_assign_assigned_adviser": true,
"auto_assign_assigned_administrator": true,
"auto_assign_clients": true,
"author": {
"uuid": "09271b9d-7714-43c8-9ba5-23b37ff3621e",
"created_at": "2026-09-18T09:00:17+01:00",
"updated_at": "2026-09-18T09:00:17+01:00",
"type": "client",
"role": "client",
"first_name": "Gareth",
"last_name": "Thompson",
"name": "Gareth Thompson",
"email": "gareth@codepotato.co.uk",
"photo_url": "https://eu.ui-avatars.com/api/?name=gareth+thompson",
"first_contact_date": "2026-09-18T09:00:17+01:00",
"next_review_date": "2026-09-18T09:00:17+01:00",
"previous_review_date": "2026-09-18T09:00:17+01:00",
"anniversary_review_date": "2026-09-18T09:00:17+01:00",
"terms_of_business_at": "2026-09-18T09:00:17+01:00",
"client_agreement_at": "2026-09-18T09:00:17+01:00",
"with_login": true,
"has_joint_account": true,
"can_be_deleted": "false",
"ownership_percentage": 100.0,
"inactive_at": "2026-09-18",
"last_interaction_at": "2026-09-18 09:00:17",
"referral_code": "ABC12345",
"is_out_of_office": true,
"out_of_office_from": "2026-09-18T09:00:17+01:00",
"out_of_office_until": "2026-09-18T09:00:17+01:00",
"out_of_office_message": "I am away this week. For urgent matters please contact the office.",
"is_pending_fact_find_account": false,
"permissions": {
"firm:read": [
"firm"
],
"network:read": [
"network:uuid"
]
}
},
"participants": {
"uuid": "09271b9d-7714-43c8-9ba5-23b37ff3621e",
"created_at": "2026-09-18T09:00:17+01:00",
"updated_at": "2026-09-18T09:00:17+01:00",
"type": "client",
"role": "client",
"first_name": "Gareth",
"last_name": "Thompson",
"name": "Gareth Thompson",
"email": "gareth@codepotato.co.uk",
"photo_url": "https://eu.ui-avatars.com/api/?name=gareth+thompson",
"first_contact_date": "2026-09-18T09:00:17+01:00",
"next_review_date": "2026-09-18T09:00:17+01:00",
"previous_review_date": "2026-09-18T09:00:17+01:00",
"anniversary_review_date": "2026-09-18T09:00:17+01:00",
"terms_of_business_at": "2026-09-18T09:00:17+01:00",
"client_agreement_at": "2026-09-18T09:00:17+01:00",
"with_login": true,
"has_joint_account": true,
"can_be_deleted": "false",
"ownership_percentage": 100.0,
"inactive_at": "2026-09-18",
"last_interaction_at": "2026-09-18 09:00:17",
"referral_code": "ABC12345",
"is_out_of_office": true,
"out_of_office_from": "2026-09-18T09:00:17+01:00",
"out_of_office_until": "2026-09-18T09:00:17+01:00",
"out_of_office_message": "I am away this week. For urgent matters please contact the office.",
"is_pending_fact_find_account": false,
"permissions": {
"firm:read": [
"firm"
],
"network:read": [
"network:uuid"
]
}
},
"tags": {
"uuid": "5c9d9f6f-4a9f-401f-8b2a-88fbcfd03b35",
"created_at": "2026-09-18T09:00:17+01:00",
"updated_at": "2026-09-18T09:00:17+01:00",
"name": "Mortgage",
"slug": "mortgage",
"colour": "#ef4582"
},
"location_uuid": "5e66c642-7a3c-4232-8ca8-60d88496eba7",
"parent": {
"uuid": "9ed4758f-c4fc-4887-a948-09074e206e2f",
"created_at": "2026-09-18T09:00:18+01:00",
"updated_at": "2026-09-18T09:00:18+01:00",
"name": "Mortgage Review",
"description": "We need to run through a mortgage review with Gareth, as he can probably find a better deal.",
"priority": "high",
"position": 2,
"offset_due_at_by": 2,
"visible_to_clients": true,
"auto_assign_assigned_adviser": true,
"auto_assign_assigned_administrator": true,
"auto_assign_clients": true,
"location_uuid": "9f7b5e37-cb4b-4894-96f6-94eaccc7e74a",
"is_trigger_task": true
},
"trigger": {
"uuid": "9ed4758f-c4fc-4887-a948-09074e206e2f",
"created_at": "2026-09-18T09:00:18+01:00",
"updated_at": "2026-09-18T09:00:18+01:00",
"name": "Mortgage Review",
"description": "We need to run through a mortgage review with Gareth, as he can probably find a better deal.",
"priority": "high",
"position": 2,
"offset_due_at_by": 2,
"visible_to_clients": true,
"auto_assign_assigned_adviser": true,
"auto_assign_assigned_administrator": true,
"auto_assign_clients": true,
"location_uuid": "9f7b5e37-cb4b-4894-96f6-94eaccc7e74a",
"is_trigger_task": true
},
"trigger_tasks": {
"uuid": "9ed4758f-c4fc-4887-a948-09074e206e2f",
"created_at": "2026-09-18T09:00:18+01:00",
"updated_at": "2026-09-18T09:00:18+01:00",
"name": "Mortgage Review",
"description": "We need to run through a mortgage review with Gareth, as he can probably find a better deal.",
"priority": "high",
"position": 2,
"offset_due_at_by": 2,
"visible_to_clients": true,
"auto_assign_assigned_adviser": true,
"auto_assign_assigned_administrator": true,
"auto_assign_clients": true,
"location_uuid": "9f7b5e37-cb4b-4894-96f6-94eaccc7e74a",
"is_trigger_task": true
},
"sub_tasks": {
"uuid": "9ed4758f-c4fc-4887-a948-09074e206e2f",
"created_at": "2026-09-18T09:00:18+01:00",
"updated_at": "2026-09-18T09:00:18+01:00",
"name": "Mortgage Review",
"description": "We need to run through a mortgage review with Gareth, as he can probably find a better deal.",
"priority": "high",
"position": 2,
"offset_due_at_by": 2,
"visible_to_clients": true,
"auto_assign_assigned_adviser": true,
"auto_assign_assigned_administrator": true,
"auto_assign_clients": true,
"location_uuid": "9f7b5e37-cb4b-4894-96f6-94eaccc7e74a",
"is_trigger_task": true
},
"groups": {
"uuid": null,
"name": "finance",
"slug": "finance",
"participants_count": "3",
"participants": {
"uuid": {
"example": null,
"description": "UUID of the account"
},
"role": {
"example": "client",
"description": "Role of the account"
},
"first_name": {
"example": "Gareth",
"description": "First name of the account"
},
"last_name": {
"example": "Thompson",
"description": "Last name of the account"
},
"name": {
"example": "Gareth Thompson",
"description": "Name of the account"
},
"email": {
"example": "gareth@codepotato.co.uk",
"description": "Email of the account"
}
},
"created_at": "2026-09-18T09:00:17+01:00",
"updated_at": "2026-09-18T09:00:17+01:00"
},
"workflow": {
"uuid": "630913fd-a4a3-4edc-beac-0a66605cfa23",
"created_at": "2026-09-18T09:00:18+01:00",
"updated_at": "2026-09-18T09:00:18+01:00",
"name": "Pension Transfer",
"type": "simple",
"tasks_count": 5
},
"is_trigger_task": true
},
"workflow": {
"uuid": "7cc189bc-0722-4f50-9ca0-23452debd638",
"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": "8d74d488-ac63-4ab5-a76a-6e26b16a6347",
"created_at": "2026-09-18T09:00:11+01:00",
"updated_at": "2026-09-18T09:00:11+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."
}
]
}
Response examples (422)
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}