Body
Required
-
The name of the task
-
The description of the task
-
The task's priority. Available options: low, medium, high and highest
-
The task due date
-
The taskable type. Available Options: client, case, plan
-
The taskable UUID
-
The task status UUID
-
The parent task UUID
-
Array of account UUIDs
-
Additional custom fields
-
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 $ACCESS_TOKEN" \
--header "Content-Type: 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":"7077bbf4-e17b-43d1-a909-69c32c669fae","task_status_uuid":"e52ba8bc-c8fe-4153-9048-750a87688824","parent_task_uuid":"dfeb63f4-b839-44ab-a4cc-debc9d723e94","assigned_to_uuids":["ceff324c-4495-4881-9929-d1ded6510c08","69de9344-1fe2-4fdd-82f5-0ec54263664b"],"custom_fields":[{"favourite_pet":"Dog"}],"group_uuids":["5690dc88-7225-477d-91bb-ab294f6871c7","9b6e5d9b-0ab1-4cff-a14b-972ba8164368"]}'
Request examples
# Headers
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": "7077bbf4-e17b-43d1-a909-69c32c669fae",
"task_status_uuid": "e52ba8bc-c8fe-4153-9048-750a87688824",
"parent_task_uuid": "dfeb63f4-b839-44ab-a4cc-debc9d723e94",
"assigned_to_uuids": [
"ceff324c-4495-4881-9929-d1ded6510c08",
"69de9344-1fe2-4fdd-82f5-0ec54263664b"
],
"custom_fields": [
{
"favourite_pet": "Dog"
}
],
"group_uuids": [
"5690dc88-7225-477d-91bb-ab294f6871c7",
"9b6e5d9b-0ab1-4cff-a14b-972ba8164368"
]
}
Response examples (201)
{
"name": "Document the transaction",
"uuid": "b0c2d975-0f8e-42c8-bac4-268e4d1ff5c1",
"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": "8c7e572c-f462-41e3-9454-e8c27a29e800",
"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-12-04T22:09:16+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": "2025-12-04T22:09:16+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": "642f001f-e00f-411b-b2c0-77f343c8dd87",
"colour": "#398898",
"position": 1,
"created_at": "2025-12-04T22:09:16+00:00",
"updated_at": "2025-12-04T22:09:16+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": "1c05332d-e998-45a0-8432-f64a24e6853b",
"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-12-04T22:09:16+00:00",
"created_at": "2025-12-04T22:09:16+00:00",
"updated_at": "2025-12-04T22:09:16+00:00",
"group_uuids": [
"5fc01f3d-ffde-40f1-a56d-3ae83ba06533"
],
"completed_at": "2025-12-04T22:09:16+00:00",
"participants": "App\\Http\\Resources\\AccountResource",
"custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
"status_position": 4,
"task_board_uuid": "4fd17c60-dcab-4f09-9e63-c6ba7b676a2c",
"assigned_to_uuids": [
"520e34f7-b1c5-461c-ae3f-1b1230152904"
],
"participants_count": 4
},
"created_at": "2025-12-04T22:09:16+00:00",
"updated_at": "2025-12-04T22:09:16+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": "3f56f15a-d0d9-4c9b-83fe-743061275125",
"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-12-04T22:09:16+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": "2025-12-04T22:09:16+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": "e67400b0-fffa-44ff-8e44-3e6338602365",
"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-12-04T22:09:16+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": "2025-12-04T22:09:16+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."
}
},
"custom_fields": [
{
"name": "Favourite Drink",
"type": "string",
"uuid": "08354485-76b2-4753-a1b9-999f9f248baf",
"value": "Coffee",
"help_text": "This is the client's favourite drink.",
"reference": "favourite_drink",
"created_at": "2025-12-04T22:09:16+00:00",
"updated_at": "2025-12-04T22:09:16+00:00",
"is_required": false,
"selection_options": [
"Coffee",
"Tea",
"Water"
]
}
],
"taskable_type": "case"
}