Create a portfolio Run in API Explorer
Ask AI
POST
/api/v1/plans/{plan_uuid}/sub-accounts/{subAccount_uuid}/portfolios
curl \
--request POST 'https://api.plannrcrm.com/api/v1/plans/6ff8f7f6-1eb3-3525-be4a-3932c805afed/sub-accounts/6ff8f7f6-1eb3-3525-be4a-3932c805afed/portfolios' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
--data '{"name":"Risky Portfolio","is_proposed":false,"proposed_at":"2023-09-25"}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"name": "Risky Portfolio",
"is_proposed": false,
"proposed_at": "2023-09-25"
}
Response examples (201)
[
{
"uuid": "88e9ed25-e733-4537-b960-adc60f4adb78",
"created_at": "2026-08-07T15:29:26+01:00",
"updated_at": "2026-08-07T15:29:26+01:00",
"is_proposed": true,
"proposed_at": "2026-08-07T00:00:00+01:00",
"name": "Risky Portfolio"
}
]
Response examples (409)
{
"message": "Plan is being deleted."
}
Response examples (422)
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}