Uncomplete a task Run in API Explorer

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://apidocs.plannrcrm.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "PlannrCRM MCP server": {
    "url": "https://apidocs.plannrcrm.com/mcp"
  }
}

Close
PATCH /api/v1/task/{task_uuid}/uncomplete/{taskStatus}

Headers

  • X-PLANNR-ACCOUNT-UUID string

Path parameters

  • task_uuid string Required
  • taskStatus string Required

    Optional parameter.

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • uuid string

      The UUID of the resource.

    • created_at string

      The timestamp of when the resource was created.

    • updated_at string

      The timestamp of when the resource was updated.

    • name string

      The name of the task

    • description string

      The description of the task

    • priority string

      The priority of the task. Available Options: low, medium, high and highest

    • position integer

      The position of the task

    • due_at string

      The due date of the task

    • status object

      The status of the task. Can be any of the task statuses defined in the firm's settings

      Hide status attributes Show status attributes object
      • uuid string
      • created_at string
      • updated_at string
      • name string
      • colour string
      • position integer
      • is_type_completed boolean
      • is_archived boolean
      • is_not_started boolean
    • taskable_type string

      The type of the taskable. Available options: client, employee, case, plan

    • taskable object

      The type of the taskable.

      Hide taskable attributes Show taskable attributes object
      • uuid string
      • created_at string
      • updated_at string
      • name string
      • slug string
      • status object
        Hide status attributes Show status attributes object
        • uuid

          The UUID of the resource.

        • created_at

          The timestamp of when the resource was created.

        • updated_at

          The timestamp of when the resource was updated.

        • name

          The name of the status.

        • colour

          The colour of the status.

        • position

          The position of the status.

        • is_type_completed

          Indicates if the status is for a completed case type.

      • type object
        Hide type attributes Show type attributes object
        • uuid

          The UUID of the type

        • name

          Name of the type

        • created_at

          The timestamp of when the resource was created.

        • updated_at

          The timestamp of when the resource was updated.

      • review_at string
      • assigned_to_uuids array[string]
      • group_uuids array[string]
      • completed_at string
      • value object
        Hide value attributes Show value attributes object
        • amount object
          Hide amount attributes Show amount attributes object
          • example string
          • description string
        • formatted object
          Hide formatted attributes Show formatted attributes object
          • example string
          • description string
        • currency object
          Hide currency attributes Show currency attributes object
          • example string
          • description string
      • status_position integer
      • participants_count integer
      • participants object
        Hide participants attributes Show participants attributes object
        • uuid

          The UUID of the resource.

        • created_at

          The timestamp of when the resource was created.

        • updated_at

          The timestamp of when the resource was updated.

        • type

          Account type

        • role

          Account role

        • first_name

          First name

        • last_name

          Last name

        • name

          Name

        • email

          (Deprecated - Please use primary_email instead). The email of the account.

        • photo_url

          URL for initial avatar image

        • first_contact_date

          First contact date

        • next_review_date

          Next review date

        • previous_review_date

          Previous review date

        • anniversary_review_date

          Anniversary review date

        • terms_of_business_at

          Date the Terms of Business were agreed and signed

        • client_agreement_at

          Date the client agreement was agreed and signed

        • with_login

          Denotes whether the account has a login to Plannr

        • has_joint_account

          Denotes whether this account belongs to a joint account too

        • can_be_deleted

          Denotes if the account can be deleted

        • ownership_percentage

          Percentage ownership of the plan (This field is only present if viewing the account record via a plans relationship eg Plan -> Accounts)

        • inactive_at

          Inactive from date

        • last_interaction_at

          Last interaction date

        • referral_code

          Unique referral code for the employee account (employees only)

        • permissions

          Permission map where keys are permission names and values are target arrays

      • task_board_uuid string
      • plans object
        Hide plans attributes Show plans attributes object
        • uuid

          The UUID of the resource.

        • created_at

          The timestamp of when the resource was created.

        • updated_at

          The timestamp of when the resource was updated.

        • opened_at

          Timestamp of when the plan was originally opened

        • name

          Name of the plan

        • type

          Type of plan, this will indicate what to expect from the fields attribute

        • sub_type

          Plan sub type

        • abstract_type

          describes if the plan is an asset, protection or liability

        • policy_number

          The policy number on the main sub account of the plan

        • proposal_reference

          The proposal reference on the main sub account of the plan

        • status

          Plan status

        • inactive_at

          Timestamp of when the plan became inactive

        • inactive_reason

          Reason for inactivity

        • agency_in_your_name

          Denotes if plan has agency in your name

        • agency_in_your_name_from

          Date the agency was in your name from

        • originally_sold_by_firm

          Denotes if the plan was originally sold by your firm

        • under_advice

          Denotes if plan is under advice

        • visible_on_client_portal

          Denotes if this plan is visible to clients on the client portal

        • include_in_client_valuation

          Denotes if this plan should be included in the client valuation

        • show_on_joint

          Denotes if this individual account can be seen when viewing joint plans on any joint accounts the individual client is a part of

        • shown_on_circles

          Determines if plan should be shown on a circle

        • review_date

          Review date

        • on_panel

          On panel

        • is_group_scheme

          Denotes if the plan is a group scheme plan. When a plan is a group scheme plan you will be able to manage group scheme members and sub schemes.

        • is_sub_group_scheme

          Denotes if the plan is a sub-scheme of a group scheme.

        • is_group_scheme_member

          Denotes if the plan is group scheme member plan. Each group scheme member is their own plan for maximum customisation.

        • advice_area

          The advice area of the plan based on the plan's sub type.

        • total_benefit_amount

          Total amount benefit of all covers

        • total_benefits

          Total benefits broken down in to cover types

        • value

          Total value of the plan

        • valued_at

          When the plan was last valued - Please note this is likely going to be the current date. If you would like to see the last real date it was valued by a provider or created manually, use original_valued_at

        • original_valued_at

          When the plan was originally valued - Please note our plans is valued daily but this is the date the valuation was originally added to the system.

        • statistics

          The statistics on a plan. Only displayed when you retrieve an individual plan

        • is_wrap_product

          Determines if the plan is a wrap plan

        • is_wrap_child

          Determines if the plan is a wrap child

        • can_be_deleted

          Denotes if the plan can be deleted

      • custom_fields object
        Hide custom_fields attributes Show custom_fields attributes object
        • uuid

          The UUID of the custom field

        • created_at

          The timestamp of when the resource was created.

        • updated_at

          The timestamp of when the resource was updated.

        • type

          The type of custom field

        • name

          The name of the custom field

        • reference

          The reference of the custom field, used when updating the custom field on the model.

        • is_required

          Denotes if the custom field is required

        • value

          The value of the custom field

        • selection_options

          This is the array of available options for the selection box. If the type is "selection" this array will be provided.

        • help_text

          Optional help text to aide the custom field. Will be displayed on Plannr.

    • author object

      The account that created the task

      Hide author attributes Show author attributes object
      • uuid string
      • created_at string
      • updated_at string
      • type string
      • role string
      • first_name string
      • last_name string
      • name string
      • email string
      • photo_url string
      • external_references object
        Hide external_references attributes Show external_references attributes object
        • uuid

          The UUID of the resource.

        • created_at

          The timestamp of when the resource was created.

        • updated_at

          The timestamp of when the resource was updated.

        • third_party

          The third party provider with the reference.

        • reference

          The third party reference.

    • assigned_to array[object]

      The accounts that the task is assigned to

      Hide assigned_to attributes Show assigned_to attributes object
      • uuid string
      • created_at string
      • updated_at string
      • type string
      • role string
      • first_name string
      • last_name string
      • name string
      • email string
      • photo_url string
      • external_references object
        Hide external_references attributes Show external_references attributes object
        • uuid

          The UUID of the resource.

        • created_at

          The timestamp of when the resource was created.

        • updated_at

          The timestamp of when the resource was updated.

        • third_party

          The third party provider with the reference.

        • reference

          The third party reference.

    • completed_at string

      The date the task was completed

    • completed_by object

      The account that completed the task

      Hide completed_by attributes Show completed_by attributes object
      • uuid string
      • created_at string
      • updated_at string
      • type string
      • role string
      • first_name string
      • last_name string
      • name string
      • email string
      • photo_url string
      • external_references object
        Hide external_references attributes Show external_references attributes object
        • uuid

          The UUID of the resource.

        • created_at

          The timestamp of when the resource was created.

        • updated_at

          The timestamp of when the resource was updated.

        • third_party

          The third party provider with the reference.

        • reference

          The third party reference.

    • workflow_task object

      The workflow task associated with this task

      Hide workflow_task attributes Show workflow_task attributes object
      • uuid string
      • created_at string
      • updated_at string
      • name string
      • description string
      • priority string
      • position integer
      • task_status object
        Hide task_status attributes Show task_status attributes object
        • uuid

          The UUID of the resource.

        • created_at

          The timestamp of when the resource was created.

        • updated_at

          The timestamp of when the resource was updated.

        • name

          The name of the status

        • colour

          Status colour

        • position

          The position of the status

        • is_type_completed

          Whether the status is a completed status

        • is_archived

          Whether the status is a archived status

        • is_not_started

          Whether the status is a not started status

      • offset_due_at_by integer
      • visible_to_clients boolean
      • auto_assign_assigned_adviser boolean
      • auto_assign_assigned_administrator boolean
      • auto_assign_clients boolean
      • author object
        Hide author attributes Show author attributes object
        • uuid

          The UUID of the resource.

        • created_at

          The timestamp of when the resource was created.

        • updated_at

          The timestamp of when the resource was updated.

        • type

          Account type

        • role

          Account role

        • first_name

          First name

        • last_name

          Last name

        • name

          Name

        • email

          (Deprecated - Please use primary_email instead). The email of the account.

        • photo_url

          URL for initial avatar image

        • first_contact_date

          First contact date

        • next_review_date

          Next review date

        • previous_review_date

          Previous review date

        • anniversary_review_date

          Anniversary review date

        • terms_of_business_at

          Date the Terms of Business were agreed and signed

        • client_agreement_at

          Date the client agreement was agreed and signed

        • with_login

          Denotes whether the account has a login to Plannr

        • has_joint_account

          Denotes whether this account belongs to a joint account too

        • can_be_deleted

          Denotes if the account can be deleted

        • ownership_percentage

          Percentage ownership of the plan (This field is only present if viewing the account record via a plans relationship eg Plan -> Accounts)

        • inactive_at

          Inactive from date

        • last_interaction_at

          Last interaction date

        • referral_code

          Unique referral code for the employee account (employees only)

        • permissions

          Permission map where keys are permission names and values are target arrays

      • participants object
        Hide participants attributes Show participants attributes object
        • uuid

          The UUID of the resource.

        • created_at

          The timestamp of when the resource was created.

        • updated_at

          The timestamp of when the resource was updated.

        • type

          Account type

        • role

          Account role

        • first_name

          First name

        • last_name

          Last name

        • name

          Name

        • email

          (Deprecated - Please use primary_email instead). The email of the account.

        • photo_url

          URL for initial avatar image

        • first_contact_date

          First contact date

        • next_review_date

          Next review date

        • previous_review_date

          Previous review date

        • anniversary_review_date

          Anniversary review date

        • terms_of_business_at

          Date the Terms of Business were agreed and signed

        • client_agreement_at

          Date the client agreement was agreed and signed

        • with_login

          Denotes whether the account has a login to Plannr

        • has_joint_account

          Denotes whether this account belongs to a joint account too

        • can_be_deleted

          Denotes if the account can be deleted

        • ownership_percentage

          Percentage ownership of the plan (This field is only present if viewing the account record via a plans relationship eg Plan -> Accounts)

        • inactive_at

          Inactive from date

        • last_interaction_at

          Last interaction date

        • referral_code

          Unique referral code for the employee account (employees only)

        • permissions

          Permission map where keys are permission names and values are target arrays

      • tags object
        Hide tags attributes Show tags attributes object
        • uuid

          UUID of the tag

        • created_at

          The timestamp of when the resource was created.

        • updated_at

          The timestamp of when the resource was updated.

        • name

          The name of the tag

        • slug

          The slug of the tag

        • colour

          The colour of the tag

      • location_uuid string
      • parent object
        Hide parent attributes Show parent attributes object
        • uuid

          The UUID of the resource.

        • created_at

          The timestamp of when the resource was created.

        • updated_at

          The timestamp of when the resource was updated.

        • name

          The name of the task

        • description

          The extra description added to a task

        • priority

          The priority level of the task (e.g p1, p2, p3, p4)

        • position

          The task position.

        • offset_due_at_by

          How many days from the day the workflow is run should the due at be set by.

        • visible_to_clients

          Indicator for if the task is visible to clients.

        • auto_assign_assigned_adviser

          Denotes if the task will auto-assign the assigned adviser / assigned adviser of the client when it is created.

        • auto_assign_assigned_administrator

          Denotes if the task will auto-assign the administrator of the client when it is created.

        • auto_assign_clients

          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.

        • location_uuid

          The parent task or workflow trigger task this task is a child of.

        • is_trigger_task

          Denotes if this is a triggered task.

      • trigger object
        Hide trigger attributes Show trigger attributes object
        • uuid

          The UUID of the resource.

        • created_at

          The timestamp of when the resource was created.

        • updated_at

          The timestamp of when the resource was updated.

        • name

          The name of the task

        • description

          The extra description added to a task

        • priority

          The priority level of the task (e.g p1, p2, p3, p4)

        • position

          The task position.

        • offset_due_at_by

          How many days from the day the workflow is run should the due at be set by.

        • visible_to_clients

          Indicator for if the task is visible to clients.

        • auto_assign_assigned_adviser

          Denotes if the task will auto-assign the assigned adviser / assigned adviser of the client when it is created.

        • auto_assign_assigned_administrator

          Denotes if the task will auto-assign the administrator of the client when it is created.

        • auto_assign_clients

          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.

        • location_uuid

          The parent task or workflow trigger task this task is a child of.

        • is_trigger_task

          Denotes if this is a triggered task.

      • trigger_tasks object
        Hide trigger_tasks attributes Show trigger_tasks attributes object
        • uuid

          The UUID of the resource.

        • created_at

          The timestamp of when the resource was created.

        • updated_at

          The timestamp of when the resource was updated.

        • name

          The name of the task

        • description

          The extra description added to a task

        • priority

          The priority level of the task (e.g p1, p2, p3, p4)

        • position

          The task position.

        • offset_due_at_by

          How many days from the day the workflow is run should the due at be set by.

        • visible_to_clients

          Indicator for if the task is visible to clients.

        • auto_assign_assigned_adviser

          Denotes if the task will auto-assign the assigned adviser / assigned adviser of the client when it is created.

        • auto_assign_assigned_administrator

          Denotes if the task will auto-assign the administrator of the client when it is created.

        • auto_assign_clients

          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.

        • location_uuid

          The parent task or workflow trigger task this task is a child of.

        • is_trigger_task

          Denotes if this is a triggered task.

      • sub_tasks object
        Hide sub_tasks attributes Show sub_tasks attributes object
        • uuid

          The UUID of the resource.

        • created_at

          The timestamp of when the resource was created.

        • updated_at

          The timestamp of when the resource was updated.

        • name

          The name of the task

        • description

          The extra description added to a task

        • priority

          The priority level of the task (e.g p1, p2, p3, p4)

        • position

          The task position.

        • offset_due_at_by

          How many days from the day the workflow is run should the due at be set by.

        • visible_to_clients

          Indicator for if the task is visible to clients.

        • auto_assign_assigned_adviser

          Denotes if the task will auto-assign the assigned adviser / assigned adviser of the client when it is created.

        • auto_assign_assigned_administrator

          Denotes if the task will auto-assign the administrator of the client when it is created.

        • auto_assign_clients

          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.

        • location_uuid

          The parent task or workflow trigger task this task is a child of.

        • is_trigger_task

          Denotes if this is a triggered task.

      • groups object
        Hide groups attributes Show groups attributes object
        • uuid

          UUID of the group

        • name

          Name of the group

        • slug

          Slug of the group

        • participants_count

          Number of participants in the group

        • participants

          Participants in this group

        • created_at

          Timestamp of when the group was created

        • updated_at

          Timestamp of when the group was updated

      • workflow object
        Hide workflow attributes Show workflow attributes object
        • uuid

          UUID of the account

        • created_at

          The timestamp of when the resource was created.

        • updated_at

          The timestamp of when the resource was updated.

        • name

          Name of the workflow

        • type

          The type of workflow.

        • tasks_count

          The number of tasks on the workflow.

      • is_trigger_task boolean
    • workflow object

      The Workflow this Task was created from, or null when the Task did not come from a Workflow.

      Hide workflow attributes Show workflow attributes object
      • uuid string
      • name string
    • is_recurring boolean

      Whether the task is recurring or not

    • recurring_frequency string

      The frequency of the recurrence.

    • recurring_last_run string

      The last time the recurring task was run

    • recurring_next_run string

      The next time the recurring task will be run

    • custom_fields array[object]

      Any custom fields on the model.

      Hide custom_fields attributes Show custom_fields attributes object
      • uuid string
      • created_at string
      • updated_at string
      • type string
      • name string
      • reference string
      • is_required boolean
      • value string
      • selection_options array[string]
      • help_text string
