Introduction
This documentation aims to provide all the information you need to work with our API.
<aside>As you scroll, you'll see code examples for working with the API in different programming languages in the dark area to the right (or as part of the content on mobile).
You can switch the language used with the tabs at the top right (or from the nav menu at the top left on mobile).</aside>
Authenticating requests
This API is not authenticated.
Broker Sync
Manually sync brokers from Zoho CRM.
requires authentication
Example request:
curl --request POST \
"http://finweb-api.test/api/admin/brokers/sync" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://finweb-api.test/api/admin/brokers/sync"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Example response (200):
{
"data": {
"message": "Zoho broker sync completed.",
"summary": {
"total": 10,
"created": 2,
"updated": 8,
"skipped": 0,
"failed": 0
}
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get latest broker sync status.
requires authentication
Example request:
curl --request GET \
--get "http://finweb-api.test/api/admin/brokers/sync-status" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://finweb-api.test/api/admin/brokers/sync-status"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
{
"data": {
"id": 1,
"broker_id": null,
"action": "zoho.sync",
"status": "success",
"source_system": "zoho",
"message": "Zoho broker sync completed.",
"created_at": "2026-04-09T10:12:30Z"
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get broker logs.
requires authentication
Example request:
curl --request GET \
--get "http://finweb-api.test/api/admin/brokers/16/logs" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"per_page\": 1
}"
const url = new URL(
"http://finweb-api.test/api/admin/brokers/16/logs"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"per_page": 1
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"data": [
{
"id": 1,
"broker_id": 5,
"action": "zoho.sync.record",
"status": "success",
"source_system": "zoho",
"message": "Zoho broker record updated.",
"created_at": "2026-04-09T10:12:30Z"
}
]
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Endpoints
POST api/register
Example request:
curl --request POST \
"http://finweb-api.test/api/register" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"email\": \"zbailey@example.net\",
\"password\": \"-0pBNvYgxw\"
}"
const url = new URL(
"http://finweb-api.test/api/register"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"email": "zbailey@example.net",
"password": "-0pBNvYgxw"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/login
Example request:
curl --request POST \
"http://finweb-api.test/api/login" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"gbailey@example.net\",
\"password\": \"|]|{+-\",
\"remember\": true
}"
const url = new URL(
"http://finweb-api.test/api/login"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "gbailey@example.net",
"password": "|]|{+-",
"remember": true
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/brokers
Example request:
curl --request GET \
--get "http://finweb-api.test/api/brokers" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://finweb-api.test/api/brokers"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"data": []
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/brokers/{slug}
Example request:
curl --request GET \
--get "http://finweb-api.test/api/brokers/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://finweb-api.test/api/brokers/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Broker not found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/insights
Example request:
curl --request GET \
--get "http://finweb-api.test/api/insights" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://finweb-api.test/api/insights"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"data": []
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/insights/{slug}
Example request:
curl --request GET \
--get "http://finweb-api.test/api/insights/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://finweb-api.test/api/insights/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Insight not found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/join-us
Example request:
curl --request POST \
"http://finweb-api.test/api/join-us" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"first_name\": \"b\",
\"last_name\": \"n\",
\"email\": \"ashly64@example.com\",
\"mobile\": \"v\",
\"state\": \"d\",
\"enquiry_type\": \"l\",
\"message\": \"architecto\",
\"source\": \"n\"
}"
const url = new URL(
"http://finweb-api.test/api/join-us"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"first_name": "b",
"last_name": "n",
"email": "ashly64@example.com",
"mobile": "v",
"state": "d",
"enquiry_type": "l",
"message": "architecto",
"source": "n"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/get-in-touch
Example request:
curl --request POST \
"http://finweb-api.test/api/get-in-touch" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"email\": \"zbailey@example.net\",
\"message\": \"architecto\",
\"source\": \"n\"
}"
const url = new URL(
"http://finweb-api.test/api/get-in-touch"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"email": "zbailey@example.net",
"message": "architecto",
"source": "n"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/me
Example request:
curl --request GET \
--get "http://finweb-api.test/api/me" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://finweb-api.test/api/me"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/me
Example request:
curl --request PUT \
"http://finweb-api.test/api/me" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"email\": \"zbailey@example.net\"
}"
const url = new URL(
"http://finweb-api.test/api/me"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"email": "zbailey@example.net"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/me/avatar
Example request:
curl --request POST \
"http://finweb-api.test/api/me/avatar" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "avatar=@C:\Users\paolo\AppData\Local\Temp\php267D.tmp" \
--form "avatars[]=@C:\Users\paolo\AppData\Local\Temp\php267E.tmp" const url = new URL(
"http://finweb-api.test/api/me/avatar"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('avatar', document.querySelector('input[name="avatar"]').files[0]);
body.append('avatars[]', document.querySelector('input[name="avatars[]"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/logout
Example request:
curl --request POST \
"http://finweb-api.test/api/logout" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://finweb-api.test/api/logout"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/auth/password
Example request:
curl --request PUT \
"http://finweb-api.test/api/auth/password" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"current_password\": \"architecto\",
\"password\": \"]|{+-0pBNvYg\"
}"
const url = new URL(
"http://finweb-api.test/api/auth/password"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"current_password": "architecto",
"password": "]|{+-0pBNvYg"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/dashboard/metrics
Example request:
curl --request GET \
--get "http://finweb-api.test/api/dashboard/metrics" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://finweb-api.test/api/dashboard/metrics"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/admin/brokers
Example request:
curl --request GET \
--get "http://finweb-api.test/api/admin/brokers" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"search\": \"b\",
\"status\": \"pending\",
\"active\": true,
\"approved\": true,
\"per_page\": 22,
\"page\": 67,
\"sort\": \"z\"
}"
const url = new URL(
"http://finweb-api.test/api/admin/brokers"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"search": "b",
"status": "pending",
"active": true,
"approved": true,
"per_page": 22,
"page": 67,
"sort": "z"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/admin/brokers
Example request:
curl --request POST \
"http://finweb-api.test/api/admin/brokers" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"email\": \"zbailey@example.net\",
\"password\": \"-0pBNvYgxw\",
\"slug\": \"a\",
\"profile_url\": \"http:\\/\\/breitenberg.com\\/nostrum-aut-adipisci-quidem-nostrum.html\",
\"featured_image\": \"l\",
\"avatar\": \"v\",
\"company_name\": \"q\",
\"phone\": \"w\",
\"license_no\": \"r\",
\"active\": true,
\"profile_content\": {
\"intro\": {
\"headline\": \"s\",
\"paragraphs\": [
\"architecto\"
],
\"ctaLabel\": \"n\"
},
\"homeLoans\": {
\"title\": \"g\",
\"description\": \"Eius et animi quos velit et.\",
\"highlights\": [
\"v\"
],
\"accordion\": [
{
\"title\": \"y\",
\"body\": \"architecto\",
\"embed\": {
\"iframeUrl\": \"http:\\/\\/bailey.com\\/\",
\"height\": 17,
\"allow\": \"i\",
\"scrolling\": \"yes\"
}
}
]
},
\"commercialLoans\": {
\"title\": \"d\",
\"description\": \"Eius et animi quos velit et.\",
\"highlights\": [
\"v\"
],
\"accordion\": [
{
\"title\": \"y\",
\"body\": \"architecto\",
\"embed\": {
\"iframeUrl\": \"http:\\/\\/bailey.com\\/\",
\"height\": 17,
\"allow\": \"i\",
\"scrolling\": \"auto\"
}
}
]
},
\"otherLoans\": {
\"title\": \"d\",
\"description\": \"Eius et animi quos velit et.\",
\"highlights\": [
\"v\"
],
\"accordion\": [
{
\"title\": \"y\",
\"body\": \"architecto\",
\"embed\": {
\"iframeUrl\": \"http:\\/\\/bailey.com\\/\",
\"height\": 17,
\"allow\": \"i\",
\"scrolling\": \"no\"
}
}
]
},
\"contact\": {
\"mapEmbedUrl\": \"http:\\/\\/www.dach.com\\/mollitia-modi-deserunt-aut-ab-provident-perspiciatis-quo.html\"
},
\"sections\": [
{
\"title\": \"m\",
\"description\": \"Eius et animi quos velit et.\",
\"highlights\": [
\"v\"
],
\"accordion\": [
{
\"title\": \"d\",
\"body\": \"architecto\",
\"embed\": {
\"iframeUrl\": \"http:\\/\\/bailey.com\\/\",
\"height\": 17,
\"allow\": \"i\",
\"scrolling\": \"no\"
}
}
]
}
]
}
}"
const url = new URL(
"http://finweb-api.test/api/admin/brokers"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"email": "zbailey@example.net",
"password": "-0pBNvYgxw",
"slug": "a",
"profile_url": "http:\/\/breitenberg.com\/nostrum-aut-adipisci-quidem-nostrum.html",
"featured_image": "l",
"avatar": "v",
"company_name": "q",
"phone": "w",
"license_no": "r",
"active": true,
"profile_content": {
"intro": {
"headline": "s",
"paragraphs": [
"architecto"
],
"ctaLabel": "n"
},
"homeLoans": {
"title": "g",
"description": "Eius et animi quos velit et.",
"highlights": [
"v"
],
"accordion": [
{
"title": "y",
"body": "architecto",
"embed": {
"iframeUrl": "http:\/\/bailey.com\/",
"height": 17,
"allow": "i",
"scrolling": "yes"
}
}
]
},
"commercialLoans": {
"title": "d",
"description": "Eius et animi quos velit et.",
"highlights": [
"v"
],
"accordion": [
{
"title": "y",
"body": "architecto",
"embed": {
"iframeUrl": "http:\/\/bailey.com\/",
"height": 17,
"allow": "i",
"scrolling": "auto"
}
}
]
},
"otherLoans": {
"title": "d",
"description": "Eius et animi quos velit et.",
"highlights": [
"v"
],
"accordion": [
{
"title": "y",
"body": "architecto",
"embed": {
"iframeUrl": "http:\/\/bailey.com\/",
"height": 17,
"allow": "i",
"scrolling": "no"
}
}
]
},
"contact": {
"mapEmbedUrl": "http:\/\/www.dach.com\/mollitia-modi-deserunt-aut-ab-provident-perspiciatis-quo.html"
},
"sections": [
{
"title": "m",
"description": "Eius et animi quos velit et.",
"highlights": [
"v"
],
"accordion": [
{
"title": "d",
"body": "architecto",
"embed": {
"iframeUrl": "http:\/\/bailey.com\/",
"height": 17,
"allow": "i",
"scrolling": "no"
}
}
]
}
]
}
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/admin/brokers/{broker_id}
Example request:
curl --request GET \
--get "http://finweb-api.test/api/admin/brokers/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://finweb-api.test/api/admin/brokers/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/admin/brokers/{broker_id}
Example request:
curl --request PUT \
"http://finweb-api.test/api/admin/brokers/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"email\": \"zbailey@example.net\",
\"password\": \"-0pBNvYgxw\",
\"slug\": \"a\",
\"profile_url\": \"http:\\/\\/breitenberg.com\\/nostrum-aut-adipisci-quidem-nostrum.html\",
\"featured_image\": \"l\",
\"avatar\": \"v\",
\"company_name\": \"q\",
\"phone\": \"w\",
\"license_no\": \"r\",
\"active\": false,
\"approved\": true,
\"profile_content\": {
\"intro\": {
\"headline\": \"s\",
\"paragraphs\": [
\"architecto\"
],
\"ctaLabel\": \"n\"
},
\"homeLoans\": {
\"title\": \"g\",
\"description\": \"Eius et animi quos velit et.\",
\"highlights\": [
\"v\"
],
\"accordion\": [
{
\"title\": \"y\",
\"body\": \"architecto\",
\"embed\": {
\"iframeUrl\": \"http:\\/\\/bailey.com\\/\",
\"height\": 17,
\"allow\": \"i\",
\"scrolling\": \"auto\"
}
}
]
},
\"commercialLoans\": {
\"title\": \"d\",
\"description\": \"Eius et animi quos velit et.\",
\"highlights\": [
\"v\"
],
\"accordion\": [
{
\"title\": \"y\",
\"body\": \"architecto\",
\"embed\": {
\"iframeUrl\": \"http:\\/\\/bailey.com\\/\",
\"height\": 17,
\"allow\": \"i\",
\"scrolling\": \"yes\"
}
}
]
},
\"otherLoans\": {
\"title\": \"d\",
\"description\": \"Eius et animi quos velit et.\",
\"highlights\": [
\"v\"
],
\"accordion\": [
{
\"title\": \"y\",
\"body\": \"architecto\",
\"embed\": {
\"iframeUrl\": \"http:\\/\\/bailey.com\\/\",
\"height\": 17,
\"allow\": \"i\",
\"scrolling\": \"yes\"
}
}
]
},
\"contact\": {
\"mapEmbedUrl\": \"http:\\/\\/www.dach.com\\/mollitia-modi-deserunt-aut-ab-provident-perspiciatis-quo.html\"
},
\"sections\": [
{
\"title\": \"m\",
\"description\": \"Eius et animi quos velit et.\",
\"highlights\": [
\"v\"
],
\"accordion\": [
{
\"title\": \"d\",
\"body\": \"architecto\",
\"embed\": {
\"iframeUrl\": \"http:\\/\\/bailey.com\\/\",
\"height\": 17,
\"allow\": \"i\",
\"scrolling\": \"yes\"
}
}
]
}
]
}
}"
const url = new URL(
"http://finweb-api.test/api/admin/brokers/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"email": "zbailey@example.net",
"password": "-0pBNvYgxw",
"slug": "a",
"profile_url": "http:\/\/breitenberg.com\/nostrum-aut-adipisci-quidem-nostrum.html",
"featured_image": "l",
"avatar": "v",
"company_name": "q",
"phone": "w",
"license_no": "r",
"active": false,
"approved": true,
"profile_content": {
"intro": {
"headline": "s",
"paragraphs": [
"architecto"
],
"ctaLabel": "n"
},
"homeLoans": {
"title": "g",
"description": "Eius et animi quos velit et.",
"highlights": [
"v"
],
"accordion": [
{
"title": "y",
"body": "architecto",
"embed": {
"iframeUrl": "http:\/\/bailey.com\/",
"height": 17,
"allow": "i",
"scrolling": "auto"
}
}
]
},
"commercialLoans": {
"title": "d",
"description": "Eius et animi quos velit et.",
"highlights": [
"v"
],
"accordion": [
{
"title": "y",
"body": "architecto",
"embed": {
"iframeUrl": "http:\/\/bailey.com\/",
"height": 17,
"allow": "i",
"scrolling": "yes"
}
}
]
},
"otherLoans": {
"title": "d",
"description": "Eius et animi quos velit et.",
"highlights": [
"v"
],
"accordion": [
{
"title": "y",
"body": "architecto",
"embed": {
"iframeUrl": "http:\/\/bailey.com\/",
"height": 17,
"allow": "i",
"scrolling": "yes"
}
}
]
},
"contact": {
"mapEmbedUrl": "http:\/\/www.dach.com\/mollitia-modi-deserunt-aut-ab-provident-perspiciatis-quo.html"
},
"sections": [
{
"title": "m",
"description": "Eius et animi quos velit et.",
"highlights": [
"v"
],
"accordion": [
{
"title": "d",
"body": "architecto",
"embed": {
"iframeUrl": "http:\/\/bailey.com\/",
"height": 17,
"allow": "i",
"scrolling": "yes"
}
}
]
}
]
}
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PATCH api/admin/brokers/{broker_id}
Example request:
curl --request PATCH \
"http://finweb-api.test/api/admin/brokers/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"email\": \"zbailey@example.net\",
\"password\": \"-0pBNvYgxw\",
\"slug\": \"a\",
\"profile_url\": \"http:\\/\\/breitenberg.com\\/nostrum-aut-adipisci-quidem-nostrum.html\",
\"featured_image\": \"l\",
\"avatar\": \"v\",
\"company_name\": \"q\",
\"phone\": \"w\",
\"license_no\": \"r\",
\"active\": false,
\"approved\": true,
\"profile_content\": {
\"intro\": {
\"headline\": \"s\",
\"paragraphs\": [
\"architecto\"
],
\"ctaLabel\": \"n\"
},
\"homeLoans\": {
\"title\": \"g\",
\"description\": \"Eius et animi quos velit et.\",
\"highlights\": [
\"v\"
],
\"accordion\": [
{
\"title\": \"y\",
\"body\": \"architecto\",
\"embed\": {
\"iframeUrl\": \"http:\\/\\/bailey.com\\/\",
\"height\": 17,
\"allow\": \"i\",
\"scrolling\": \"yes\"
}
}
]
},
\"commercialLoans\": {
\"title\": \"d\",
\"description\": \"Eius et animi quos velit et.\",
\"highlights\": [
\"v\"
],
\"accordion\": [
{
\"title\": \"y\",
\"body\": \"architecto\",
\"embed\": {
\"iframeUrl\": \"http:\\/\\/bailey.com\\/\",
\"height\": 17,
\"allow\": \"i\",
\"scrolling\": \"no\"
}
}
]
},
\"otherLoans\": {
\"title\": \"d\",
\"description\": \"Eius et animi quos velit et.\",
\"highlights\": [
\"v\"
],
\"accordion\": [
{
\"title\": \"y\",
\"body\": \"architecto\",
\"embed\": {
\"iframeUrl\": \"http:\\/\\/bailey.com\\/\",
\"height\": 17,
\"allow\": \"i\",
\"scrolling\": \"no\"
}
}
]
},
\"contact\": {
\"mapEmbedUrl\": \"http:\\/\\/www.dach.com\\/mollitia-modi-deserunt-aut-ab-provident-perspiciatis-quo.html\"
},
\"sections\": [
{
\"title\": \"m\",
\"description\": \"Eius et animi quos velit et.\",
\"highlights\": [
\"v\"
],
\"accordion\": [
{
\"title\": \"d\",
\"body\": \"architecto\",
\"embed\": {
\"iframeUrl\": \"http:\\/\\/bailey.com\\/\",
\"height\": 17,
\"allow\": \"i\",
\"scrolling\": \"auto\"
}
}
]
}
]
}
}"
const url = new URL(
"http://finweb-api.test/api/admin/brokers/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"email": "zbailey@example.net",
"password": "-0pBNvYgxw",
"slug": "a",
"profile_url": "http:\/\/breitenberg.com\/nostrum-aut-adipisci-quidem-nostrum.html",
"featured_image": "l",
"avatar": "v",
"company_name": "q",
"phone": "w",
"license_no": "r",
"active": false,
"approved": true,
"profile_content": {
"intro": {
"headline": "s",
"paragraphs": [
"architecto"
],
"ctaLabel": "n"
},
"homeLoans": {
"title": "g",
"description": "Eius et animi quos velit et.",
"highlights": [
"v"
],
"accordion": [
{
"title": "y",
"body": "architecto",
"embed": {
"iframeUrl": "http:\/\/bailey.com\/",
"height": 17,
"allow": "i",
"scrolling": "yes"
}
}
]
},
"commercialLoans": {
"title": "d",
"description": "Eius et animi quos velit et.",
"highlights": [
"v"
],
"accordion": [
{
"title": "y",
"body": "architecto",
"embed": {
"iframeUrl": "http:\/\/bailey.com\/",
"height": 17,
"allow": "i",
"scrolling": "no"
}
}
]
},
"otherLoans": {
"title": "d",
"description": "Eius et animi quos velit et.",
"highlights": [
"v"
],
"accordion": [
{
"title": "y",
"body": "architecto",
"embed": {
"iframeUrl": "http:\/\/bailey.com\/",
"height": 17,
"allow": "i",
"scrolling": "no"
}
}
]
},
"contact": {
"mapEmbedUrl": "http:\/\/www.dach.com\/mollitia-modi-deserunt-aut-ab-provident-perspiciatis-quo.html"
},
"sections": [
{
"title": "m",
"description": "Eius et animi quos velit et.",
"highlights": [
"v"
],
"accordion": [
{
"title": "d",
"body": "architecto",
"embed": {
"iframeUrl": "http:\/\/bailey.com\/",
"height": 17,
"allow": "i",
"scrolling": "auto"
}
}
]
}
]
}
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/admin/brokers/{broker_id}/images
Example request:
curl --request POST \
"http://finweb-api.test/api/admin/brokers/16/images" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "featured_image=@C:\Users\paolo\AppData\Local\Temp\php271B.tmp" \
--form "featured_images[]=@C:\Users\paolo\AppData\Local\Temp\php271C.tmp" \
--form "avatar=@C:\Users\paolo\AppData\Local\Temp\php271D.tmp" \
--form "avatars[]=@C:\Users\paolo\AppData\Local\Temp\php272E.tmp" const url = new URL(
"http://finweb-api.test/api/admin/brokers/16/images"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('featured_image', document.querySelector('input[name="featured_image"]').files[0]);
body.append('featured_images[]', document.querySelector('input[name="featured_images[]"]').files[0]);
body.append('avatar', document.querySelector('input[name="avatar"]').files[0]);
body.append('avatars[]', document.querySelector('input[name="avatars[]"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/admin/brokers/{broker_id}
Example request:
curl --request DELETE \
"http://finweb-api.test/api/admin/brokers/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://finweb-api.test/api/admin/brokers/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/admin/brokers/{broker_id}/audits
Example request:
curl --request GET \
--get "http://finweb-api.test/api/admin/brokers/16/audits" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"per_page\": 1
}"
const url = new URL(
"http://finweb-api.test/api/admin/brokers/16/audits"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"per_page": 1
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/admin/insights
Example request:
curl --request GET \
--get "http://finweb-api.test/api/admin/insights" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"search\": \"b\",
\"is_published\": true,
\"sort\": \"n\",
\"per_page\": 67
}"
const url = new URL(
"http://finweb-api.test/api/admin/insights"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"search": "b",
"is_published": true,
"sort": "n",
"per_page": 67
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/admin/insights
Example request:
curl --request POST \
"http://finweb-api.test/api/admin/insights" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"b\",
\"slug\": \"n\",
\"published_at\": \"2026-04-07T04:45:16\",
\"excerpt\": \"architecto\",
\"body\": \"architecto\",
\"image_url\": \"http:\\/\\/bailey.com\\/\",
\"button_text\": \"m\",
\"button_url\": \"https:\\/\\/www.gulgowski.com\\/nihil-accusantium-harum-mollitia-modi-deserunt\",
\"link_type\": \"internal\",
\"is_published\": true
}"
const url = new URL(
"http://finweb-api.test/api/admin/insights"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"title": "b",
"slug": "n",
"published_at": "2026-04-07T04:45:16",
"excerpt": "architecto",
"body": "architecto",
"image_url": "http:\/\/bailey.com\/",
"button_text": "m",
"button_url": "https:\/\/www.gulgowski.com\/nihil-accusantium-harum-mollitia-modi-deserunt",
"link_type": "internal",
"is_published": true
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/admin/insights/{insight_id}
Example request:
curl --request GET \
--get "http://finweb-api.test/api/admin/insights/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://finweb-api.test/api/admin/insights/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/admin/insights/{insight_id}
Example request:
curl --request PUT \
"http://finweb-api.test/api/admin/insights/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"b\",
\"slug\": \"n\",
\"published_at\": \"2026-04-07T04:45:16\",
\"excerpt\": \"architecto\",
\"body\": \"architecto\",
\"image_url\": \"http:\\/\\/bailey.com\\/\",
\"button_text\": \"m\",
\"button_url\": \"https:\\/\\/www.gulgowski.com\\/nihil-accusantium-harum-mollitia-modi-deserunt\",
\"link_type\": \"internal\",
\"is_published\": false
}"
const url = new URL(
"http://finweb-api.test/api/admin/insights/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"title": "b",
"slug": "n",
"published_at": "2026-04-07T04:45:16",
"excerpt": "architecto",
"body": "architecto",
"image_url": "http:\/\/bailey.com\/",
"button_text": "m",
"button_url": "https:\/\/www.gulgowski.com\/nihil-accusantium-harum-mollitia-modi-deserunt",
"link_type": "internal",
"is_published": false
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PATCH api/admin/insights/{insight_id}
Example request:
curl --request PATCH \
"http://finweb-api.test/api/admin/insights/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"b\",
\"slug\": \"n\",
\"published_at\": \"2026-04-07T04:45:16\",
\"excerpt\": \"architecto\",
\"body\": \"architecto\",
\"image_url\": \"http:\\/\\/bailey.com\\/\",
\"button_text\": \"m\",
\"button_url\": \"https:\\/\\/www.gulgowski.com\\/nihil-accusantium-harum-mollitia-modi-deserunt\",
\"link_type\": \"internal\",
\"is_published\": false
}"
const url = new URL(
"http://finweb-api.test/api/admin/insights/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"title": "b",
"slug": "n",
"published_at": "2026-04-07T04:45:16",
"excerpt": "architecto",
"body": "architecto",
"image_url": "http:\/\/bailey.com\/",
"button_text": "m",
"button_url": "https:\/\/www.gulgowski.com\/nihil-accusantium-harum-mollitia-modi-deserunt",
"link_type": "internal",
"is_published": false
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/admin/insights/upload
Example request:
curl --request POST \
"http://finweb-api.test/api/admin/insights/upload" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "image=@C:\Users\paolo\AppData\Local\Temp\php279C.tmp" \
--form "images[]=@C:\Users\paolo\AppData\Local\Temp\php279D.tmp" const url = new URL(
"http://finweb-api.test/api/admin/insights/upload"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('image', document.querySelector('input[name="image"]').files[0]);
body.append('images[]', document.querySelector('input[name="images[]"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/admin/insights/{insight_id}
Example request:
curl --request DELETE \
"http://finweb-api.test/api/admin/insights/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://finweb-api.test/api/admin/insights/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/admin/join-us
Example request:
curl --request GET \
--get "http://finweb-api.test/api/admin/join-us" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"search\": \"b\",
\"enquiry_type\": \"n\",
\"source\": \"g\",
\"per_page\": 16,
\"sort\": \"m\"
}"
const url = new URL(
"http://finweb-api.test/api/admin/join-us"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"search": "b",
"enquiry_type": "n",
"source": "g",
"per_page": 16,
"sort": "m"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/admin/get-in-touch
Example request:
curl --request GET \
--get "http://finweb-api.test/api/admin/get-in-touch" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"search\": \"b\",
\"source\": \"n\",
\"per_page\": 7,
\"sort\": \"z\"
}"
const url = new URL(
"http://finweb-api.test/api/admin/get-in-touch"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"search": "b",
"source": "n",
"per_page": 7,
"sort": "z"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/admin/users
Example request:
curl --request GET \
--get "http://finweb-api.test/api/admin/users" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"search\": \"b\",
\"role\": \"agent\",
\"active\": false,
\"approved\": false,
\"per_page\": 22
}"
const url = new URL(
"http://finweb-api.test/api/admin/users"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"search": "b",
"role": "agent",
"active": false,
"approved": false,
"per_page": 22
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/admin/users/{user_id}
Example request:
curl --request GET \
--get "http://finweb-api.test/api/admin/users/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://finweb-api.test/api/admin/users/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/admin/users/{user_id}
Example request:
curl --request PUT \
"http://finweb-api.test/api/admin/users/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"email\": \"zbailey@example.net\",
\"password\": \"-0pBNvYgxw\",
\"role\": \"admin\",
\"permissions\": [
\"get-in-touch:edit\"
],
\"active\": false,
\"approved\": false
}"
const url = new URL(
"http://finweb-api.test/api/admin/users/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"email": "zbailey@example.net",
"password": "-0pBNvYgxw",
"role": "admin",
"permissions": [
"get-in-touch:edit"
],
"active": false,
"approved": false
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PATCH api/admin/users/{user_id}
Example request:
curl --request PATCH \
"http://finweb-api.test/api/admin/users/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"email\": \"zbailey@example.net\",
\"password\": \"-0pBNvYgxw\",
\"role\": \"agent\",
\"permissions\": [
\"brokers:view\"
],
\"active\": false,
\"approved\": false
}"
const url = new URL(
"http://finweb-api.test/api/admin/users/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"email": "zbailey@example.net",
"password": "-0pBNvYgxw",
"role": "agent",
"permissions": [
"brokers:view"
],
"active": false,
"approved": false
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/profile
Example request:
curl --request GET \
--get "http://finweb-api.test/api/profile" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://finweb-api.test/api/profile"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/profile
Example request:
curl --request PUT \
"http://finweb-api.test/api/profile" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"email\": \"zbailey@example.net\",
\"company_name\": \"i\",
\"phone\": \"y\",
\"license_no\": \"v\",
\"profile_content\": {
\"intro\": {
\"headline\": \"d\",
\"paragraphs\": [
\"architecto\"
],
\"ctaLabel\": \"n\"
},
\"homeLoans\": {
\"title\": \"g\",
\"description\": \"Eius et animi quos velit et.\",
\"highlights\": [
\"v\"
],
\"accordion\": [
{
\"title\": \"y\",
\"body\": \"architecto\",
\"embed\": {
\"iframeUrl\": \"http:\\/\\/bailey.com\\/\",
\"height\": 17,
\"allow\": \"i\",
\"scrolling\": \"yes\"
}
}
]
},
\"commercialLoans\": {
\"title\": \"d\",
\"description\": \"Eius et animi quos velit et.\",
\"highlights\": [
\"v\"
],
\"accordion\": [
{
\"title\": \"y\",
\"body\": \"architecto\",
\"embed\": {
\"iframeUrl\": \"http:\\/\\/bailey.com\\/\",
\"height\": 17,
\"allow\": \"i\",
\"scrolling\": \"auto\"
}
}
]
},
\"otherLoans\": {
\"title\": \"d\",
\"description\": \"Eius et animi quos velit et.\",
\"highlights\": [
\"v\"
],
\"accordion\": [
{
\"title\": \"y\",
\"body\": \"architecto\",
\"embed\": {
\"iframeUrl\": \"http:\\/\\/bailey.com\\/\",
\"height\": 17,
\"allow\": \"i\",
\"scrolling\": \"auto\"
}
}
]
},
\"contact\": {
\"mapEmbedUrl\": \"http:\\/\\/www.dach.com\\/mollitia-modi-deserunt-aut-ab-provident-perspiciatis-quo.html\"
},
\"sections\": [
{
\"title\": \"m\",
\"description\": \"Eius et animi quos velit et.\",
\"highlights\": [
\"v\"
],
\"accordion\": [
{
\"title\": \"d\",
\"body\": \"architecto\",
\"embed\": {
\"iframeUrl\": \"http:\\/\\/bailey.com\\/\",
\"height\": 17,
\"allow\": \"i\",
\"scrolling\": \"auto\"
}
}
]
}
]
}
}"
const url = new URL(
"http://finweb-api.test/api/profile"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"email": "zbailey@example.net",
"company_name": "i",
"phone": "y",
"license_no": "v",
"profile_content": {
"intro": {
"headline": "d",
"paragraphs": [
"architecto"
],
"ctaLabel": "n"
},
"homeLoans": {
"title": "g",
"description": "Eius et animi quos velit et.",
"highlights": [
"v"
],
"accordion": [
{
"title": "y",
"body": "architecto",
"embed": {
"iframeUrl": "http:\/\/bailey.com\/",
"height": 17,
"allow": "i",
"scrolling": "yes"
}
}
]
},
"commercialLoans": {
"title": "d",
"description": "Eius et animi quos velit et.",
"highlights": [
"v"
],
"accordion": [
{
"title": "y",
"body": "architecto",
"embed": {
"iframeUrl": "http:\/\/bailey.com\/",
"height": 17,
"allow": "i",
"scrolling": "auto"
}
}
]
},
"otherLoans": {
"title": "d",
"description": "Eius et animi quos velit et.",
"highlights": [
"v"
],
"accordion": [
{
"title": "y",
"body": "architecto",
"embed": {
"iframeUrl": "http:\/\/bailey.com\/",
"height": 17,
"allow": "i",
"scrolling": "auto"
}
}
]
},
"contact": {
"mapEmbedUrl": "http:\/\/www.dach.com\/mollitia-modi-deserunt-aut-ab-provident-perspiciatis-quo.html"
},
"sections": [
{
"title": "m",
"description": "Eius et animi quos velit et.",
"highlights": [
"v"
],
"accordion": [
{
"title": "d",
"body": "architecto",
"embed": {
"iframeUrl": "http:\/\/bailey.com\/",
"height": 17,
"allow": "i",
"scrolling": "auto"
}
}
]
}
]
}
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PATCH api/profile
Example request:
curl --request PATCH \
"http://finweb-api.test/api/profile" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"email\": \"zbailey@example.net\",
\"company_name\": \"i\",
\"phone\": \"y\",
\"license_no\": \"v\",
\"profile_content\": {
\"intro\": {
\"headline\": \"d\",
\"paragraphs\": [
\"architecto\"
],
\"ctaLabel\": \"n\"
},
\"homeLoans\": {
\"title\": \"g\",
\"description\": \"Eius et animi quos velit et.\",
\"highlights\": [
\"v\"
],
\"accordion\": [
{
\"title\": \"y\",
\"body\": \"architecto\",
\"embed\": {
\"iframeUrl\": \"http:\\/\\/bailey.com\\/\",
\"height\": 17,
\"allow\": \"i\",
\"scrolling\": \"no\"
}
}
]
},
\"commercialLoans\": {
\"title\": \"d\",
\"description\": \"Eius et animi quos velit et.\",
\"highlights\": [
\"v\"
],
\"accordion\": [
{
\"title\": \"y\",
\"body\": \"architecto\",
\"embed\": {
\"iframeUrl\": \"http:\\/\\/bailey.com\\/\",
\"height\": 17,
\"allow\": \"i\",
\"scrolling\": \"auto\"
}
}
]
},
\"otherLoans\": {
\"title\": \"d\",
\"description\": \"Eius et animi quos velit et.\",
\"highlights\": [
\"v\"
],
\"accordion\": [
{
\"title\": \"y\",
\"body\": \"architecto\",
\"embed\": {
\"iframeUrl\": \"http:\\/\\/bailey.com\\/\",
\"height\": 17,
\"allow\": \"i\",
\"scrolling\": \"yes\"
}
}
]
},
\"contact\": {
\"mapEmbedUrl\": \"http:\\/\\/www.dach.com\\/mollitia-modi-deserunt-aut-ab-provident-perspiciatis-quo.html\"
},
\"sections\": [
{
\"title\": \"m\",
\"description\": \"Eius et animi quos velit et.\",
\"highlights\": [
\"v\"
],
\"accordion\": [
{
\"title\": \"d\",
\"body\": \"architecto\",
\"embed\": {
\"iframeUrl\": \"http:\\/\\/bailey.com\\/\",
\"height\": 17,
\"allow\": \"i\",
\"scrolling\": \"yes\"
}
}
]
}
]
}
}"
const url = new URL(
"http://finweb-api.test/api/profile"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"email": "zbailey@example.net",
"company_name": "i",
"phone": "y",
"license_no": "v",
"profile_content": {
"intro": {
"headline": "d",
"paragraphs": [
"architecto"
],
"ctaLabel": "n"
},
"homeLoans": {
"title": "g",
"description": "Eius et animi quos velit et.",
"highlights": [
"v"
],
"accordion": [
{
"title": "y",
"body": "architecto",
"embed": {
"iframeUrl": "http:\/\/bailey.com\/",
"height": 17,
"allow": "i",
"scrolling": "no"
}
}
]
},
"commercialLoans": {
"title": "d",
"description": "Eius et animi quos velit et.",
"highlights": [
"v"
],
"accordion": [
{
"title": "y",
"body": "architecto",
"embed": {
"iframeUrl": "http:\/\/bailey.com\/",
"height": 17,
"allow": "i",
"scrolling": "auto"
}
}
]
},
"otherLoans": {
"title": "d",
"description": "Eius et animi quos velit et.",
"highlights": [
"v"
],
"accordion": [
{
"title": "y",
"body": "architecto",
"embed": {
"iframeUrl": "http:\/\/bailey.com\/",
"height": 17,
"allow": "i",
"scrolling": "yes"
}
}
]
},
"contact": {
"mapEmbedUrl": "http:\/\/www.dach.com\/mollitia-modi-deserunt-aut-ab-provident-perspiciatis-quo.html"
},
"sections": [
{
"title": "m",
"description": "Eius et animi quos velit et.",
"highlights": [
"v"
],
"accordion": [
{
"title": "d",
"body": "architecto",
"embed": {
"iframeUrl": "http:\/\/bailey.com\/",
"height": 17,
"allow": "i",
"scrolling": "yes"
}
}
]
}
]
}
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/profile/images
Example request:
curl --request POST \
"http://finweb-api.test/api/profile/images" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "featured_image=@C:\Users\paolo\AppData\Local\Temp\php281B.tmp" \
--form "featured_images[]=@C:\Users\paolo\AppData\Local\Temp\php281C.tmp" \
--form "avatar=@C:\Users\paolo\AppData\Local\Temp\php282D.tmp" \
--form "avatars[]=@C:\Users\paolo\AppData\Local\Temp\php282E.tmp" const url = new URL(
"http://finweb-api.test/api/profile/images"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('featured_image', document.querySelector('input[name="featured_image"]').files[0]);
body.append('featured_images[]', document.querySelector('input[name="featured_images[]"]').files[0]);
body.append('avatar', document.querySelector('input[name="avatar"]').files[0]);
body.append('avatars[]', document.querySelector('input[name="avatars[]"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Zoho CRM
Get Zoho connection status.
requires authentication
Example request:
curl --request GET \
--get "http://finweb-api.test/api/admin/zoho/status" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://finweb-api.test/api/admin/zoho/status"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
{
"data": {
"connected": true,
"expires_at": "2026-04-09T10:12:30Z",
"api_domain": "https://www.zohoapis.com",
"scope": "ZohoCRM.modules.ALL"
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get Zoho OAuth authorization URL.
requires authentication
Example request:
curl --request GET \
--get "http://finweb-api.test/api/admin/zoho/oauth/url" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://finweb-api.test/api/admin/zoho/oauth/url"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
{
"data": {
"url": "https://accounts.zoho.com/oauth/v2/auth?..."
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Exchange Zoho OAuth code for tokens.
requires authentication
Example request:
curl --request POST \
"http://finweb-api.test/api/admin/zoho/oauth/callback" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"code\": \"architecto\",
\"accounts_server\": \"architecto\",
\"location\": \"architecto\"
}"
const url = new URL(
"http://finweb-api.test/api/admin/zoho/oauth/callback"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"code": "architecto",
"accounts_server": "architecto",
"location": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"data": {
"connected": true,
"expires_at": "2026-04-09T10:12:30Z",
"api_domain": "https://www.zohoapis.com",
"scope": "ZohoCRM.modules.ALL"
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Revoke Zoho OAuth tokens.
requires authentication
Example request:
curl --request POST \
"http://finweb-api.test/api/admin/zoho/oauth/revoke" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://finweb-api.test/api/admin/zoho/oauth/revoke"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Example response (200):
{
"data": {
"message": "Zoho CRM connection revoked."
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.