MENU navbar-image

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());

Request      

POST api/auth/login

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

email   string   

Must be a valid email address. Example: gbailey@example.net

password   string   

Example: architecto

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."
}
 

Request      

GET api/auth/getUser

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

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());

Request      

POST api/auth/register

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

email   string   

Must be a valid email address. Must not be greater than 255 characters. Example: gbailey@example.net

password   string   

Example: architecto

name   string   

Example: architecto

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());

Request      

POST api/auth/sendOtpEmail

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

email   string   

Must be a valid email address. Example: gbailey@example.net

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());

Request      

POST api/auth/verifyOtpEmail

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

email   string   

Must be a valid email address. Example: gbailey@example.net

otp   string   

Must match the regex /^[0-9]{6}$/. Example: 564255

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."
}
 

Request      

GET api/services

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

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());

Request      

PUT api/business/updateBasicProfile/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the updateBasicProfile. Example: architecto

Body Parameters

name   string   

Example: architecto

phone   string  optional  

Must match the regex /^[6-9][0-9]{9}$/. Example: 7642559314

email   string  optional  

Must be a valid email address. Example: mya96@example.com

description   string  optional  

Example: Eius et animi quos velit et.

website   string  optional  

Must be a valid URL. Example: http://www.ernser.org/harum-mollitia-modi-deserunt-aut-ab-provident-perspiciatis-quo.html

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());

Request      

PUT api/business/updateServiceType/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the updateServiceType. Example: architecto

Body Parameters

service_type_id   integer   

Example: 16

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());

Request      

PUT api/business/updatePrimaryAddress/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the updatePrimaryAddress. Example: architecto

Body Parameters

primary_address   string   

Example: architecto

primary_city   string   

Example: architecto

primary_zipcode   string   

Must match the regex /^[1-9][0-9]{5}$/. Example: 364255

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."
}
 

Request      

GET api/business/findProfile/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the findProfile. Example: architecto

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."
}
 

Request      

GET api/business/updatePublishStatus/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the updatePublishStatus. Example: architecto

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."
}
 

Request      

GET api/business_subtype/listExistingSubTypesForBusiness/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the listExistingSubTypesForBusiness. Example: architecto

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());

Request      

POST api/business_subtype/store

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

business_id   string   

Example: architecto

service_sub_type_id   string   

Example: architecto

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());

Request      

DELETE api/business_subtype/delete

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

business_id   string   

Example: architecto

service_sub_type_id   string   

Example: architecto

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());

Request      

PUT api/business_subtype/updateStatus/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the updateStatus. Example: architecto

Body Parameters

status   string   

Example: architecto

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."
}
 

Request      

GET api/staff/listForBusiness/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the listForBusiness. Example: architecto

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."
}
 

Request      

GET api/staff/listForCurrentUser

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

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());

Request      

POST api/staff

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

business_id   string   

Example: architecto

name   string   

Example: architecto

email   string   

Must be a valid email address. Example: zbailey@example.net

mobile   string  optional  

Example: architecto

designation   string  optional  

Example: architecto

description   string  optional  

Example: Eius et animi quos velit et.

dob   string  optional  

Must be a valid date. Example: 2025-04-26T13:50:38

gender   string  optional  

Example: architecto

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());

Request      

POST api/staff/updateStatus/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the updateStatus. Example: architecto

Body Parameters

status   string   

Example: architecto

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());

Request      

PUT api/password/update

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

new_password   string   

Must be at least 8 characters. Example: bngzmiyvdljnikhwaykcmyuwpw

new_password_confirmation   string   

The value and new_password must match. Must be at least 8 characters. Example: lvqwrsitcpscqldzsnrwtujwvl

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."
}
 

Request      

GET api/working-hours/listForBusiness/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the listForBusiness. Example: architecto

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());

Request      

POST api/working-hours

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

business_id   string   

Example: architecto

day   string   

Example: architecto

start_time   string   

Must be a valid date in the format H:i. Example: 13:50

end_time   string   

Must be a valid date in the format H:i. Example: 13:50

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."
}
 

Request      

GET api/services-for-business/listForBusiness/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the listForBusiness. Example: architecto

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."
}
 

Request      

GET api/services-for-business/find/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the find. Example: architecto

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());

Request      

POST api/services-for-business

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

business_id   number   

Example: 4326.41688

title   string   

Example: architecto

description   string  optional  

Example: Eius et animi quos velit et.

duration_in_minutes   number   

Example: 4326.41688

service_price   number   

Example: 4326.41688

intake   number   

Must be at least 1. Example: 27

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());

Request      

PUT api/services-for-business/update/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the update. Example: architecto

Body Parameters

title   string   

Example: architecto

description   string  optional  

Example: Eius et animi quos velit et.

duration_in_minutes   number   

Example: 4326.41688

service_price   number   

Example: 4326.41688

intake   number   

Must be at least 1. Example: 27

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());

Request      

PUT api/services-for-business/updateStatus/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the updateStatus. Example: architecto

Body Parameters

status   string   

Example: architecto

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."
}
 

Request      

GET api/customer/listPaginatedForBusiness/{business_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

business_id   string   

The ID of the business. Example: architecto

Body Parameters

kw   string  optional  

Example: architecto

page   number   

Example: 4326.41688

page_size   number  optional  

Example: 4326.41688

sort_field   string  optional  

Example: architecto

sort_dir   string  optional  

Example: architecto

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());

Request      

POST api/customer

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

business_id   number   

Must be at least 1. Example: 16

first_name   string   

Example: architecto

last_name   string  optional  

Example: architecto

email   string   

Must be a valid email address. Example: zbailey@example.net

mobile   string  optional  

Must match the regex /^(+\d{1,3}[- ]?)?\d{10}$/. Example: +5593142326822

location   string  optional  

Example: architecto

region   string  optional  

Example: architecto

city   string  optional  

Example: architecto

zipcode   string  optional  

Example: architecto

lat_long   string  optional  

Example: architecto

address   string  optional  

Example: architecto

lead_source   string   

Example: architecto

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."
}
 

Request      

GET api/user

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json