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": "c1d3415f-5181-4085-aa0b-0c3aa7cf5f2b",
"name": "Wealth Management",
"has_alternative_branding": false,
"brand_colours": [],
"members_count": 3,
"members": [
{
"uuid": "4c124447-504d-4378-91d5-8f62e46e31bf",
"created_at": "2026-08-14T11:20:11+01:00",
"updated_at": "2026-08-14T11:20:11+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": "f599b3c8-bdf4-4ef8-8544-eab8ff51e100",
"created_at": "2026-08-14T11:20:18+01:00",
"updated_at": "2026-08-14T11:20:18+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": "259b582c-a78d-44b7-a5b6-cf7cd76f290e",
"created_at": "2026-08-14T11:20:18+01:00",
"updated_at": "2026-08-14T11:20:18+01:00",
"type": "phone_number",
"name": "Work number",
"value": "+443330903630",
"phone_number_meta": {
"country": "GB",
"formatted": "0333 090 3630"
}
},
"primary_email": {
"uuid": "259b582c-a78d-44b7-a5b6-cf7cd76f290e",
"created_at": "2026-08-14T11:20:18+01:00",
"updated_at": "2026-08-14T11:20:18+01:00",
"type": "phone_number",
"name": "Work number",
"value": "+443330903630",
"phone_number_meta": {
"country": "GB",
"formatted": "0333 090 3630"
}
},
"current_time_entry": {
"uuid": "1469b7b5-5fd7-4859-9255-0e6769611e18",
"created_at": "2026-08-14T11:20:18+01:00",
"updated_at": "2026-08-14T11:20:18+01:00",
"name": "Research",
"description": "This is a description.",
"trackable_type": "Client",
"start_date": "2026-08-14T10:30:18+01:00",
"end_date": "2026-08-14T10:58:18+01:00",
"is_active": true,
"total_time_in_minutes": 28,
"computed_time_elapsed_in_seconds": 1680
},
"assigned_adviser": {
"uuid": "d2346226-657c-4af4-bea0-402fab0fdfab",
"created_at": "2026-08-14T11:20:18+01:00",
"updated_at": "2026-08-14T11:20:18+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-08-14T11:20:18+01:00",
"next_review_date": "2026-08-14T11:20:18+01:00",
"previous_review_date": "2026-08-14T11:20:18+01:00",
"anniversary_review_date": "2026-08-14T11:20:18+01:00",
"terms_of_business_at": "2026-08-14T11:20:18+01:00",
"client_agreement_at": "2026-08-14T11:20:18+01:00",
"with_login": true,
"has_joint_account": true,
"can_be_deleted": "false",
"ownership_percentage": 100.0,
"inactive_at": "2026-08-14",
"last_interaction_at": "2026-08-14 11:20:18",
"referral_code": "ABC12345",
"is_out_of_office": true,
"out_of_office_from": "2026-08-14T11:20:18+01:00",
"out_of_office_until": "2026-08-14T11:20:18+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": "d2346226-657c-4af4-bea0-402fab0fdfab",
"created_at": "2026-08-14T11:20:18+01:00",
"updated_at": "2026-08-14T11:20:18+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-08-14T11:20:18+01:00",
"next_review_date": "2026-08-14T11:20:18+01:00",
"previous_review_date": "2026-08-14T11:20:18+01:00",
"anniversary_review_date": "2026-08-14T11:20:18+01:00",
"terms_of_business_at": "2026-08-14T11:20:18+01:00",
"client_agreement_at": "2026-08-14T11:20:18+01:00",
"with_login": true,
"has_joint_account": true,
"can_be_deleted": "false",
"ownership_percentage": 100.0,
"inactive_at": "2026-08-14",
"last_interaction_at": "2026-08-14 11:20:18",
"referral_code": "ABC12345",
"is_out_of_office": true,
"out_of_office_from": "2026-08-14T11:20:18+01:00",
"out_of_office_until": "2026-08-14T11:20:18+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": "d2346226-657c-4af4-bea0-402fab0fdfab",
"created_at": "2026-08-14T11:20:18+01:00",
"updated_at": "2026-08-14T11:20:18+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-08-14T11:20:18+01:00",
"next_review_date": "2026-08-14T11:20:18+01:00",
"previous_review_date": "2026-08-14T11:20:18+01:00",
"anniversary_review_date": "2026-08-14T11:20:18+01:00",
"terms_of_business_at": "2026-08-14T11:20:18+01:00",
"client_agreement_at": "2026-08-14T11:20:18+01:00",
"with_login": true,
"has_joint_account": true,
"can_be_deleted": "false",
"ownership_percentage": 100.0,
"inactive_at": "2026-08-14",
"last_interaction_at": "2026-08-14 11:20:18",
"referral_code": "ABC12345",
"is_out_of_office": true,
"out_of_office_from": "2026-08-14T11:20:18+01:00",
"out_of_office_until": "2026-08-14T11:20:18+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": "d2346226-657c-4af4-bea0-402fab0fdfab",
"created_at": "2026-08-14T11:20:18+01:00",
"updated_at": "2026-08-14T11:20:18+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-08-14T11:20:18+01:00",
"next_review_date": "2026-08-14T11:20:18+01:00",
"previous_review_date": "2026-08-14T11:20:18+01:00",
"anniversary_review_date": "2026-08-14T11:20:18+01:00",
"terms_of_business_at": "2026-08-14T11:20:18+01:00",
"client_agreement_at": "2026-08-14T11:20:18+01:00",
"with_login": true,
"has_joint_account": true,
"can_be_deleted": "false",
"ownership_percentage": 100.0,
"inactive_at": "2026-08-14",
"last_interaction_at": "2026-08-14 11:20:18",
"referral_code": "ABC12345",
"is_out_of_office": true,
"out_of_office_from": "2026-08-14T11:20:18+01:00",
"out_of_office_until": "2026-08-14T11:20:18+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": "453ae7bf-a665-4e7c-9966-57c24156821e",
"name": "Wealth Management",
"has_alternative_branding": false,
"brand_colours": [],
"members_count": 3,
"groups_count": 2,
"created_at": "2026-08-14T11:20:18+01:00",
"updated_at": "2026-08-14T11:20:18+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-08-14T11:20:18+01:00",
"updated_at": "2026-08-14T11:20:18+01:00"
},
"tags": {
"uuid": "ce48289b-7578-48ac-8b06-e124949c7019",
"created_at": "2026-08-14T11:20:18+01:00",
"updated_at": "2026-08-14T11:20:18+01:00",
"name": "Mortgage",
"slug": "mortgage",
"colour": "#ef4582"
},
"owners": {
"uuid": "d2346226-657c-4af4-bea0-402fab0fdfab",
"created_at": "2026-08-14T11:20:18+01:00",
"updated_at": "2026-08-14T11:20:18+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-08-14T11:20:18+01:00",
"next_review_date": "2026-08-14T11:20:18+01:00",
"previous_review_date": "2026-08-14T11:20:18+01:00",
"anniversary_review_date": "2026-08-14T11:20:18+01:00",
"terms_of_business_at": "2026-08-14T11:20:18+01:00",
"client_agreement_at": "2026-08-14T11:20:18+01:00",
"with_login": true,
"has_joint_account": true,
"can_be_deleted": "false",
"ownership_percentage": 100.0,
"inactive_at": "2026-08-14",
"last_interaction_at": "2026-08-14 11:20:18",
"referral_code": "ABC12345",
"is_out_of_office": true,
"out_of_office_from": "2026-08-14T11:20:18+01:00",
"out_of_office_until": "2026-08-14T11:20:18+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-08-14T11:20:11+01:00",
"next_review_date": "2026-08-14T11:20:11+01:00",
"previous_review_date": "2026-08-14T11:20:11+01:00",
"anniversary_review_date": "2026-08-14T11:20:11+01:00",
"terms_of_business_at": "2026-08-14T11:20:11+01:00",
"client_agreement_at": "2026-08-14T11:20:11+01:00",
"with_login": true,
"has_joint_account": true,
"can_be_deleted": "false",
"joint_account_circle": {
"uuid": "001ad30e-9ea9-4dcf-91d3-0bce7cba37d9",
"created_at": "2026-08-14T11:20:18+01:00",
"updated_at": "2026-08-14T11:20:18+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-08-14T11:20:18+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": "d6a9ead9-219a-4d95-b41b-e1d81a64ea55",
"login_access_level": "write",
"current_life_stage_uuid": "6a122ce7-b088-4539-ac9c-86bca76f408f"
},
"circles": {
"uuid": "001ad30e-9ea9-4dcf-91d3-0bce7cba37d9",
"created_at": "2026-08-14T11:20:18+01:00",
"updated_at": "2026-08-14T11:20:18+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-08-14T11:20:18+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": "d6a9ead9-219a-4d95-b41b-e1d81a64ea55",
"login_access_level": "write",
"current_life_stage_uuid": "6a122ce7-b088-4539-ac9c-86bca76f408f"
},
"ownership_percentage": 100,
"inactive_at": "2026-08-14",
"last_interaction_at": "2026-08-14 11:20:11",
"referral_code": "ABC12345",
"is_out_of_office": true,
"out_of_office_from": "2026-08-14T11:20:11+01:00",
"out_of_office_until": "2026-08-14T11:20:11+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"
]
},
"custom_fields": {
"uuid": null,
"created_at": "2026-08-14T11:20:18+01:00",
"updated_at": "2026-08-14T11:20:18+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": "00f4c9a4-102c-49e4-988a-8423e6bf955f",
"created_at": "2026-08-14T11:20:18+01:00",
"updated_at": "2026-08-14T11:20:18+01:00",
"third_party": "nucleus",
"reference": "AB123456"
}
}
],
"groups_count": 2,
"groups": [
{
"uuid": "ce497b46-efc9-43e3-9074-3d802b529e34",
"name": "finance",
"slug": "finance",
"participants_count": "3",
"participants": {
"uuid": {
"example": "08a953b6-d682-4e4e-9c9f-8a502590a922",
"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-08-14T11:20:11+01:00",
"updated_at": "2026-08-14T11:20:11+01:00"
}
],
"firm": {
"uuid": "84da0f22-2415-4b3a-8fb0-a14af37f2160",
"created_at": "2026-08-14T11:20:11+01:00",
"updated_at": "2026-08-14T11:20:11+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": "43537ffa-4109-4eab-beb2-0adaa7b7dea3",
"created_at": "2026-08-14T11:20:18+01:00",
"updated_at": "2026-08-14T11:20:18+01:00",
"enabled": "true",
"trial_ends_at": "2026-08-28",
"trial_ends_in_days": 14,
"payment_confirmed_at": "2026-09-01"
},
"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-08-14T11:20:18+01:00",
"updated_at": "2026-08-14T11:20:18+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-08-14T11:20:11+01:00",
"updated_at": "2026-08-14T11:20:11+01:00"
}
Response examples (422)
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}