Create a business unit Run in API Explorer
Ask AI
POST
/api/v1/business-units
curl \
--request POST 'https://api.plannrcrm.com/api/v1/business-units' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (201)
{
"uuid": "a6496bd0-012f-4eb4-b0bf-b09788a35539",
"name": "Wealth Management",
"has_alternative_branding": false,
"brand_colours": [],
"members_count": 3,
"members": [
{
"uuid": "d06e25dd-e5cb-4ade-a7f9-5e0c0ee2e1e8",
"created_at": "2026-09-03T15:48:47+01:00",
"updated_at": "2026-09-03T15:48:47+01:00",
"type": "client",
"role": "client",
"first_name": "Gareth",
"last_name": "Thompson",
"name": "Gareth Thompson",
"email": "gareth@codepotato.co.uk",
"photo_url": "https://eu.ui-avatars.com/api/?name=gareth+thompson",
"firm": {
"uuid": "187da239-bd63-4999-b9ca-71aa98d1669c",
"created_at": "2026-09-03T15:48:52+01:00",
"updated_at": "2026-09-03T15:48:52+01:00",
"name": "Codepotato",
"slug": "codepotato",
"address_1": "Suite E, 5 The Briars",
"address_2": "Waterberry Drive",
"town_city": "Waterlooville",
"county": "Hampshire",
"postcode": "PO7 7YH",
"country": "United Kingdom",
"regulatory_text": "Regulatory text",
"logo": "https://api.plannrcrm.com/images/plannr.jpg",
"logo_icon": "https://api.plannrcrm.com/images/plannr-icon.jpg",
"brand_colours": {
"sidebar_background": "#0E0E56",
"sidebar_accent": "#36367E",
"sidebar_text": "#FFFFFF",
"sidebar_hover": "#0A0A42",
"sidebar_active": "#53DBB8",
"sidebar_title_background": "#36367E",
"sidebar_title_primary": "#FFC634",
"sidebar_title_secondary": "#FFFFFF",
"sidebar_title_secondary_hover": "#FFFFFF",
"email_background": "#0E0E56",
"email_logo_background_panel": "#36367E",
"email_sub_text": "#FFFFFF",
"email_button_background": "#36367E",
"email_button_text": "#FFFFFF",
"portal_sidebar_button_background": "#F6F6F6",
"portal_sidebar_button_hover": "#FFFFFF",
"portal_sidebar_button_active": "#FFFFFF",
"portal_brand_title": "#323B4B",
"portal_brand_sub_title": "#828994",
"portal_sidebar_title": "#11151D",
"portal_sidebar_text": "#323B4B",
"portal_sidebar_text_hover": "#323B4B",
"portal_sidebar_text_active": "#323B4B",
"portal_sidebar_icon": "#828994",
"portal_sidebar_icon_hover": "#828994",
"portal_sidebar_icon_active": "#828994",
"portal_background": "#F6F6F6",
"portal_sidebar_account_title": "#11151D",
"portal_sidebar_account_email": "#828994",
"portal_sidebar_divider": "#E3E5E9",
"portal_dashboard_bg_one": "#EF4583",
"portal_dashboard_bg_two": "#FFC634",
"portal_sidebar_collapse_button": "#828994",
"portal_sidebar_collapse_button_hover": "#B3B9C4",
"portal_sidebar_user_select_background": "#F6F6F6",
"portal_sidebar_user_select_hover": "#F6F6F6",
"portal_sidebar_user_select_text": "#323B4B",
"portal_sidebar_user_select_text_hover": "#323B4B",
"portal_sidebar_user_select_border": "#EEEEEE",
"portal_sidebar_user_select_border_hover": "#828994"
},
"is_subscribed": true,
"keep_deleted_files_for": 30,
"tax": 17.5,
"month_end": 25,
"statement_frequency": "monthly",
"billing": {
"invoice_address_1": "Suite E, 5 The Briars",
"invoice_address_2": "Waterberry Drive",
"invoice_town_city": "Waterlooville",
"invoice_county": "Hampshire",
"invoice_postcode": "PO7 7YH",
"invoice_country": "United Kingdom",
"invoice_email": "gareth@codepotato.co.uk"
},
"ip_whitelist": [
"192.168.0.1",
"127.0.0.1"
],
"welcome_paragraph_html": "<h1>Welcome.</h1>",
"email_welcome_paragraph_html": "Welcome to Plannr!",
"show_fact_find_illustrations": true,
"cc_email_addresses": [
"jack@example.com",
"jill@example.com"
],
"bcc_email_addresses": [
"jack@example.com",
"jill@example.com"
],
"reply_to_email_address": "jack@example.com",
"mobile_app_support_number": "01234 567890",
"mobile_app_support_email": "support@example.com"
},
"primary_phone_number": {
"uuid": "02932e29-8978-4f21-90ce-2eda8c3cdb77",
"created_at": "2026-09-03T15:48:52+01:00",
"updated_at": "2026-09-03T15:48:52+01:00",
"type": "phone_number",
"name": "Work number",
"value": "+443330903630",
"phone_number_meta": {
"country": "GB",
"formatted": "0333 090 3630"
}
},
"primary_email": {
"uuid": "02932e29-8978-4f21-90ce-2eda8c3cdb77",
"created_at": "2026-09-03T15:48:52+01:00",
"updated_at": "2026-09-03T15:48:52+01:00",
"type": "phone_number",
"name": "Work number",
"value": "+443330903630",
"phone_number_meta": {
"country": "GB",
"formatted": "0333 090 3630"
}
},
"current_time_entry": {
"uuid": "263b0472-f777-42be-a01c-a1fbc87c182d",
"created_at": "2026-09-03T15:48:52+01:00",
"updated_at": "2026-09-03T15:48:52+01:00",
"name": "Research",
"description": "This is a description.",
"trackable_type": "Client",
"start_date": "2026-09-03T14:58:52+01:00",
"end_date": "2026-09-03T15:26:52+01:00",
"is_active": true,
"total_time_in_minutes": 28,
"computed_time_elapsed_in_seconds": 1680
},
"assigned_adviser": {
"uuid": "d81ec8f0-79fc-4bde-9a72-999265a79d9a",
"created_at": "2026-09-03T15:48:52+01:00",
"updated_at": "2026-09-03T15:48:52+01:00",
"type": "client",
"role": "client",
"first_name": "Gareth",
"last_name": "Thompson",
"name": "Gareth Thompson",
"email": "gareth@codepotato.co.uk",
"photo_url": "https://eu.ui-avatars.com/api/?name=gareth+thompson",
"first_contact_date": "2026-09-03T15:48:52+01:00",
"next_review_date": "2026-09-03T15:48:52+01:00",
"previous_review_date": "2026-09-03T15:48:52+01:00",
"anniversary_review_date": "2026-09-03T15:48:52+01:00",
"terms_of_business_at": "2026-09-03T15:48:52+01:00",
"client_agreement_at": "2026-09-03T15:48:52+01:00",
"with_login": true,
"has_joint_account": true,
"can_be_deleted": "false",
"ownership_percentage": 100.0,
"inactive_at": "2026-09-03",
"last_interaction_at": "2026-09-03 15:48:52",
"referral_code": "ABC12345",
"is_out_of_office": true,
"out_of_office_from": "2026-09-03T15:48:52+01:00",
"out_of_office_until": "2026-09-03T15:48:52+01:00",
"out_of_office_message": "I am away this week. For urgent matters please contact the office.",
"permissions": {
"firm:read": [
"firm"
],
"network:read": [
"network:uuid"
]
}
},
"assigned_administrator": {
"uuid": "d81ec8f0-79fc-4bde-9a72-999265a79d9a",
"created_at": "2026-09-03T15:48:52+01:00",
"updated_at": "2026-09-03T15:48:52+01:00",
"type": "client",
"role": "client",
"first_name": "Gareth",
"last_name": "Thompson",
"name": "Gareth Thompson",
"email": "gareth@codepotato.co.uk",
"photo_url": "https://eu.ui-avatars.com/api/?name=gareth+thompson",
"first_contact_date": "2026-09-03T15:48:52+01:00",
"next_review_date": "2026-09-03T15:48:52+01:00",
"previous_review_date": "2026-09-03T15:48:52+01:00",
"anniversary_review_date": "2026-09-03T15:48:52+01:00",
"terms_of_business_at": "2026-09-03T15:48:52+01:00",
"client_agreement_at": "2026-09-03T15:48:52+01:00",
"with_login": true,
"has_joint_account": true,
"can_be_deleted": "false",
"ownership_percentage": 100.0,
"inactive_at": "2026-09-03",
"last_interaction_at": "2026-09-03 15:48:52",
"referral_code": "ABC12345",
"is_out_of_office": true,
"out_of_office_from": "2026-09-03T15:48:52+01:00",
"out_of_office_until": "2026-09-03T15:48:52+01:00",
"out_of_office_message": "I am away this week. For urgent matters please contact the office.",
"permissions": {
"firm:read": [
"firm"
],
"network:read": [
"network:uuid"
]
}
},
"assigned_paraplanner": {
"uuid": "d81ec8f0-79fc-4bde-9a72-999265a79d9a",
"created_at": "2026-09-03T15:48:52+01:00",
"updated_at": "2026-09-03T15:48:52+01:00",
"type": "client",
"role": "client",
"first_name": "Gareth",
"last_name": "Thompson",
"name": "Gareth Thompson",
"email": "gareth@codepotato.co.uk",
"photo_url": "https://eu.ui-avatars.com/api/?name=gareth+thompson",
"first_contact_date": "2026-09-03T15:48:52+01:00",
"next_review_date": "2026-09-03T15:48:52+01:00",
"previous_review_date": "2026-09-03T15:48:52+01:00",
"anniversary_review_date": "2026-09-03T15:48:52+01:00",
"terms_of_business_at": "2026-09-03T15:48:52+01:00",
"client_agreement_at": "2026-09-03T15:48:52+01:00",
"with_login": true,
"has_joint_account": true,
"can_be_deleted": "false",
"ownership_percentage": 100.0,
"inactive_at": "2026-09-03",
"last_interaction_at": "2026-09-03 15:48:52",
"referral_code": "ABC12345",
"is_out_of_office": true,
"out_of_office_from": "2026-09-03T15:48:52+01:00",
"out_of_office_until": "2026-09-03T15:48:52+01:00",
"out_of_office_message": "I am away this week. For urgent matters please contact the office.",
"permissions": {
"firm:read": [
"firm"
],
"network:read": [
"network:uuid"
]
}
},
"introduced_by": {
"uuid": "d81ec8f0-79fc-4bde-9a72-999265a79d9a",
"created_at": "2026-09-03T15:48:52+01:00",
"updated_at": "2026-09-03T15:48:52+01:00",
"type": "client",
"role": "client",
"first_name": "Gareth",
"last_name": "Thompson",
"name": "Gareth Thompson",
"email": "gareth@codepotato.co.uk",
"photo_url": "https://eu.ui-avatars.com/api/?name=gareth+thompson",
"first_contact_date": "2026-09-03T15:48:52+01:00",
"next_review_date": "2026-09-03T15:48:52+01:00",
"previous_review_date": "2026-09-03T15:48:52+01:00",
"anniversary_review_date": "2026-09-03T15:48:52+01:00",
"terms_of_business_at": "2026-09-03T15:48:52+01:00",
"client_agreement_at": "2026-09-03T15:48:52+01:00",
"with_login": true,
"has_joint_account": true,
"can_be_deleted": "false",
"ownership_percentage": 100.0,
"inactive_at": "2026-09-03",
"last_interaction_at": "2026-09-03 15:48:52",
"referral_code": "ABC12345",
"is_out_of_office": true,
"out_of_office_from": "2026-09-03T15:48:52+01:00",
"out_of_office_until": "2026-09-03T15:48:52+01:00",
"out_of_office_message": "I am away this week. For urgent matters please contact the office.",
"permissions": {
"firm:read": [
"firm"
],
"network:read": [
"network:uuid"
]
}
},
"business_unit": {
"uuid": "7f9bf6a9-9aaa-4968-ac86-72ee048e86cb",
"name": "Wealth Management",
"has_alternative_branding": false,
"brand_colours": [],
"members_count": 3,
"groups_count": 2,
"created_at": "2026-09-03T15:48:52+01:00",
"updated_at": "2026-09-03T15:48:52+01:00"
},
"groups": {
"uuid": null,
"name": "finance",
"slug": "finance",
"participants_count": "3",
"participants": {
"uuid": {
"example": null,
"description": "UUID of the account"
},
"role": {
"example": "client",
"description": "Role of the account"
},
"first_name": {
"example": "Gareth",
"description": "First name of the account"
},
"last_name": {
"example": "Thompson",
"description": "Last name of the account"
},
"name": {
"example": "Gareth Thompson",
"description": "Name of the account"
},
"email": {
"example": "gareth@codepotato.co.uk",
"description": "Email of the account"
}
},
"created_at": "2026-09-03T15:48:52+01:00",
"updated_at": "2026-09-03T15:48:52+01:00"
},
"tags": {
"uuid": "d477a603-539b-441e-8fb9-590ad1e62f22",
"created_at": "2026-09-03T15:48:52+01:00",
"updated_at": "2026-09-03T15:48:52+01:00",
"name": "Mortgage",
"slug": "mortgage",
"colour": "#ef4582"
},
"owners": {
"uuid": "d81ec8f0-79fc-4bde-9a72-999265a79d9a",
"created_at": "2026-09-03T15:48:52+01:00",
"updated_at": "2026-09-03T15:48:52+01:00",
"type": "client",
"role": "client",
"first_name": "Gareth",
"last_name": "Thompson",
"name": "Gareth Thompson",
"email": "gareth@codepotato.co.uk",
"photo_url": "https://eu.ui-avatars.com/api/?name=gareth+thompson",
"first_contact_date": "2026-09-03T15:48:52+01:00",
"next_review_date": "2026-09-03T15:48:52+01:00",
"previous_review_date": "2026-09-03T15:48:52+01:00",
"anniversary_review_date": "2026-09-03T15:48:52+01:00",
"terms_of_business_at": "2026-09-03T15:48:52+01:00",
"client_agreement_at": "2026-09-03T15:48:52+01:00",
"with_login": true,
"has_joint_account": true,
"can_be_deleted": "false",
"ownership_percentage": 100.0,
"inactive_at": "2026-09-03",
"last_interaction_at": "2026-09-03 15:48:52",
"referral_code": "ABC12345",
"is_out_of_office": true,
"out_of_office_from": "2026-09-03T15:48:52+01:00",
"out_of_office_until": "2026-09-03T15:48:52+01:00",
"out_of_office_message": "I am away this week. For urgent matters please contact the office.",
"permissions": {
"firm:read": [
"firm"
],
"network:read": [
"network:uuid"
]
}
},
"first_contact_date": "2026-09-03T15:48:47+01:00",
"next_review_date": "2026-09-03T15:48:47+01:00",
"previous_review_date": "2026-09-03T15:48:47+01:00",
"anniversary_review_date": "2026-09-03T15:48:47+01:00",
"terms_of_business_at": "2026-09-03T15:48:47+01:00",
"client_agreement_at": "2026-09-03T15:48:47+01:00",
"with_login": true,
"has_joint_account": true,
"can_be_deleted": "false",
"joint_account_circle": {
"uuid": "2e8f004b-f530-470b-a1af-c824137bfdf4",
"created_at": "2026-09-03T15:48:52+01:00",
"updated_at": "2026-09-03T15:48:52+01:00",
"name": "Jones Family",
"photo_url": "https://eu.ui-avatars.com/api/?name=jones+family",
"bg_colour": "#35f4e1",
"has_portal_access": true,
"portal_access_status": "active",
"engagement_rating": "green",
"last_login": {
"logged_in_at": "2026-09-03T15:48:52+01:00",
"account_uuid": "uuid",
"account_name": "John Smith",
"device_type": "desktop",
"device_platform": "macos"
},
"portal_login_count_30d": 5,
"portal_login_count_90d": 12,
"portal_login_count_365d": 48,
"joint_account_uuid": "d3be9759-dd93-4397-9acd-278d40bf23c0",
"login_access_level": "write",
"current_life_stage_uuid": "bd54b4e1-f888-4d5c-b27f-b34603e22581"
},
"circles": {
"uuid": "2e8f004b-f530-470b-a1af-c824137bfdf4",
"created_at": "2026-09-03T15:48:52+01:00",
"updated_at": "2026-09-03T15:48:52+01:00",
"name": "Jones Family",
"photo_url": "https://eu.ui-avatars.com/api/?name=jones+family",
"bg_colour": "#35f4e1",
"has_portal_access": true,
"portal_access_status": "active",
"engagement_rating": "green",
"last_login": {
"logged_in_at": "2026-09-03T15:48:52+01:00",
"account_uuid": "uuid",
"account_name": "John Smith",
"device_type": "desktop",
"device_platform": "macos"
},
"portal_login_count_30d": 5,
"portal_login_count_90d": 12,
"portal_login_count_365d": 48,
"joint_account_uuid": "d3be9759-dd93-4397-9acd-278d40bf23c0",
"login_access_level": "write",
"current_life_stage_uuid": "bd54b4e1-f888-4d5c-b27f-b34603e22581"
},
"ownership_percentage": 100,
"inactive_at": "2026-09-03",
"last_interaction_at": "2026-09-03 15:48:47",
"referral_code": "ABC12345",
"is_out_of_office": true,
"out_of_office_from": "2026-09-03T15:48:47+01:00",
"out_of_office_until": "2026-09-03T15:48:47+01:00",
"out_of_office_message": "I am away this week. For urgent matters please contact the office.",
"service_level": {
"uuid": "b00dbc7c-2db1-4373-bd53-532814a0c379",
"name": "Gold",
"created_at": "2026-09-03T15:48:52+01:00",
"updated_at": "2026-09-03T15:48:52+01:00"
},
"permissions": {
"firm:read": [
"firm"
],
"network:read": [
"network:uuid"
]
},
"custom_fields": {
"uuid": null,
"created_at": "2026-09-03T15:48:52+01:00",
"updated_at": "2026-09-03T15:48:52+01:00",
"type": "string",
"name": "Favourite Drink",
"reference": "favourite_drink",
"is_required": false,
"value": "Coffee",
"selection_options": [
"Coffee",
"Tea",
"Water"
],
"help_text": "This is the client's favourite drink."
},
"external_references": {
"uuid": "e146bc13-e5bd-4b7c-b5a4-33ece9477c98",
"created_at": "2026-09-03T15:48:52+01:00",
"updated_at": "2026-09-03T15:48:52+01:00",
"third_party": "nucleus",
"reference": "AB123456"
}
}
],
"groups_count": 2,
"groups": [
{
"uuid": "13d149b1-c141-4858-9ebc-82186baa41e7",
"name": "finance",
"slug": "finance",
"participants_count": "3",
"participants": {
"uuid": {
"example": "b94b6ace-1c39-4e41-96fe-671a0043745e",
"description": "UUID of the account"
},
"role": {
"example": "client",
"description": "Role of the account"
},
"first_name": {
"example": "Gareth",
"description": "First name of the account"
},
"last_name": {
"example": "Thompson",
"description": "Last name of the account"
},
"name": {
"example": "Gareth Thompson",
"description": "Name of the account"
},
"email": {
"example": "gareth@codepotato.co.uk",
"description": "Email of the account"
}
},
"created_at": "2026-09-03T15:48:47+01:00",
"updated_at": "2026-09-03T15:48:47+01:00"
}
],
"firm": {
"uuid": "57bb576c-4942-404a-bc0e-351043a0d998",
"created_at": "2026-09-03T15:48:47+01:00",
"updated_at": "2026-09-03T15:48:47+01:00",
"name": "Codepotato",
"slug": "codepotato",
"address_1": "Suite E, 5 The Briars",
"address_2": "Waterberry Drive",
"town_city": "Waterlooville",
"county": "Hampshire",
"postcode": "PO7 7YH",
"country": "United Kingdom",
"regulatory_text": "Regulatory text",
"logo": "https://api.plannrcrm.com/images/plannr.jpg",
"logo_icon": "https://api.plannrcrm.com/images/plannr-icon.jpg",
"brand_colours": {
"sidebar_background": "#0E0E56",
"sidebar_accent": "#36367E",
"sidebar_text": "#FFFFFF",
"sidebar_hover": "#0A0A42",
"sidebar_active": "#53DBB8",
"sidebar_title_background": "#36367E",
"sidebar_title_primary": "#FFC634",
"sidebar_title_secondary": "#FFFFFF",
"sidebar_title_secondary_hover": "#FFFFFF",
"email_background": "#0E0E56",
"email_logo_background_panel": "#36367E",
"email_sub_text": "#FFFFFF",
"email_button_background": "#36367E",
"email_button_text": "#FFFFFF",
"portal_sidebar_button_background": "#F6F6F6",
"portal_sidebar_button_hover": "#FFFFFF",
"portal_sidebar_button_active": "#FFFFFF",
"portal_brand_title": "#323B4B",
"portal_brand_sub_title": "#828994",
"portal_sidebar_title": "#11151D",
"portal_sidebar_text": "#323B4B",
"portal_sidebar_text_hover": "#323B4B",
"portal_sidebar_text_active": "#323B4B",
"portal_sidebar_icon": "#828994",
"portal_sidebar_icon_hover": "#828994",
"portal_sidebar_icon_active": "#828994",
"portal_background": "#F6F6F6",
"portal_sidebar_account_title": "#11151D",
"portal_sidebar_account_email": "#828994",
"portal_sidebar_divider": "#E3E5E9",
"portal_dashboard_bg_one": "#EF4583",
"portal_dashboard_bg_two": "#FFC634",
"portal_sidebar_collapse_button": "#828994",
"portal_sidebar_collapse_button_hover": "#B3B9C4",
"portal_sidebar_user_select_background": "#F6F6F6",
"portal_sidebar_user_select_hover": "#F6F6F6",
"portal_sidebar_user_select_text": "#323B4B",
"portal_sidebar_user_select_text_hover": "#323B4B",
"portal_sidebar_user_select_border": "#EEEEEE",
"portal_sidebar_user_select_border_hover": "#828994"
},
"is_subscribed": true,
"addon_subscriptions": {
"uuid": "47941685-6c17-4b19-be11-89fa9e0057ea",
"created_at": "2026-09-03T15:48:52+01:00",
"updated_at": "2026-09-03T15:48:52+01:00",
"enabled": "true",
"trial_ends_at": "2026-09-17",
"trial_ends_in_days": 14,
"payment_confirmed_at": "2026-09-21"
},
"keep_deleted_files_for": 30,
"tax": 17.5,
"month_end": 25,
"statement_frequency": "monthly",
"billing": {
"invoice_address_1": "Suite E, 5 The Briars",
"invoice_address_2": "Waterberry Drive",
"invoice_town_city": "Waterlooville",
"invoice_county": "Hampshire",
"invoice_postcode": "PO7 7YH",
"invoice_country": "United Kingdom",
"invoice_email": "gareth@codepotato.co.uk"
},
"task_board_template": {
"uuid": null,
"created_at": "2026-09-03T15:48:52+01:00",
"updated_at": "2026-09-03T15:48:52+01:00",
"is_template": false,
"name": "Task Board",
"default_list_uuid": null,
"is_editable": true,
"priorities": [
{
"name": "High",
"value": "high"
},
{
"name": "Low",
"value": "low"
}
]
},
"ip_whitelist": [
"192.168.0.1",
"127.0.0.1"
],
"welcome_paragraph_html": "<h1>Welcome.</h1>",
"email_welcome_paragraph_html": "Welcome to Plannr!",
"show_fact_find_illustrations": true,
"cc_email_addresses": [
"jack@example.com",
"jill@example.com"
],
"bcc_email_addresses": [
"jack@example.com",
"jill@example.com"
],
"reply_to_email_address": "jack@example.com",
"mobile_app_support_number": "01234 567890",
"mobile_app_support_email": "support@example.com"
},
"created_at": "2026-09-03T15:48:47+01:00",
"updated_at": "2026-09-03T15:48:47+01:00"
}
Response examples (422)
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}