Create a sub account Run in API Explorer
Ask AI
POST
/api/v1/plans/{plan_uuid}/sub-accounts
curl \
--request POST 'https://api.plannrcrm.com/api/v1/plans/6ff8f7f6-1eb3-3525-be4a-3932c805afed/sub-accounts' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"name":"Johns ISA","policy_number":"AVF-4355432","proposal_reference":"BtMWiy0JwHtogU4"}'
Request examples
{
"name": "Johns ISA",
"policy_number": "AVF-4355432",
"proposal_reference": "BtMWiy0JwHtogU4"
}
Response examples (200)
{
"uuid": "4b0bfed6-62be-41a7-a3f3-2f24a9ec994e",
"created_at": "2026-08-28T07:34:59+01:00",
"updated_at": "2026-08-28T07:34:59+01:00",
"name": "John's ISA",
"policy_number": "AVI-4837",
"latest_valuation": {
"uuid": "5d2802ac-b119-439c-a49e-ac4597804443",
"created_at": "2026-08-28T07:34:59+01:00",
"updated_at": "2026-08-28T07:34:59+01:00",
"valued_at": "2026-08-28T07:34:59+01:00",
"value": {
"amount": {
"example": "4000",
"description": "Money amount at their lowest denominator (for example: pennies)"
},
"formatted": {
"example": "£40.00",
"description": "Money amount formatted with currency"
},
"currency": {
"example": "GBP",
"description": "Currency of the money"
}
},
"sub_account": {
"uuid": "d7cbaf30-dbc1-452c-9b7f-915ffa0e7060",
"created_at": "2026-08-28T07:35:05+01:00",
"updated_at": "2026-08-28T07:35:05+01:00",
"name": "John's ISA",
"policy_number": "AVI-4837",
"is_main_account": false,
"statistics": {
"recent_growth": 100
}
}
},
"is_main_account": false,
"active_portfolio": {
"uuid": "9bc0160a-eaaf-4d80-aa48-8db9027cec77",
"created_at": "2026-08-28T07:34:59+01:00",
"updated_at": "2026-08-28T07:34:59+01:00",
"is_proposed": true,
"proposed_at": "2026-08-28T00:00:00+01:00",
"name": "Risky Portfolio"
},
"statistics": {
"recent_growth": 100
}
}
Response examples (409)
{
"message": "Plan is being deleted."
}
Response examples (422)
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}