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":"3d798077-239f-424d-b2c7-c57d462eabb7","task_status_uuid":"db77de9f-61c6-499a-993d-e2885dd67132","parent_task_uuid":"c072d519-40eb-463d-a2a3-af90e3412d8f","assigned_to_uuids":["7b40e008-8fe2-4a05-a486-67f8745fdaf3","9ba73c1f-410c-4392-a5b1-948d4b152e4c"],"custom_fields":[{"favourite_pet":"Dog"}],"group_uuids":["cc25caff-8331-4932-81a4-1854886ab76f","ab3de0d6-74d2-4995-990e-ac4ec6434c6a"]}'
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": "3d798077-239f-424d-b2c7-c57d462eabb7",
"task_status_uuid": "db77de9f-61c6-499a-993d-e2885dd67132",
"parent_task_uuid": "c072d519-40eb-463d-a2a3-af90e3412d8f",
"assigned_to_uuids": [
"7b40e008-8fe2-4a05-a486-67f8745fdaf3",
"9ba73c1f-410c-4392-a5b1-948d4b152e4c"
],
"custom_fields": [
{
"favourite_pet": "Dog"
}
],
"group_uuids": [
"cc25caff-8331-4932-81a4-1854886ab76f",
"ab3de0d6-74d2-4995-990e-ac4ec6434c6a"
]
}
Response examples (201)
{
"name": "Document the transaction",
"uuid": "9e61ea94-e3ed-43da-bb8d-b74d8eb9ca4e",
"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": "e271c384-39d5-4b18-9d65-cee7bf9b69b9",
"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-26T11:37:06+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-26T11:37:06+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": "0b680cb4-14b1-4efb-9c77-acc83c8d99ed",
"colour": "#398898",
"position": 1,
"created_at": "2025-06-26T11:37:06+01:00",
"updated_at": "2025-06-26T11:37:06+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": "fee90522-79a0-4c65-b9b4-341aa31f4048",
"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-26T11:37:06+01:00",
"created_at": "2025-06-26T11:37:06+01:00",
"updated_at": "2025-06-26T11:37:06+01:00",
"group_uuids": [
"2f9207bd-b8cb-4279-82c2-fd4dd3b91a76"
],
"completed_at": "2025-06-26T11:37:06+01:00",
"participants": "App\\Http\\Resources\\AccountResource",
"custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
"status_position": 4,
"task_board_uuid": "447275be-7376-412e-9e18-c2a1985a86ad",
"assigned_to_uuids": [
"14438231-be91-44c9-bf05-96dab6f4ebdb"
],
"participants_count": 4
},
"created_at": "2025-06-26T11:37:06+01:00",
"updated_at": "2025-06-26T11:37:06+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": "24ebcfc2-e6a1-41a4-8fb3-fd535710d9e6",
"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-26T11:37:06+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-26T11:37:06+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": "eb43a2e9-da70-4e5c-abec-58bc19744000",
"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-26T11:37:06+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-26T11:37:06+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": "1959666a-35cb-4394-9518-d76a93803c83",
"value": "Coffee",
"help_text": "This is the client's favourite drink.",
"reference": "favourite_drink",
"created_at": "2025-06-26T11:37:06+01:00",
"updated_at": "2025-06-26T11:37:06+01:00",
"is_required": false,
"selection_options": [
"Coffee",
"Tea",
"Water"
]
}
],
"taskable_type": "case"
}