Headers
-
Content-Type
string -
Accept
string -
X-PLANNR-ACCOUNT-UUID
string
Body
Required
-
name
string Required The name of the case
-
participants
array[string] Account uuids belonging to the firm. Must include at least one client.
-
assigned_to_uuids
array[string] Array of account UUIDs to assign to the case.
-
group_uuids
array[string] UUIDs of groups that will be assigned when the case is created.
-
status
string The uuid of the status chosen for the case
-
review_at
string The date the case should be reviewed
-
type
string The uuid of the type chosen for the case
-
value
integer Expect value the case will generate in pennies
-
plans
array[string] The uuids of the plans chosen for the case
POST
/api/v1/cases
curl \
--request POST 'https://api.plannrcrm.com/api/v1/cases' \
--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":"Patrick's Case","participants":["1201de80-2f7e-4967-8839-2062da68acf2","c132db36-de5a-47ac-a392-798183b9020a"],"assigned_to_uuids":["92f21950-d3ce-44d7-88ba-a45306bcbdcf","aa9f38a4-1989-4085-b298-2230c36b906d"],"group_uuids":["9c27a7b2-d63b-47bc-9116-69346f6ecce3","191693f8-9614-41ad-9b76-8c5e2ec4cca6"],"status":"e5ef3f26-2c76-4ca4-a158-fba9b45e32b7","review_at":"2025-05-14T18:27:13+01:00","type":"10ba4b12-dc36-40d1-a08d-69b34cace412","value":15099,"plans":["29da5527-6d79-4028-b51b-5d0a119ba98d","de207973-0ac3-4ffa-a814-7273ce03d483"]}'
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": "Patrick's Case",
"participants": [
"1201de80-2f7e-4967-8839-2062da68acf2",
"c132db36-de5a-47ac-a392-798183b9020a"
],
"assigned_to_uuids": [
"92f21950-d3ce-44d7-88ba-a45306bcbdcf",
"aa9f38a4-1989-4085-b298-2230c36b906d"
],
"group_uuids": [
"9c27a7b2-d63b-47bc-9116-69346f6ecce3",
"191693f8-9614-41ad-9b76-8c5e2ec4cca6"
],
"status": "e5ef3f26-2c76-4ca4-a158-fba9b45e32b7",
"review_at": "2025-05-14T18:27:13+01:00",
"type": "10ba4b12-dc36-40d1-a08d-69b34cace412",
"value": 15099,
"plans": [
"29da5527-6d79-4028-b51b-5d0a119ba98d",
"de207973-0ac3-4ffa-a814-7273ce03d483"
]
}
Response examples (200)
{
"name": "finance",
"slug": "finance",
"type": {
"name": "Mortgage Plan",
"uuid": "16bd0df3-a2d6-4a9e-8741-5f44c17cca56",
"created_at": "2025-05-14T18:27:13+01:00",
"updated_at": "2025-05-14T18:27:13+01:00"
},
"uuid": "bc22d399-8755-482b-a1d6-bad8fe824ffe",
"plans": {
"name": "Johns ISA",
"tags": "App\\Http\\Resources\\TagResource",
"type": "cash_account",
"uuid": "00724e0d-d810-4c91-b588-a6e604cddb3c",
"wrap": "App\\Http\\Resources\\Plans\\PlanResource",
"cases": "App\\Http\\Resources\\CasesResource",
"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"
}
},
"claims": "App\\Http\\Resources\\Plans\\ClaimResource",
"client": "App\\Http\\Resources\\AccountResource",
"covers": "App\\Http\\Resources\\Plans\\CoverResource",
"seller": "App\\Http\\Resources\\AccountResource",
"status": "inactive",
"accounts": "App\\Http\\Resources\\AccountResource",
"on_panel": true,
"provider": "App\\Http\\Resources\\Plans\\ProviderResource",
"sub_type": "lifetime isa",
"opened_at": "2025-05-14T18:27:13+01:00",
"valued_at": "2025-05-14T18:27:13+01:00",
"created_at": "2025-05-14T18:27:13+01:00",
"statistics": {
"recent_growth": 100
},
"updated_at": "2025-05-14T18:27:13+01:00",
"advice_area": "non_investment_insurance",
"inactive_at": "2025-05-14T18:27:13+01:00",
"review_date": "2024-05-14",
"linked_plans": "App\\Http\\Resources\\Plans\\PlanResource",
"main_account": "App\\Http\\Resources\\Plans\\SubAccountResource",
"sub_accounts": "App\\Http\\Resources\\Plans\\SubAccountResource",
"under_advice": true,
"abstract_type": "asset",
"custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
"is_wrap_child": false,
"linked_owners": "App\\Http\\Resources\\AccountResource",
"policy_number": "AVIVA-123",
"show_on_joint": true,
"wrap_children": "App\\Http\\Resources\\Plans\\PlanResource",
"can_be_deleted": "false",
"total_benefits": {
"critical_illness": {
"amount": {
"example": "15000000",
"description": "Money amount at their lowest denominator (for example: pennies)"
},
"currency": {
"example": "GBP",
"description": "Currency of the money"
},
"formatted": {
"example": "£150,000.00",
"description": "Money amount formatted with currency"
}
},
"family_income_benefit": {
"amount": {
"example": "10000000",
"description": "Money amount at their lowest denominator (for example: pennies)"
},
"currency": {
"example": "GBP",
"description": "Currency of the money"
},
"formatted": {
"example": "£100,000.00",
"description": "Money amount formatted with currency"
}
}
},
"inactive_reason": "claimed",
"is_group_scheme": false,
"is_wrap_product": false,
"latest_valuations": "App\\Http\\Resources\\Plans\\ValuationResource",
"original_valued_at": "2025-05-13T18:27:13+01:00",
"proposal_reference": "AB123456",
"agency_in_your_name": true,
"external_references": "App\\Http\\Resources\\ExternalReferenceResource",
"is_sub_group_scheme": false,
"total_benefit_amount": {
"amount": {
"example": "25000000",
"description": "Money amount at their lowest denominator (for example: pennies)"
},
"currency": {
"example": "GBP",
"description": "Currency of the money"
},
"formatted": {
"example": "£250,000.00",
"description": "Money amount formatted with currency"
}
},
"is_group_scheme_member": false,
"originally_sold_by_firm": true,
"agency_in_your_name_from": "2024-05-14",
"contract_enquiry_account": "App\\Http\\Resources\\AccountResource",
"visible_on_client_portal": true,
"include_in_client_valuation": true
},
"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": {
"name": "To Be Reviewed",
"uuid": "c255e08c-05e8-4943-9634-ba6b4eb310e9",
"colour": "#23852B",
"position": 5,
"created_at": "2025-05-14T18:27:13+01:00",
"updated_at": "2025-05-14T18:27:13+01:00"
},
"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": [
"b49ef63b-40c6-4f15-81c3-859fd4f7622e"
],
"completed_at": "2025-05-14T18:27:13+01:00",
"participants": {
"firm": "App\\Http\\Resources\\FirmResource",
"name": "Gareth Thompson",
"role": "client",
"tags": "App\\Http\\Resources\\TagResource",
"type": "client",
"uuid": "c95a83f7-844a-4bc3-936a-b667b5fd0308",
"email": "gareth@codepotato.co.uk",
"groups": "App\\Http\\Resources\\GroupResource",
"owners": "App\\Http\\Resources\\AccountResource",
"last_name": "Thompson",
"created_at": "2025-05-14T18:27:13+01:00",
"first_name": "Gareth",
"updated_at": "2025-05-14T18:27:13+01:00",
"with_login": true,
"inactive_at": "2025-05-14",
"custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
"introduced_by": "App\\Http\\Resources\\AccountResource",
"primary_email": "App\\Http\\Resources\\ContactDetailResource",
"can_be_deleted": "false",
"assigned_adviser": "App\\Http\\Resources\\AccountResource",
"next_review_date": "2025-05-14T18:27:13+01:00",
"has_joint_account": true,
"current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
"first_contact_date": "2025-05-14T18:27:13+01:00",
"external_references": "App\\Http\\Resources\\ExternalReferenceResource",
"assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
"joint_account_circle": "App\\Http\\Resources\\CircleResource",
"ownership_percentage": 100,
"previous_review_date": "2025-05-14T18:27:13+01:00",
"primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
"assigned_administrator": "App\\Http\\Resources\\AccountResource",
"anniversary_review_date": "2025-05-14T18:27:13+01:00"
},
"custom_fields": [
{
"name": "Favourite Drink",
"type": "string",
"uuid": "1afa38c0-1008-423f-afb6-2504c7816041",
"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"
]
}
],
"status_position": 4,
"task_board_uuid": "38ca2179-73e1-4e87-8cfc-375141922792",
"assigned_to_uuids": [
"da270bc2-8671-4f5f-9398-00c7c36637a6"
],
"participants_count": 4
}