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":"fa2191b7-027a-42a2-9d45-ed491df45536","task_status_uuid":"a02b0210-b66f-47e7-b86e-64c0a1690adc","parent_task_uuid":"ab3dd758-6772-4178-8d99-c7c132bf263b","assigned_to_uuids":["3709490e-1c5c-4445-aade-cac739f38a71","5ec28818-ba0f-45d2-9368-2d332f226739"],"custom_fields":[{"favourite_pet":"Dog"}],"group_uuids":["9acb2b68-6998-4420-9852-a9645162d9f2","532b8b53-f60a-4300-ae0c-9c58a2c47f0d"]}'
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": "fa2191b7-027a-42a2-9d45-ed491df45536",
"task_status_uuid": "a02b0210-b66f-47e7-b86e-64c0a1690adc",
"parent_task_uuid": "ab3dd758-6772-4178-8d99-c7c132bf263b",
"assigned_to_uuids": [
"3709490e-1c5c-4445-aade-cac739f38a71",
"5ec28818-ba0f-45d2-9368-2d332f226739"
],
"custom_fields": [
{
"favourite_pet": "Dog"
}
],
"group_uuids": [
"9acb2b68-6998-4420-9852-a9645162d9f2",
"532b8b53-f60a-4300-ae0c-9c58a2c47f0d"
]
}
Response examples (201)
{
"name": "Document the transaction",
"uuid": "667b2590-b02a-4385-a6b1-e4fc132b805c",
"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": "218dc535-3780-4eb0-818e-3df5189cabb6",
"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-07-17T16:23:21+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-07-17T16:23:21+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": "19f20adc-9eba-4ad2-b807-042f41423420",
"colour": "#398898",
"position": 1,
"created_at": "2025-07-17T16:23:21+01:00",
"updated_at": "2025-07-17T16:23:21+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": "24583b65-3056-44ce-843f-563b8d2cc15b",
"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-07-17T16:23:21+01:00",
"created_at": "2025-07-17T16:23:21+01:00",
"updated_at": "2025-07-17T16:23:21+01:00",
"group_uuids": [
"7566bf86-4326-49f1-a8aa-e7fc203e9e7b"
],
"completed_at": "2025-07-17T16:23:21+01:00",
"participants": "App\\Http\\Resources\\AccountResource",
"custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
"status_position": 4,
"task_board_uuid": "9b30e94f-880e-4fd3-ba07-bd056cc8b5f9",
"assigned_to_uuids": [
"5a5a527f-0e90-4c4c-9a02-e3eaa50c0b93"
],
"participants_count": 4
},
"created_at": "2025-07-17T16:23:21+01:00",
"updated_at": "2025-07-17T16:23:21+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": "5f111fa5-6b9a-4a3a-bd1c-09f8f18d1b60",
"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-07-17T16:23:21+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-07-17T16:23:21+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": "4f3f4033-ef96-4072-a296-425a7b7527bc",
"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-07-17T16:23:21+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-07-17T16:23:21+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": "037b39c7-c28a-4659-ad29-5c2fc2308dc5",
"value": "Coffee",
"help_text": "This is the client's favourite drink.",
"reference": "favourite_drink",
"created_at": "2025-07-17T16:23:21+01:00",
"updated_at": "2025-07-17T16:23:21+01:00",
"is_required": false,
"selection_options": [
"Coffee",
"Tea",
"Water"
]
}
],
"taskable_type": "case"
}