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/login

Example request:
curl --request POST \
    "http://localhost/api/login" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"qkunze@example.com\",
    \"password\": \"Z5ij-e\\/dl4m{o,\"
}"
const url = new URL(
    "http://localhost/api/login"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "email": "qkunze@example.com",
    "password": "Z5ij-e\/dl4m{o,"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/login

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

email   string   

Must be a valid email address. The email of an existing record in the users table. Example: qkunze@example.com

password   string   

Must be at least 6 characters. Example: Z5ij-e/dl4m{o,

POST api/logout

Example request:
curl --request POST \
    "http://localhost/api/logout" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/logout"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/logout

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/dashboard/home

Example request:
curl --request POST \
    "http://localhost/api/dashboard/home" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/dashboard/home"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/dashboard/home

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/dashboard/features

Example request:
curl --request POST \
    "http://localhost/api/dashboard/features" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/dashboard/features"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/dashboard/features

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/dashboard/features/{id}

Example request:
curl --request GET \
    --get "http://localhost/api/dashboard/features/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/dashboard/features/consequatur"
);

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
access-control-allow-origin: *
 

{
    "status": false,
    "message": "Unauthenticated"
}
 

Request      

GET api/dashboard/features/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the feature. Example: consequatur

POST api/dashboard/features/store

Example request:
curl --request POST \
    "http://localhost/api/dashboard/features/store" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=vmqeopfuudtdsufvyvddq"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "image=@C:\Users\Abu Saif\AppData\Local\Temp\php1F90.tmp" 
const url = new URL(
    "http://localhost/api/dashboard/features/store"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title', 'vmqeopfuudtdsufvyvddq');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('image', document.querySelector('input[name="image"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/dashboard/features/store

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

title   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string   

Example: Dolores dolorum amet iste laborum eius est dolor.

image   file   

Must be an image. Example: C:\Users\Abu Saif\AppData\Local\Temp\php1F90.tmp

POST api/dashboard/features/update/{id}

Example request:
curl --request POST \
    "http://localhost/api/dashboard/features/update/consequatur" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=vmqeopfuudtdsufvyvddq"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "image=@C:\Users\Abu Saif\AppData\Local\Temp\php1FB2.tmp" 
const url = new URL(
    "http://localhost/api/dashboard/features/update/consequatur"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title', 'vmqeopfuudtdsufvyvddq');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('image', document.querySelector('input[name="image"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/dashboard/features/update/{id}

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the update. Example: consequatur

Body Parameters

title   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string   

Example: Dolores dolorum amet iste laborum eius est dolor.

image   file   

Must be an image. Example: C:\Users\Abu Saif\AppData\Local\Temp\php1FB2.tmp

POST api/dashboard/features/destroy/{id}

Example request:
curl --request POST \
    "http://localhost/api/dashboard/features/destroy/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/dashboard/features/destroy/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/dashboard/features/destroy/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the destroy. Example: consequatur

POST api/dashboard/admins

Example request:
curl --request POST \
    "http://localhost/api/dashboard/admins" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/dashboard/admins"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/dashboard/admins

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/dashboard/admins/{id}

Example request:
curl --request GET \
    --get "http://localhost/api/dashboard/admins/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/dashboard/admins/consequatur"
);

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
access-control-allow-origin: *
 

{
    "status": false,
    "message": "Unauthenticated"
}
 

Request      

GET api/dashboard/admins/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the admin. Example: consequatur

POST api/dashboard/admins/store

Example request:
curl --request POST \
    "http://localhost/api/dashboard/admins/store" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name=vmqeopfuudtdsufvyvddq"\
    --form "email=kunde.eloisa@example.com"\
    --form "password=4[*UyPJ"}6"\
    --form "image=@C:\Users\Abu Saif\AppData\Local\Temp\php1FE3.tmp" 
const url = new URL(
    "http://localhost/api/dashboard/admins/store"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('name', 'vmqeopfuudtdsufvyvddq');
body.append('email', 'kunde.eloisa@example.com');
body.append('password', '4[*UyPJ"}6');
body.append('image', document.querySelector('input[name="image"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/dashboard/admins/store

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

name   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

email   string   

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

password   string   

Must be at least 6 characters. Example: 4[*UyPJ"}6

image   file  optional  

Must be an image. Example: C:\Users\Abu Saif\AppData\Local\Temp\php1FE3.tmp

POST api/dashboard/admins/update/{id}

Example request:
curl --request POST \
    "http://localhost/api/dashboard/admins/update/consequatur" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name=vmqeopfuudtdsufvyvddq"\
    --form "email=kunde.eloisa@example.com"\
    --form "password=4[*UyPJ"}6"\
    --form "image=@C:\Users\Abu Saif\AppData\Local\Temp\php1FF3.tmp" 
const url = new URL(
    "http://localhost/api/dashboard/admins/update/consequatur"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('name', 'vmqeopfuudtdsufvyvddq');
body.append('email', 'kunde.eloisa@example.com');
body.append('password', '4[*UyPJ"}6');
body.append('image', document.querySelector('input[name="image"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/dashboard/admins/update/{id}

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the update. Example: consequatur

Body Parameters

name   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

email   string   

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

password   string   

Must be at least 6 characters. Example: 4[*UyPJ"}6

image   file  optional  

Must be an image. Example: C:\Users\Abu Saif\AppData\Local\Temp\php1FF3.tmp

POST api/dashboard/admins/destroy/{id}

Example request:
curl --request POST \
    "http://localhost/api/dashboard/admins/destroy/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/dashboard/admins/destroy/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/dashboard/admins/destroy/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the destroy. Example: consequatur

POST api/dashboard/testimonials

Example request:
curl --request POST \
    "http://localhost/api/dashboard/testimonials" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/dashboard/testimonials"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/dashboard/testimonials

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/dashboard/testimonials/{id}

Example request:
curl --request GET \
    --get "http://localhost/api/dashboard/testimonials/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/dashboard/testimonials/consequatur"
);

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
access-control-allow-origin: *
 

{
    "status": false,
    "message": "Unauthenticated"
}
 

Request      

GET api/dashboard/testimonials/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the testimonial. Example: consequatur

POST api/dashboard/testimonials/store

Example request:
curl --request POST \
    "http://localhost/api/dashboard/testimonials/store" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name=vmqeopfuudtdsufvyvddq"\
    --form "position=amniihfqcoynlazghdtqt"\
    --form "rating=5"\
    --form "testimonial=consequatur"\
    --form "image=@C:\Users\Abu Saif\AppData\Local\Temp\php2013.tmp" 
const url = new URL(
    "http://localhost/api/dashboard/testimonials/store"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('name', 'vmqeopfuudtdsufvyvddq');
body.append('position', 'amniihfqcoynlazghdtqt');
body.append('rating', '5');
body.append('testimonial', 'consequatur');
body.append('image', document.querySelector('input[name="image"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/dashboard/testimonials/store

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

name   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

position   string   

Must not be greater than 255 characters. Example: amniihfqcoynlazghdtqt

image   file   

Must be an image. Example: C:\Users\Abu Saif\AppData\Local\Temp\php2013.tmp

rating   integer   

Must be at least 1. Must not be greater than 5. Example: 5

testimonial   string   

Example: consequatur

POST api/dashboard/testimonials/update/{id}

Example request:
curl --request POST \
    "http://localhost/api/dashboard/testimonials/update/consequatur" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name=vmqeopfuudtdsufvyvddq"\
    --form "position=amniihfqcoynlazghdtqt"\
    --form "rating=5"\
    --form "testimonial=consequatur"\
    --form "image=@C:\Users\Abu Saif\AppData\Local\Temp\php2025.tmp" 
const url = new URL(
    "http://localhost/api/dashboard/testimonials/update/consequatur"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('name', 'vmqeopfuudtdsufvyvddq');
body.append('position', 'amniihfqcoynlazghdtqt');
body.append('rating', '5');
body.append('testimonial', 'consequatur');
body.append('image', document.querySelector('input[name="image"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/dashboard/testimonials/update/{id}

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the update. Example: consequatur

Body Parameters

name   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

position   string   

Must not be greater than 255 characters. Example: amniihfqcoynlazghdtqt

image   file   

Must be an image. Example: C:\Users\Abu Saif\AppData\Local\Temp\php2025.tmp

rating   integer   

Must be at least 1. Must not be greater than 5. Example: 5

testimonial   string   

Example: consequatur

POST api/dashboard/testimonials/destroy/{id}

Example request:
curl --request POST \
    "http://localhost/api/dashboard/testimonials/destroy/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/dashboard/testimonials/destroy/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/dashboard/testimonials/destroy/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the destroy. Example: consequatur

POST api/dashboard/previews

Example request:
curl --request POST \
    "http://localhost/api/dashboard/previews" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/dashboard/previews"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/dashboard/previews

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/dashboard/previews/{id}

Example request:
curl --request GET \
    --get "http://localhost/api/dashboard/previews/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/dashboard/previews/consequatur"
);

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
access-control-allow-origin: *
 

{
    "status": false,
    "message": "Unauthenticated"
}
 

Request      

GET api/dashboard/previews/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the preview. Example: consequatur

POST api/dashboard/previews/store

Example request:
curl --request POST \
    "http://localhost/api/dashboard/previews/store" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "image=@C:\Users\Abu Saif\AppData\Local\Temp\php2056.tmp" 
const url = new URL(
    "http://localhost/api/dashboard/previews/store"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('image', document.querySelector('input[name="image"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/dashboard/previews/store

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

image   file  optional  

Must be an image. Example: C:\Users\Abu Saif\AppData\Local\Temp\php2056.tmp

POST api/dashboard/previews/update/{id}

Example request:
curl --request POST \
    "http://localhost/api/dashboard/previews/update/consequatur" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "image=@C:\Users\Abu Saif\AppData\Local\Temp\php2057.tmp" 
const url = new URL(
    "http://localhost/api/dashboard/previews/update/consequatur"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('image', document.querySelector('input[name="image"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/dashboard/previews/update/{id}

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the update. Example: consequatur

Body Parameters

image   file  optional  

Must be an image. Example: C:\Users\Abu Saif\AppData\Local\Temp\php2057.tmp

POST api/dashboard/previews/destroy/{id}

Example request:
curl --request POST \
    "http://localhost/api/dashboard/previews/destroy/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/dashboard/previews/destroy/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/dashboard/previews/destroy/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the destroy. Example: consequatur

POST api/dashboard/processes

Example request:
curl --request POST \
    "http://localhost/api/dashboard/processes" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/dashboard/processes"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/dashboard/processes

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/dashboard/processes/{id}

Example request:
curl --request GET \
    --get "http://localhost/api/dashboard/processes/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/dashboard/processes/consequatur"
);

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
access-control-allow-origin: *
 

{
    "status": false,
    "message": "Unauthenticated"
}
 

Request      

GET api/dashboard/processes/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the process. Example: consequatur

POST api/dashboard/processes/store

Example request:
curl --request POST \
    "http://localhost/api/dashboard/processes/store" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"step\": \"consequatur\",
    \"title\": \"mqeopfuudtdsufvyvddqa\",
    \"description\": \"Molestias ipsam sit veniam sed fuga aspernatur.\"
}"
const url = new URL(
    "http://localhost/api/dashboard/processes/store"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "step": "consequatur",
    "title": "mqeopfuudtdsufvyvddqa",
    "description": "Molestias ipsam sit veniam sed fuga aspernatur."
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/dashboard/processes/store

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

step   string   

Example: consequatur

title   string  optional  

Must not be greater than 255 characters. Example: mqeopfuudtdsufvyvddqa

description   string  optional  

Must not be greater than 500 characters. Example: Molestias ipsam sit veniam sed fuga aspernatur.

POST api/dashboard/processes/update/{id}

Example request:
curl --request POST \
    "http://localhost/api/dashboard/processes/update/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"step\": \"consequatur\",
    \"title\": \"mqeopfuudtdsufvyvddqa\",
    \"description\": \"Molestias ipsam sit veniam sed fuga aspernatur.\"
}"
const url = new URL(
    "http://localhost/api/dashboard/processes/update/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "step": "consequatur",
    "title": "mqeopfuudtdsufvyvddqa",
    "description": "Molestias ipsam sit veniam sed fuga aspernatur."
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/dashboard/processes/update/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the update. Example: consequatur

Body Parameters

step   string   

Example: consequatur

title   string  optional  

Must not be greater than 255 characters. Example: mqeopfuudtdsufvyvddqa

description   string  optional  

Must not be greater than 500 characters. Example: Molestias ipsam sit veniam sed fuga aspernatur.

POST api/dashboard/processes/destroy/{id}

Example request:
curl --request POST \
    "http://localhost/api/dashboard/processes/destroy/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/dashboard/processes/destroy/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/dashboard/processes/destroy/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the destroy. Example: consequatur

POST api/dashboard/contact-messages

Example request:
curl --request POST \
    "http://localhost/api/dashboard/contact-messages" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/dashboard/contact-messages"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/dashboard/contact-messages

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/dashboard/contact-messages/mark-all-read

Example request:
curl --request POST \
    "http://localhost/api/dashboard/contact-messages/mark-all-read" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/dashboard/contact-messages/mark-all-read"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/dashboard/contact-messages/mark-all-read

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/dashboard/contact-messages/unread-count

Example request:
curl --request GET \
    --get "http://localhost/api/dashboard/contact-messages/unread-count" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/dashboard/contact-messages/unread-count"
);

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
access-control-allow-origin: *
 

{
    "status": false,
    "message": "Unauthenticated"
}
 

Request      

GET api/dashboard/contact-messages/unread-count

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/dashboard/settings

Example request:
curl --request POST \
    "http://localhost/api/dashboard/settings" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/dashboard/settings"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/dashboard/settings

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/dashboard/settings/update

Example request:
curl --request POST \
    "http://localhost/api/dashboard/settings/update" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/dashboard/settings/update"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/dashboard/settings/update

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/home/contact-messages

Example request:
curl --request POST \
    "http://localhost/api/home/contact-messages" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"qkunze@example.com\",
    \"name\": \"opfuudtdsufvyvddqamni\",
    \"description\": \"Veniam sed fuga aspernatur natus earum.\"
}"
const url = new URL(
    "http://localhost/api/home/contact-messages"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "email": "qkunze@example.com",
    "name": "opfuudtdsufvyvddqamni",
    "description": "Veniam sed fuga aspernatur natus earum."
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/home/contact-messages

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

email   string   

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

name   string  optional  

Must not be greater than 255 characters. Example: opfuudtdsufvyvddqamni

description   string  optional  

Must not be greater than 500 characters. Example: Veniam sed fuga aspernatur natus earum.