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":"6cdf1ef3-cb16-4a9c-990b-213db32838a1","task_status_uuid":"aa983863-4018-4031-8b59-d62aaa14fccc","parent_task_uuid":"1bf8a2c6-2bd4-472e-b108-586272e02d02","assigned_to_uuids":["594402db-0cad-4bae-9213-f3520b2bbbbb","9985b920-8037-446a-b5ab-cf48217f1b4d"],"custom_fields":[{"favourite_pet":"Dog"}],"group_uuids":["2d71710d-eb3a-4182-9ef6-0813a1253ed8","3e28780a-d86b-4641-824f-0bdb8b3617d2"]}'
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": "6cdf1ef3-cb16-4a9c-990b-213db32838a1",
"task_status_uuid": "aa983863-4018-4031-8b59-d62aaa14fccc",
"parent_task_uuid": "1bf8a2c6-2bd4-472e-b108-586272e02d02",
"assigned_to_uuids": [
"594402db-0cad-4bae-9213-f3520b2bbbbb",
"9985b920-8037-446a-b5ab-cf48217f1b4d"
],
"custom_fields": [
{
"favourite_pet": "Dog"
}
],
"group_uuids": [
"2d71710d-eb3a-4182-9ef6-0813a1253ed8",
"3e28780a-d86b-4641-824f-0bdb8b3617d2"
]
}
Response examples (201)
{
"name": "Document the transaction",
"uuid": "a2d9b4fd-4f36-466c-b9d8-293eed2393d1",
"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": "a36199cb-be33-452b-8f13-ddbefec0de7f",
"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-05-14T18:27:13+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-05-14T18:27:13+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": "98c5e47a-579e-4425-82b6-585bc2986e59",
"colour": "#398898",
"position": 1,
"created_at": "2025-05-14T18:27:13+01:00",
"updated_at": "2025-05-14T18:27:13+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": "a4e41d8e-87c0-4dbb-82d7-b86d9912ac38",
"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-05-14T18:27:13+01:00",
"created_at": "2025-05-14T18:27:13+01:00",
"updated_at": "2025-05-14T18:27:13+01:00",
"group_uuids": [
"3756ec25-8944-4e4b-a7df-f0d9e5e3c778"
],
"completed_at": "2025-05-14T18:27:13+01:00",
"participants": "App\\Http\\Resources\\AccountResource",
"custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
"status_position": 4,
"task_board_uuid": "67b1c3ee-4988-4a61-bb50-32176b4f253a",
"assigned_to_uuids": [
"f307e0b8-bc52-4ec0-9fa0-af9880363661"
],
"participants_count": 4
},
"created_at": "2025-05-14T18:27:13+01:00",
"updated_at": "2025-05-14T18:27:13+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": "1135f1ff-aa53-4213-9fe1-9f7a749ca75b",
"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-05-14T18:27:13+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-05-14T18:27:13+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": "edf464a3-4a09-458b-9e0d-0e5278ddcf01",
"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-05-14T18:27:13+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-05-14T18:27:13+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": "d308d197-72df-4901-a5f3-3c2057ebe59a",
"value": "Coffee",
"help_text": "This is the client's favourite drink.",
"reference": "favourite_drink",
"created_at": "2025-05-14T18:27:13+01:00",
"updated_at": "2025-05-14T18:27:13+01:00",
"is_required": false,
"selection_options": [
"Coffee",
"Tea",
"Water"
]
}
],
"taskable_type": "case"
}