Create a mortgage search with the Mortgage Brain provider Run in API Explorer
Ask AI
Body
-
The applicants for the mortgage search. Must be at least one and no more than two.
-
An optional array of case UUIDs to associate to the mortgage search
-
An optional OAuth2 connection UUID to overwrite the default behaviour (which is to pick the first Mortgage Brain OAuth2 connection)
-
This parameter can be used to indicate whether to proceed with creating the mortgage search or not. If false, a 202 response will be returned without creating the search. This can be used to validate the data before continuing.
POST
/api/v1/addons/mortgagebrain/mortgage-search
curl \
--request POST 'https://api.plannrcrm.com/api/v1/addons/mortgagebrain/mortgage-search' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"applicants":[{"title":"mr","salutation":"John","account_uuid":"3dd137e1-4c0e-4dc9-b81b-95e8179a1573","birth_gender":"male","date_of_birth":"1999-01-01","retirement_age":65,"employment_status":"employed","annual_salary_amount":3000000}],"case_uuids":["4b91a2a2-02df-43a3-b751-d36fb7f92f57","8672f1cb-5d85-462d-8203-08c5880efaaa","6ef46b38-52ba-4add-92ff-52b5eb98f441"],"oauth_connection_uuid":"5356afb7-aa3f-4d80-b3a0-e19d0180bcd7","proceed":true}'
Request examples
{
"applicants": [
{
"title": "mr",
"salutation": "John",
"account_uuid": "3dd137e1-4c0e-4dc9-b81b-95e8179a1573",
"birth_gender": "male",
"date_of_birth": "1999-01-01",
"retirement_age": 65,
"employment_status": "employed",
"annual_salary_amount": 3000000
}
],
"case_uuids": [
"4b91a2a2-02df-43a3-b751-d36fb7f92f57",
"8672f1cb-5d85-462d-8203-08c5880efaaa",
"6ef46b38-52ba-4add-92ff-52b5eb98f441"
],
"oauth_connection_uuid": "5356afb7-aa3f-4d80-b3a0-e19d0180bcd7",
"proceed": true
}
Response examples (200)
{
"name": "My Mortgage Search",
"uuid": "7fd883a6-c839-4c5b-aaf8-698deff20c23",
"cases": [
{
"name": "finance",
"slug": "finance",
"type": "App\\Http\\Resources\\CasesTypeResource",
"uuid": "465e45f5-1d8b-4ca6-ae8d-de4bdc30d203",
"plans": "App\\Http\\Resources\\Plans\\PlanResource",
"value": {
"amount": {
"example": "4000",
"description": "Money amount at their lowest denominator (for example: pennies)"
},
"currency": {
"example": "GBP",
"description": "Currency of the money"
},
"formatted": {
"example": "£40.00",
"description": "Money amount formatted with currency"
}
},
"status": "App\\Http\\Resources\\CasesStatusResource",
"review_at": "2026-03-20T13:25:17+00:00",
"created_at": "2026-03-20T13:25:17+00:00",
"updated_at": "2026-03-20T13:25:17+00:00",
"group_uuids": [
"573024b8-1413-4263-a51f-f2ffa196a2d1"
],
"completed_at": "2026-03-20T13:25:17+00:00",
"participants": "App\\Http\\Resources\\AccountResource",
"custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
"status_position": 4,
"task_board_uuid": "6e4e269f-d535-4aa4-8465-917bd5d65302",
"assigned_to_uuids": [
"365268ea-6868-4ef6-8e00-fe2b61f06f60"
],
"participants_count": 4
}
],
"files": [
{
"firm": "App\\Http\\Resources\\FirmResource",
"name": "Welcome to Plannr",
"path": "Gareth Thompson/Subfolder/Welcome to Plannr.pdf",
"size": "21691783",
"tags": "App\\Http\\Resources\\TagResource",
"type": "type",
"uuid": "471a5e3f-cb11-43c1-ba7c-3b54f38d2c20",
"folder": "App\\Http\\Resources\\FolderResource",
"status": "uploaded",
"account": "App\\Http\\Resources\\MinimalAccountResource",
"filename": "Welcome to Plannr.pdf",
"progress": "100",
"extension": "pdf",
"navigator": {
"model_type": "account",
"model_uuid": "00892fcb-085c-4d66-9155-b94513d524bc"
},
"created_at": "2026-03-20T13:25:17+00:00",
"updated_at": "2026-03-20T13:25:17+00:00",
"folder_name": "folder 2",
"uploaded_at": "2026-03-20T13:25:17+00:00",
"documentable": "Object",
"download_url": "https://api.plannrcrm.com/file/2c5e3b32-4584-4d93-8602-4dc2619816df/download",
"last_modified": "2026-03-20T13:25:17+00:00",
"documentable_type": "account",
"original_created_at": "2026-03-20T13:25:17+00:00"
}
],
"status": "pending",
"products": [
{
"uuid": "c55b85c4-e7b9-403d-a058-323ba2244f67",
"files": "App\\Http\\Resources\\FileResource",
"created_at": "2026-03-20T13:25:17+00:00",
"updated_at": "2026-03-20T13:25:17+00:00",
"lender_name": "HSBC",
"product_title": "5% Fixed Rate - 5 year",
"provider_reference": "example-reference",
"provider_scenario_data": [],
"provider_scenario_name": "Single Applicant, Small Deposit"
}
],
"provider": "Mortgage Brain",
"applicants": [
{
"uuid": "42536fc1-5944-4791-abaf-5377f44228c5",
"account": "App\\Http\\Resources\\MinimalAccountResource",
"created_at": "2026-03-20T13:25:17+00:00",
"updated_at": "2026-03-20T13:25:17+00:00"
}
],
"created_at": "2026-03-20T13:25:17+00:00",
"updated_at": "2026-03-20T13:25:17+00:00",
"provider_data": [],
"provider_reference": "123456789"
}