Path parameters

application/json

Body

Responses

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

      The UUID of the resource.

    • The timestamp of when the resource was created.

    • The timestamp of when the resource was updated.

    • name string

      The name of the task

    • 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

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

    • taskable object

      The type of the taskable.

    • author object

      The account that created the task

    • The accounts that the task is assigned to

    • The date the task was completed

    • The account that completed the task

    • custom_fields array[object]

      Any custom fields on the model.

PUT /api/v1/task/{uuid}
curl \
 --request PUT 'https://api.plannrcrm.com/api/v1/task/uuid' \
 --header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 --header "Content-Type: application/json" \
 --header "Accept: application/json" \
 --header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
 --data '{"name":"Check details","description":"Check details","priority":"low","due_at":"2020-01-01 00:00:00","taskable_type":"plan","taskable_uuid":"103d39a6-fa4b-4ad7-9274-341ae1765ed4","task_status_uuid":"387754d3-2963-4202-a7e4-04238c76fead","parent_task_uuid":"f1b9006b-0bb0-4113-9dc7-47609cc61a6a","assigned_to_uuids":["e9aad65a-2163-4f2e-af6d-3f8f4d20e0cd","24f1d80a-ea1b-48a8-9cb3-6dd771cfbcbc"],"custom_fields":[{"favourite_pet":"Dog"}],"group_uuids":["b4dfdf80-41a9-48fe-88c4-436618ce8d38","d2a0af60-fa63-4c3e-9695-595c2e570501"]}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}

# Payload
{
  "name": "Check details",
  "description": "Check details",
  "priority": "low",
  "due_at": "2020-01-01 00:00:00",
  "taskable_type": "plan",
  "taskable_uuid": "103d39a6-fa4b-4ad7-9274-341ae1765ed4",
  "task_status_uuid": "387754d3-2963-4202-a7e4-04238c76fead",
  "parent_task_uuid": "f1b9006b-0bb0-4113-9dc7-47609cc61a6a",
  "assigned_to_uuids": [
    "e9aad65a-2163-4f2e-af6d-3f8f4d20e0cd",
    "24f1d80a-ea1b-48a8-9cb3-6dd771cfbcbc"
  ],
  "custom_fields": [
    {
      "favourite_pet": "Dog"
    }
  ],
  "group_uuids": [
    "b4dfdf80-41a9-48fe-88c4-436618ce8d38",
    "d2a0af60-fa63-4c3e-9695-595c2e570501"
  ]
}
Response examples (200)
{
  "name": "Document the transaction",
  "uuid": "5b37b943-fc35-4541-b291-45ff54f059b1",
  "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": "cb072948-2729-4910-9627-44484693b030",
      "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": "2025-05-14T18:27:13+01:00",
      "collection": false,
      "description": "The timestamp of when the resource was created."
    },
    "first_name": {
      "example": "Gareth",
      "collection": false,
      "description": "First name"
    },
    "updated_at": {
      "example": "2025-05-14T18:27:13+01: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": "0accaada-b2ba-4d4b-b08f-4dcc1bf657be",
    "colour": "#398898",
    "position": 1,
    "created_at": "2025-05-14T18:27:13+01:00",
    "updated_at": "2025-05-14T18:27:13+01: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": "1fde67c4-6dba-4aca-8322-9aa0dab28959",
    "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": "2025-05-14T18:27:13+01:00",
    "created_at": "2025-05-14T18:27:13+01:00",
    "updated_at": "2025-05-14T18:27:13+01:00",
    "group_uuids": [
      "2e628ab1-081d-4d1d-b99a-2ced5aba540a"
    ],
    "completed_at": "2025-05-14T18:27:13+01:00",
    "participants": "App\\Http\\Resources\\AccountResource",
    "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
    "status_position": 4,
    "task_board_uuid": "685c7d07-5fb6-4637-8bc4-269969538202",
    "assigned_to_uuids": [
      "098eda21-f882-46db-86a8-d7ceeae3123c"
    ],
    "participants_count": 4
  },
  "created_at": "2025-05-14T18:27:13+01:00",
  "updated_at": "2025-05-14T18:27:13+01: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": "19caf3d4-1025-4290-bdae-8d58eeb45d83",
      "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": "2025-05-14T18:27:13+01:00",
      "collection": false,
      "description": "The timestamp of when the resource was created."
    },
    "first_name": {
      "example": "Gareth",
      "collection": false,
      "description": "First name"
    },
    "updated_at": {
      "example": "2025-05-14T18:27:13+01: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": "8cc4d793-9997-41a2-8cd4-4f5ebe9deeb1",
      "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": "2025-05-14T18:27:13+01:00",
      "collection": false,
      "description": "The timestamp of when the resource was created."
    },
    "first_name": {
      "example": "Gareth",
      "collection": false,
      "description": "First name"
    },
    "updated_at": {
      "example": "2025-05-14T18:27:13+01: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."
    }
  },
  "custom_fields": [
    {
      "name": "Favourite Drink",
      "type": "string",
      "uuid": "f51c7224-acdf-4478-88c5-95eaaa907fec",
      "value": "Coffee",
      "help_text": "This is the client's favourite drink.",
      "reference": "favourite_drink",
      "created_at": "2025-05-14T18:27:13+01:00",
      "updated_at": "2025-05-14T18:27:13+01:00",
      "is_required": false,
      "selection_options": [
        "Coffee",
        "Tea",
        "Water"
      ]
    }
  ],
  "taskable_type": "case"
}