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":"7566eb24-4360-42bf-b448-561bd7cce50c","task_status_uuid":"2ed31360-489f-4dba-9199-e3bfeeefdf73","parent_task_uuid":"ef327af0-43f4-4405-824a-7987371ec162","assigned_to_uuids":["e07eb2cc-794b-43cd-ae09-05235cd0ac4c","2c9e1052-a8b5-44c4-be98-aca1dd4f8504"],"custom_fields":[{"favourite_pet":"Dog"}],"group_uuids":["c4f116fe-579b-4c60-a505-6ea5f43e0db1","21e64488-6aff-4ed6-a9a8-8aa7ee88ffa5"]}'
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": "7566eb24-4360-42bf-b448-561bd7cce50c",
"task_status_uuid": "2ed31360-489f-4dba-9199-e3bfeeefdf73",
"parent_task_uuid": "ef327af0-43f4-4405-824a-7987371ec162",
"assigned_to_uuids": [
"e07eb2cc-794b-43cd-ae09-05235cd0ac4c",
"2c9e1052-a8b5-44c4-be98-aca1dd4f8504"
],
"custom_fields": [
{
"favourite_pet": "Dog"
}
],
"group_uuids": [
"c4f116fe-579b-4c60-a505-6ea5f43e0db1",
"21e64488-6aff-4ed6-a9a8-8aa7ee88ffa5"
]
}
Response examples (201)
{
"name": "Document the transaction",
"uuid": "57e46e7a-4eb5-464b-8f88-8c77b1e2186e",
"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": "7a49c7f2-b6d2-4178-8ea8-d38a54ab8ef8",
"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-09-17T15:46:52+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-09-17T15:46:52+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": "0bcac390-af87-4453-a635-d8ee4df90f68",
"colour": "#398898",
"position": 1,
"created_at": "2025-09-17T15:46:52+01:00",
"updated_at": "2025-09-17T15:46:52+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": "fec4bb1c-b6dc-4e75-a076-53cb2bd4af4e",
"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-09-17T15:46:52+01:00",
"created_at": "2025-09-17T15:46:52+01:00",
"updated_at": "2025-09-17T15:46:52+01:00",
"group_uuids": [
"b1170c46-119f-4e0d-a699-5a476188fc55"
],
"completed_at": "2025-09-17T15:46:52+01:00",
"participants": "App\\Http\\Resources\\AccountResource",
"custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
"status_position": 4,
"task_board_uuid": "899d0f70-e1dc-4e51-bf05-8a5f5c1ed0ec",
"assigned_to_uuids": [
"7ac9b8eb-065f-4fdc-b360-4021b2e050f9"
],
"participants_count": 4
},
"created_at": "2025-09-17T15:46:52+01:00",
"updated_at": "2025-09-17T15:46:52+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": "91cede4a-e191-43a2-87af-0107b529e3f1",
"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-09-17T15:46:52+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-09-17T15:46:52+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": "0aa25fa8-3439-40d0-b5cf-312441305e2f",
"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-09-17T15:46:52+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-09-17T15:46:52+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": "d313a4cd-86b2-4a33-ad83-cdb0f7d6f774",
"value": "Coffee",
"help_text": "This is the client's favourite drink.",
"reference": "favourite_drink",
"created_at": "2025-09-17T15:46:52+01:00",
"updated_at": "2025-09-17T15:46:52+01:00",
"is_required": false,
"selection_options": [
"Coffee",
"Tea",
"Water"
]
}
],
"taskable_type": "case"
}