Headers
-
Content-Type
string -
Accept
string -
X-PLANNR-ACCOUNT-UUID
string
Body
Required
-
name
string Required The name of the task
-
description
string The description of the task
-
priority
string The task's priority. Available options: low, medium, high and highest
-
due_at
string The task due date
-
taskable_type
string Required The taskable type. Available Options: client, case, plan
-
taskable_uuid
string Required The taskable UUID
-
task_status_uuid
string Required The task status UUID
-
parent_task_uuid
string The parent task UUID
-
assigned_to_uuids
array[string] Array of account UUIDs
-
custom_fields
array[string] Additional custom fields
-
group_uuids
array[string] UUIDs of groups that will be assigned when the task is created.
POST
/api/v1/task
curl \
--request POST 'https://api.plannrcrm.com/api/v1/task' \
--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":"6998ccda-2f5c-4d81-af80-7fe1eaddc727","task_status_uuid":"7d585d8d-fb34-4fd9-abea-9e0c9a22d39d","parent_task_uuid":"0f27e5b1-d63d-44ab-b347-25a3464250ca","assigned_to_uuids":["f3d2911e-6473-4299-bbd2-1c4429efd05d","68170a4a-d91e-4ddc-9e6c-b226189d8d1d"],"custom_fields":[{"favourite_pet":"Dog"}],"group_uuids":["25c4998f-d1e7-4b70-b345-95f7add6b332","6ee2c78f-daa4-4ea2-8b62-5b7fc3bccc67"]}'
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": "6998ccda-2f5c-4d81-af80-7fe1eaddc727",
"task_status_uuid": "7d585d8d-fb34-4fd9-abea-9e0c9a22d39d",
"parent_task_uuid": "0f27e5b1-d63d-44ab-b347-25a3464250ca",
"assigned_to_uuids": [
"f3d2911e-6473-4299-bbd2-1c4429efd05d",
"68170a4a-d91e-4ddc-9e6c-b226189d8d1d"
],
"custom_fields": [
{
"favourite_pet": "Dog"
}
],
"group_uuids": [
"25c4998f-d1e7-4b70-b345-95f7add6b332",
"6ee2c78f-daa4-4ea2-8b62-5b7fc3bccc67"
]
}
Response examples (201)
{
"name": "Document the transaction",
"uuid": "9a0a5edd-dedb-4e12-8df8-e2949f2c2549",
"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": "2187b736-2f4d-4260-94c0-4be39153f098",
"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-06-13T16:58:57+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-06-13T16:58:57+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": "b2d3b2af-f39a-4dc2-ab47-11fdf063f328",
"colour": "#398898",
"position": 1,
"created_at": "2025-06-13T16:58:57+01:00",
"updated_at": "2025-06-13T16:58:57+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": "eca66672-8f2d-4763-9f2c-b315201d7d35",
"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-06-13T16:58:57+01:00",
"created_at": "2025-06-13T16:58:57+01:00",
"updated_at": "2025-06-13T16:58:57+01:00",
"group_uuids": [
"3c23db20-148d-4a63-8164-04512f02f89d"
],
"completed_at": "2025-06-13T16:58:57+01:00",
"participants": "App\\Http\\Resources\\AccountResource",
"custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
"status_position": 4,
"task_board_uuid": "66b72358-fb03-4c57-8e9c-74cc25396eb7",
"assigned_to_uuids": [
"23cc0a1d-0a6c-49de-be56-9926e98ce9af"
],
"participants_count": 4
},
"created_at": "2025-06-13T16:58:57+01:00",
"updated_at": "2025-06-13T16:58:57+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": "0a51aafe-7fcd-41e1-930c-2c4b82d77046",
"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-06-13T16:58:57+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-06-13T16:58:57+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": "6b6994af-f02f-48b6-b730-92a90a6b2fc3",
"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-06-13T16:58:57+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-06-13T16:58:57+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": "4c3353d2-ac5d-4ee9-ba8e-d5ff928410ec",
"value": "Coffee",
"help_text": "This is the client's favourite drink.",
"reference": "favourite_drink",
"created_at": "2025-06-13T16:58:57+01:00",
"updated_at": "2025-06-13T16:58:57+01:00",
"is_required": false,
"selection_options": [
"Coffee",
"Tea",
"Water"
]
}
],
"taskable_type": "case"
}