PATCH /api/v1/task/{task_uuid}/uncomplete/{taskStatus}
curl \
 --request PATCH 'https://api.plannrcrm.com/api/v1/task/6ff8f7f6-1eb3-3525-be4a-3932c805afed/uncomplete/{"summary" => "When the value is omitted", "value" => ""}' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}"
Response examples (200)
{
  "uuid": "95dca8c1-4d20-4d97-8eb0-7056c97bd8ac",
  "created_at": "2026-07-20T16:16:36+01:00",
  "updated_at": "2026-07-20T16:16:36+01:00",
  "name": "Document the transaction",
  "description": "Document the transaction",
  "priority": "high",
  "position": 1,
  "due_at": "2021-01-01 00:00:00",
  "status": {
    "uuid": "28027c4a-0823-4f04-a509-0a98424efc17",
    "created_at": "2026-07-20T16:16:36+01:00",
    "updated_at": "2026-07-20T16:16:36+01:00",
    "name": "Incomplete",
    "colour": "#398898",
    "position": 1,
    "is_type_completed": false,
    "is_archived": false,
    "is_not_started": false
  },
  "taskable_type": "case",
  "taskable": {
    "uuid": "4d32df93-7f78-4672-bcd5-c485088c2396",
    "created_at": "2026-07-20T16:16:36+01:00",
    "updated_at": "2026-07-20T16:16:36+01:00",
    "name": "finance",
    "slug": "finance",
    "status": {
      "uuid": "131e00d2-b440-4ab9-b9d0-7c7edd183fd1",
      "created_at": "2026-07-20T16:16:43+01:00",
      "updated_at": "2026-07-20T16:16:43+01:00",
      "name": "To Be Reviewed",
      "colour": "#23852B",
      "position": 5,
      "is_type_completed": false
    },
    "type": {
      "uuid": null,
      "name": "Mortgage Plan",
      "created_at": "2026-07-20T16:16:43+01:00",
      "updated_at": "2026-07-20T16:16:43+01:00"
    },
    "review_at": "2026-07-20T16:16:36+01:00",
    "assigned_to_uuids": [
      "f2170d2c-c079-46a1-ada5-ddd386db9c9a"
    ],
    "group_uuids": [
      "9cecf385-018f-4b13-8518-1f84004eab6a"
    ],
    "completed_at": "2026-07-20T16:16:36+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": "4b44ac4f-4554-43e2-b933-5aef86b934d5",
      "created_at": "2026-07-20T16:16:43+01:00",
      "updated_at": "2026-07-20T16:16:43+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-07-20T16:16:43+01:00",
      "next_review_date": "2026-07-20T16:16:43+01:00",
      "previous_review_date": "2026-07-20T16:16:43+01:00",
      "anniversary_review_date": "2026-07-20T16:16:43+01:00",
      "terms_of_business_at": "2026-07-20T16:16:43+01:00",
      "client_agreement_at": "2026-07-20T16:16:43+01:00",
      "with_login": true,
      "has_joint_account": true,
      "can_be_deleted": "false",
      "ownership_percentage": 100.0,
      "inactive_at": "2026-07-20",
      "last_interaction_at": "2026-07-20 16:16:43",
      "referral_code": "ABC12345",
      "permissions": {
        "firm:read": [
          "firm"
        ],
        "network:read": [
          "network:uuid"
        ]
      }
    },
    "task_board_uuid": "56460c3a-9502-4ce6-91bc-a1f01ac5a25b",
    "plans": {
      "uuid": "978877ae-3021-40ef-bd41-dfabe4be7086",
      "created_at": "2026-07-20T16:16:43+01:00",
      "updated_at": "2026-07-20T16:16:43+01:00",
      "opened_at": "2026-07-20T16:16:43+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-07-20T16:16:43+01:00",
      "inactive_reason": "claimed",
      "agency_in_your_name": true,
      "agency_in_your_name_from": "2025-07-20",
      "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-07-20",
      "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-07-20T16:16:43+01:00",
      "original_valued_at": "2026-07-19T16:16:43+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-07-20T16:16:43+01:00",
      "updated_at": "2026-07-20T16:16:43+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": "8134363f-e486-4c64-9cd4-812bde17f6df",
    "created_at": "2026-07-20T16:16:36+01:00",
    "updated_at": "2026-07-20T16:16:36+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": "f9c5758b-875f-44d5-a86c-da7580a3152f",
      "created_at": "2026-07-20T16:16:43+01:00",
      "updated_at": "2026-07-20T16:16:43+01:00",
      "third_party": "nucleus",
      "reference": "AB123456"
    }
  },
  "assigned_to": [
    {
      "uuid": "c4c2b6e6-46a5-4ef0-9c66-411d0036bdf5",
      "created_at": "2026-07-20T16:16:36+01:00",
      "updated_at": "2026-07-20T16:16:36+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": "f9c5758b-875f-44d5-a86c-da7580a3152f",
        "created_at": "2026-07-20T16:16:43+01:00",
        "updated_at": "2026-07-20T16:16:43+01:00",
        "third_party": "nucleus",
        "reference": "AB123456"
      }
    }
  ],
  "completed_at": "2021-01-01 00:00:00",
  "completed_by": {
    "uuid": "58f33921-df06-42cf-91f9-00d693f1cae2",
    "created_at": "2026-07-20T16:16:36+01:00",
    "updated_at": "2026-07-20T16:16:36+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": "f9c5758b-875f-44d5-a86c-da7580a3152f",
      "created_at": "2026-07-20T16:16:43+01:00",
      "updated_at": "2026-07-20T16:16:43+01:00",
      "third_party": "nucleus",
      "reference": "AB123456"
    }
  },
  "workflow_task": {
    "uuid": "0b2c71b6-740f-44be-b939-a71db86a6209",
    "created_at": "2026-07-20T16:16:36+01:00",
    "updated_at": "2026-07-20T16:16:36+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": "a2290a08-acac-455e-ac0b-e9b8488e6b83",
      "created_at": "2026-07-20T16:16:43+01:00",
      "updated_at": "2026-07-20T16:16:43+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": "4b44ac4f-4554-43e2-b933-5aef86b934d5",
      "created_at": "2026-07-20T16:16:43+01:00",
      "updated_at": "2026-07-20T16:16:43+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-07-20T16:16:43+01:00",
      "next_review_date": "2026-07-20T16:16:43+01:00",
      "previous_review_date": "2026-07-20T16:16:43+01:00",
      "anniversary_review_date": "2026-07-20T16:16:43+01:00",
      "terms_of_business_at": "2026-07-20T16:16:43+01:00",
      "client_agreement_at": "2026-07-20T16:16:43+01:00",
      "with_login": true,
      "has_joint_account": true,
      "can_be_deleted": "false",
      "ownership_percentage": 100.0,
      "inactive_at": "2026-07-20",
      "last_interaction_at": "2026-07-20 16:16:43",
      "referral_code": "ABC12345",
      "permissions": {
        "firm:read": [
          "firm"
        ],
        "network:read": [
          "network:uuid"
        ]
      }
    },
    "participants": {
      "uuid": "4b44ac4f-4554-43e2-b933-5aef86b934d5",
      "created_at": "2026-07-20T16:16:43+01:00",
      "updated_at": "2026-07-20T16:16:43+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-07-20T16:16:43+01:00",
      "next_review_date": "2026-07-20T16:16:43+01:00",
      "previous_review_date": "2026-07-20T16:16:43+01:00",
      "anniversary_review_date": "2026-07-20T16:16:43+01:00",
      "terms_of_business_at": "2026-07-20T16:16:43+01:00",
      "client_agreement_at": "2026-07-20T16:16:43+01:00",
      "with_login": true,
      "has_joint_account": true,
      "can_be_deleted": "false",
      "ownership_percentage": 100.0,
      "inactive_at": "2026-07-20",
      "last_interaction_at": "2026-07-20 16:16:43",
      "referral_code": "ABC12345",
      "permissions": {
        "firm:read": [
          "firm"
        ],
        "network:read": [
          "network:uuid"
        ]
      }
    },
    "tags": {
      "uuid": "b0c6b641-056e-4ddd-a2ce-68b7dc6e7e8c",
      "created_at": "2026-07-20T16:16:43+01:00",
      "updated_at": "2026-07-20T16:16:43+01:00",
      "name": "Mortgage",
      "slug": "mortgage",
      "colour": "#ef4582"
    },
    "location_uuid": "9c18cbf6-874c-4ea3-aecf-0791ffadadd6",
    "parent": {
      "uuid": "41e01c25-d18c-4d62-87c5-3019ec612dbd",
      "created_at": "2026-07-20T16:16:43+01:00",
      "updated_at": "2026-07-20T16:16:43+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": "18cbbc3e-20f8-49c7-a047-c379fd77ad68",
      "is_trigger_task": true
    },
    "trigger": {
      "uuid": "41e01c25-d18c-4d62-87c5-3019ec612dbd",
      "created_at": "2026-07-20T16:16:43+01:00",
      "updated_at": "2026-07-20T16:16:43+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": "18cbbc3e-20f8-49c7-a047-c379fd77ad68",
      "is_trigger_task": true
    },
    "trigger_tasks": {
      "uuid": "41e01c25-d18c-4d62-87c5-3019ec612dbd",
      "created_at": "2026-07-20T16:16:43+01:00",
      "updated_at": "2026-07-20T16:16:43+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": "18cbbc3e-20f8-49c7-a047-c379fd77ad68",
      "is_trigger_task": true
    },
    "sub_tasks": {
      "uuid": "41e01c25-d18c-4d62-87c5-3019ec612dbd",
      "created_at": "2026-07-20T16:16:43+01:00",
      "updated_at": "2026-07-20T16:16:43+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": "18cbbc3e-20f8-49c7-a047-c379fd77ad68",
      "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-07-20T16:16:43+01:00",
      "updated_at": "2026-07-20T16:16:43+01:00"
    },
    "workflow": {
      "uuid": "2ecb5a8b-c658-4465-9f0e-6bef82847298",
      "created_at": "2026-07-20T16:16:43+01:00",
      "updated_at": "2026-07-20T16:16:43+01:00",
      "name": "Pension Transfer",
      "type": "simple",
      "tasks_count": 5
    },
    "is_trigger_task": true
  },
  "workflow": {
    "uuid": "7da83d70-9db6-4e65-bf80-176635fe47fa",
    "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": "d0413658-3552-4fb2-8806-cc9bd6bfedfb",
      "created_at": "2026-07-20T16:16:36+01:00",
      "updated_at": "2026-07-20T16:16:36+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."
    }
  ]
}