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","account_uuid":"cbc0e442-c2fb-49ed-a5ec-51d67b865f72"}],"case_uuids":["cc19616d-5beb-4671-b645-614d0ac43312","3ab98bc7-1a54-4c48-bb43-d529becbcab1","e9cbdc27-d47d-4836-b12c-4c5f3c762a9f"],"oauth_connection_uuid":"25bb55ee-4829-400e-aaf3-a5a12f50616a","proceed":true}'
Request examples
{
"applicants": [
{
"title": "mr",
"account_uuid": "cbc0e442-c2fb-49ed-a5ec-51d67b865f72"
}
],
"case_uuids": [
"cc19616d-5beb-4671-b645-614d0ac43312",
"3ab98bc7-1a54-4c48-bb43-d529becbcab1",
"e9cbdc27-d47d-4836-b12c-4c5f3c762a9f"
],
"oauth_connection_uuid": "25bb55ee-4829-400e-aaf3-a5a12f50616a",
"proceed": true
}
Response examples (200)
{
"uuid": "da908778-c446-4164-b331-d55f79acf2ee",
"cases": [
{
"name": "finance",
"slug": "finance",
"type": "App\\Http\\Resources\\CasesTypeResource",
"uuid": "c6695af2-5f2c-4488-abf9-ea122bb40993",
"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-01-19T20:52:27+00:00",
"created_at": "2026-01-19T20:52:27+00:00",
"updated_at": "2026-01-19T20:52:27+00:00",
"group_uuids": [
"db3898c2-633b-4df9-ba5b-2e103dde7c56"
],
"completed_at": "2026-01-19T20:52:27+00:00",
"participants": "App\\Http\\Resources\\AccountResource",
"custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
"status_position": 4,
"task_board_uuid": "a9997bef-d40e-4832-9e47-1096067ad7b7",
"assigned_to_uuids": [
"32202154-cbd5-4812-93ae-bdf04afc13eb"
],
"participants_count": 4
}
],
"status": "pending",
"provider": "Mortgage Brain",
"applicants": [
{
"uuid": "c5652c2c-f92e-4573-bc55-47769b808cad",
"account": "App\\Http\\Resources\\MinimalAccountResource",
"created_at": "2026-01-19T20:52:27+00:00",
"updated_at": "2026-01-19T20:52:27+00:00"
}
],
"created_at": "2026-01-19T20:52:27+00:00",
"updated_at": "2026-01-19T20:52:27+00:00",
"provider_data": [],
"provider_reference": "123456789"
}