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.
Endpoints
POST api/auth/login
Example request:
curl --request POST \
"https://crm.vertapp.com/api/auth/login" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"gbailey@example.net\",
\"password\": \"architecto\"
}"
const url = new URL(
"https://crm.vertapp.com/api/auth/login"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "gbailey@example.net",
"password": "architecto"
};
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/auth/getUser
Example request:
curl --request GET \
--get "https://crm.vertapp.com/api/auth/getUser" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://crm.vertapp.com/api/auth/getUser"
);
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
access-control-allow-origin: *
{
"message": "The route api/auth/getUser could not be 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/auth/register
Example request:
curl --request POST \
"https://crm.vertapp.com/api/auth/register" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"gbailey@example.net\",
\"password\": \"architecto\",
\"name\": \"architecto\"
}"
const url = new URL(
"https://crm.vertapp.com/api/auth/register"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "gbailey@example.net",
"password": "architecto",
"name": "architecto"
};
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/auth/sendOtpEmail
Example request:
curl --request POST \
"https://crm.vertapp.com/api/auth/sendOtpEmail" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"gbailey@example.net\"
}"
const url = new URL(
"https://crm.vertapp.com/api/auth/sendOtpEmail"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "gbailey@example.net"
};
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/auth/verifyOtpEmail
Example request:
curl --request POST \
"https://crm.vertapp.com/api/auth/verifyOtpEmail" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"gbailey@example.net\",
\"otp\": \"564255\"
}"
const url = new URL(
"https://crm.vertapp.com/api/auth/verifyOtpEmail"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "gbailey@example.net",
"otp": "564255"
};
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/services
Example request:
curl --request GET \
--get "https://crm.vertapp.com/api/services" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://crm.vertapp.com/api/services"
);
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
access-control-allow-origin: *
{
"message": "The route api/services could not be 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.
PUT api/business/updateBasicProfile/{id}
Example request:
curl --request PUT \
"https://crm.vertapp.com/api/business/updateBasicProfile/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"architecto\",
\"phone\": \"7642559314\",
\"email\": \"mya96@example.com\",
\"description\": \"Eius et animi quos velit et.\",
\"website\": \"http:\\/\\/www.ernser.org\\/harum-mollitia-modi-deserunt-aut-ab-provident-perspiciatis-quo.html\"
}"
const url = new URL(
"https://crm.vertapp.com/api/business/updateBasicProfile/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "architecto",
"phone": "7642559314",
"email": "mya96@example.com",
"description": "Eius et animi quos velit et.",
"website": "http:\/\/www.ernser.org\/harum-mollitia-modi-deserunt-aut-ab-provident-perspiciatis-quo.html"
};
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.
PUT api/business/updateServiceType/{id}
Example request:
curl --request PUT \
"https://crm.vertapp.com/api/business/updateServiceType/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"service_type_id\": 16
}"
const url = new URL(
"https://crm.vertapp.com/api/business/updateServiceType/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"service_type_id": 16
};
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.
PUT api/business/updatePrimaryAddress/{id}
Example request:
curl --request PUT \
"https://crm.vertapp.com/api/business/updatePrimaryAddress/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"primary_address\": \"architecto\",
\"primary_city\": \"architecto\",
\"primary_zipcode\": \"364255\"
}"
const url = new URL(
"https://crm.vertapp.com/api/business/updatePrimaryAddress/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"primary_address": "architecto",
"primary_city": "architecto",
"primary_zipcode": "364255"
};
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/business/findProfile/{id}
Example request:
curl --request GET \
--get "https://crm.vertapp.com/api/business/findProfile/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://crm.vertapp.com/api/business/findProfile/architecto"
);
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
access-control-allow-origin: *
{
"message": "The route api/business/findProfile/architecto could not be 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/business/updatePublishStatus/{id}
Example request:
curl --request GET \
--get "https://crm.vertapp.com/api/business/updatePublishStatus/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://crm.vertapp.com/api/business/updatePublishStatus/architecto"
);
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
access-control-allow-origin: *
{
"message": "The route api/business/updatePublishStatus/architecto could not be 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/business_subtype/listExistingSubTypesForBusiness/{id}
Example request:
curl --request GET \
--get "https://crm.vertapp.com/api/business_subtype/listExistingSubTypesForBusiness/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://crm.vertapp.com/api/business_subtype/listExistingSubTypesForBusiness/architecto"
);
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
access-control-allow-origin: *
{
"message": "The route api/business_subtype/listExistingSubTypesForBusiness/architecto could not be 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/business_subtype/store
Example request:
curl --request POST \
"https://crm.vertapp.com/api/business_subtype/store" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"business_id\": \"architecto\",
\"service_sub_type_id\": \"architecto\"
}"
const url = new URL(
"https://crm.vertapp.com/api/business_subtype/store"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"business_id": "architecto",
"service_sub_type_id": "architecto"
};
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.
DELETE api/business_subtype/delete
Example request:
curl --request DELETE \
"https://crm.vertapp.com/api/business_subtype/delete" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"business_id\": \"architecto\",
\"service_sub_type_id\": \"architecto\"
}"
const url = new URL(
"https://crm.vertapp.com/api/business_subtype/delete"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"business_id": "architecto",
"service_sub_type_id": "architecto"
};
fetch(url, {
method: "DELETE",
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.
PUT api/business_subtype/updateStatus/{id}
Example request:
curl --request PUT \
"https://crm.vertapp.com/api/business_subtype/updateStatus/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"status\": \"architecto\"
}"
const url = new URL(
"https://crm.vertapp.com/api/business_subtype/updateStatus/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"status": "architecto"
};
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/staff/listForBusiness/{id}
Example request:
curl --request GET \
--get "https://crm.vertapp.com/api/staff/listForBusiness/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://crm.vertapp.com/api/staff/listForBusiness/architecto"
);
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
access-control-allow-origin: *
{
"message": "The route api/staff/listForBusiness/architecto could not be 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/staff/listForCurrentUser
Example request:
curl --request GET \
--get "https://crm.vertapp.com/api/staff/listForCurrentUser" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://crm.vertapp.com/api/staff/listForCurrentUser"
);
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
access-control-allow-origin: *
{
"message": "The route api/staff/listForCurrentUser could not be 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/staff
Example request:
curl --request POST \
"https://crm.vertapp.com/api/staff" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"business_id\": \"architecto\",
\"name\": \"architecto\",
\"email\": \"zbailey@example.net\",
\"mobile\": \"architecto\",
\"designation\": \"architecto\",
\"description\": \"Eius et animi quos velit et.\",
\"dob\": \"2025-04-26T13:50:38\",
\"gender\": \"architecto\"
}"
const url = new URL(
"https://crm.vertapp.com/api/staff"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"business_id": "architecto",
"name": "architecto",
"email": "zbailey@example.net",
"mobile": "architecto",
"designation": "architecto",
"description": "Eius et animi quos velit et.",
"dob": "2025-04-26T13:50:38",
"gender": "architecto"
};
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/staff/updateStatus/{id}
Example request:
curl --request POST \
"https://crm.vertapp.com/api/staff/updateStatus/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"status\": \"architecto\"
}"
const url = new URL(
"https://crm.vertapp.com/api/staff/updateStatus/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"status": "architecto"
};
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.
PUT api/password/update
Example request:
curl --request PUT \
"https://crm.vertapp.com/api/password/update" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"new_password\": \"bngzmiyvdljnikhwaykcmyuwpw\",
\"new_password_confirmation\": \"lvqwrsitcpscqldzsnrwtujwvl\"
}"
const url = new URL(
"https://crm.vertapp.com/api/password/update"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"new_password": "bngzmiyvdljnikhwaykcmyuwpw",
"new_password_confirmation": "lvqwrsitcpscqldzsnrwtujwvl"
};
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/working-hours/listForBusiness/{id}
Example request:
curl --request GET \
--get "https://crm.vertapp.com/api/working-hours/listForBusiness/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://crm.vertapp.com/api/working-hours/listForBusiness/architecto"
);
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
access-control-allow-origin: *
{
"message": "The route api/working-hours/listForBusiness/architecto could not be 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/working-hours
Example request:
curl --request POST \
"https://crm.vertapp.com/api/working-hours" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"business_id\": \"architecto\",
\"day\": \"architecto\",
\"start_time\": \"13:50\",
\"end_time\": \"13:50\"
}"
const url = new URL(
"https://crm.vertapp.com/api/working-hours"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"business_id": "architecto",
"day": "architecto",
"start_time": "13:50",
"end_time": "13:50"
};
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/services-for-business/listForBusiness/{id}
Example request:
curl --request GET \
--get "https://crm.vertapp.com/api/services-for-business/listForBusiness/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://crm.vertapp.com/api/services-for-business/listForBusiness/architecto"
);
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
access-control-allow-origin: *
{
"message": "The route api/services-for-business/listForBusiness/architecto could not be 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/services-for-business/find/{id}
Example request:
curl --request GET \
--get "https://crm.vertapp.com/api/services-for-business/find/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://crm.vertapp.com/api/services-for-business/find/architecto"
);
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
access-control-allow-origin: *
{
"message": "The route api/services-for-business/find/architecto could not be 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/services-for-business
Example request:
curl --request POST \
"https://crm.vertapp.com/api/services-for-business" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"business_id\": 4326.41688,
\"title\": \"architecto\",
\"description\": \"Eius et animi quos velit et.\",
\"duration_in_minutes\": 4326.41688,
\"service_price\": 4326.41688,
\"intake\": 27
}"
const url = new URL(
"https://crm.vertapp.com/api/services-for-business"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"business_id": 4326.41688,
"title": "architecto",
"description": "Eius et animi quos velit et.",
"duration_in_minutes": 4326.41688,
"service_price": 4326.41688,
"intake": 27
};
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.
PUT api/services-for-business/update/{id}
Example request:
curl --request PUT \
"https://crm.vertapp.com/api/services-for-business/update/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"architecto\",
\"description\": \"Eius et animi quos velit et.\",
\"duration_in_minutes\": 4326.41688,
\"service_price\": 4326.41688,
\"intake\": 27
}"
const url = new URL(
"https://crm.vertapp.com/api/services-for-business/update/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"title": "architecto",
"description": "Eius et animi quos velit et.",
"duration_in_minutes": 4326.41688,
"service_price": 4326.41688,
"intake": 27
};
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.
PUT api/services-for-business/updateStatus/{id}
Example request:
curl --request PUT \
"https://crm.vertapp.com/api/services-for-business/updateStatus/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"status\": \"architecto\"
}"
const url = new URL(
"https://crm.vertapp.com/api/services-for-business/updateStatus/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"status": "architecto"
};
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/customer/listPaginatedForBusiness/{business_id}
Example request:
curl --request GET \
--get "https://crm.vertapp.com/api/customer/listPaginatedForBusiness/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"kw\": \"architecto\",
\"page\": 4326.41688,
\"page_size\": 4326.41688,
\"sort_field\": \"architecto\",
\"sort_dir\": \"architecto\"
}"
const url = new URL(
"https://crm.vertapp.com/api/customer/listPaginatedForBusiness/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"kw": "architecto",
"page": 4326.41688,
"page_size": 4326.41688,
"sort_field": "architecto",
"sort_dir": "architecto"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/customer/listPaginatedForBusiness/architecto could not be 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/customer
Example request:
curl --request POST \
"https://crm.vertapp.com/api/customer" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"business_id\": 16,
\"first_name\": \"architecto\",
\"last_name\": \"architecto\",
\"email\": \"zbailey@example.net\",
\"mobile\": \"+5593142326822\",
\"location\": \"architecto\",
\"region\": \"architecto\",
\"city\": \"architecto\",
\"zipcode\": \"architecto\",
\"lat_long\": \"architecto\",
\"address\": \"architecto\",
\"lead_source\": \"architecto\"
}"
const url = new URL(
"https://crm.vertapp.com/api/customer"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"business_id": 16,
"first_name": "architecto",
"last_name": "architecto",
"email": "zbailey@example.net",
"mobile": "+5593142326822",
"location": "architecto",
"region": "architecto",
"city": "architecto",
"zipcode": "architecto",
"lat_long": "architecto",
"address": "architecto",
"lead_source": "architecto"
};
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/user
Example request:
curl --request GET \
--get "https://crm.vertapp.com/api/user" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://crm.vertapp.com/api/user"
);
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
access-control-allow-origin: *
{
"message": "The route api/user could not be 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.