Headers
-
Content-Type string
-
Accept string
-
X-PLANNR-ACCOUNT-UUID string
Body Required
-
account_uuid string
The UUID of the accounts who should own the risk. These must only be client accounts.
-
level integer
The risk level of the clients risk assessment. Number between 1 and 1,000. Cannot be set with level_string
-
level_string string
The risk level of the client as a string/text. Cannot be set with level.
-
Date of risk assessment completion.
-
Uuid of the employee that completed the risk assessment
-
risk_assessment_provider string
Name of provider for the risk assessment
-
time_horizon string
Time horizon: how long the risk assessment will last for the client.
POST
/api/v2/risks
curl \
--request POST https://api.plannrcrm.com/api/v2/risks \
--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 '{"account_uuid":"30bcea40-9c8d-45c4-9f27-244380c7a13a","level":52,"level_string":"Moderately Aggressive","completed_at":"2024-02-20T10:13:06+00:00","completed_by":"7f63f78c-8212-4343-8e0c-672229308f15","risk_assessment_provider":"Defaqto","time_horizon":"For the next 5 years"}'
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
{
"account_uuid": "30bcea40-9c8d-45c4-9f27-244380c7a13a",
"level": 52,
"level_string": "Moderately Aggressive",
"completed_at": "2024-02-20T10:13:06+00:00",
"completed_by": "7f63f78c-8212-4343-8e0c-672229308f15",
"risk_assessment_provider": "Defaqto",
"time_horizon": "For the next 5 years"
}
Response examples (201)
{
"uuid": "28786277-1d8d-4186-ba04-dce582df9eb6",
"level": 52,
"account": {
"name": "Gareth Thompson",
"role": "client",
"type": "client",
"uuid": "2a3d7022-7500-4c7d-aa88-73c0adb442b8",
"email": "gareth@codepotato.co.uk",
"last_name": "Thompson",
"photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"created_at": "2025-02-20T10:13:06+00:00",
"first_name": "Gareth",
"updated_at": "2025-02-20T10:13:06+00:00",
"external_references": "App\\Http\\Resources\\ExternalReferenceResource"
},
"created_at": "2025-02-20T10:13:06+00:00",
"updated_at": "2025-02-20T10:13:06+00:00",
"completed_at": "2024-02-20T10:13:06+00:00",
"completed_by": {
"firm": "App\\Http\\Resources\\FirmResource",
"name": "Gareth Thompson",
"role": "client",
"tags": "App\\Http\\Resources\\TagResource",
"type": "client",
"uuid": "8037ad88-ad7b-45a7-a05b-7800f4ff1e16",
"email": "gareth@codepotato.co.uk",
"groups": "App\\Http\\Resources\\GroupResource",
"owners": "App\\Http\\Resources\\AccountResource",
"last_name": "Thompson",
"created_at": "2025-02-20T10:13:06+00:00",
"first_name": "Gareth",
"updated_at": "2025-02-20T10:13:06+00:00",
"with_login": true,
"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-02-20T10:13:06+00:00",
"has_joint_account": true,
"current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
"first_contact_date": "2025-02-20T10:13:06+00:00",
"external_references": "App\\Http\\Resources\\ExternalReferenceResource",
"assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
"previous_review_date": "2025-02-20T10:13:06+00:00",
"primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
"assigned_administrator": "App\\Http\\Resources\\AccountResource",
"anniversary_review_date": "2025-02-20T10:13:06+00:00"
},
"level_string": "Moderately Aggressive",
"time_horizon": "For the next 5 years",
"time_horizon_set_at": "2025-01-20T10:13:06+00:00",
"risk_assessment_provider": "Defaqto"
}