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

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/sanctum/csrf-cookie" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/sanctum/csrf-cookie"
);

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

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

Example response (204):

Show headers
cache-control: no-cache, private
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6InNldGJhdU15bnRCS0tDalU1dWxRMkE9PSIsInZhbHVlIjoiSHJiY1R3OXhXVUdkSWZtZENud3VCeW9pL3JTVjFidmQyYnhTcVBHQkFibldpWkZRQ0M0dFE1MGpLYlpnZ2Nkemx0UFczWktlUWZNaWRUZzlBT1NBT290TXplc3J6VE9NTXY4QnBnUTlPNjU1QXV5SXg1RE5UVFRvVmNDL2pyT1AiLCJtYWMiOiJlZWZkMDk4NDNjNzI1NzM4ODM4Y2ZkYzFhOTE4OWM0MGRkNGNkMjk5MDE1ODQ3YzllMDBkYzM5MmRkNTE0NzNjIiwidGFnIjoiIn0%3D; expires=Wed, 18 Jun 2025 09:27:08 GMT; Max-Age=7200; path=/; samesite=lax; laravel_session=eyJpdiI6IlJwMGM0MzdBNzgycmVOcDhSZUhtdVE9PSIsInZhbHVlIjoiWVhhaHNTekE1c1I5WGZXMlptbG92VFlQdzltc1ZUdkVpS1pJUXhmL0wwbEJ5UDIzUUlheGttNHNoMXZIQnQvbDNsNGRiTDNRcUZ3MGd4clAzUWJFWjczNjZIanhlYXNoQnZZM09rTWUyaVlCSGVCRWdsWUhlc0dKb3FwQXZVbkUiLCJtYWMiOiIwMTExOTEwZWNlMTc3MGEzYTRmY2EzZjVlNDk4Njc2ZTQxNGE2ZWM3YTE3YWU0ZmFhOTI2ZmNiMjMxMzFkYTk2IiwidGFnIjoiIn0%3D; expires=Wed, 18 Jun 2025 09:27:08 GMT; Max-Age=7200; path=/; httponly; samesite=lax
 
Empty response
 

GET api/user

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/user" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/user"
);

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

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

Example response (200):

Show headers
content-type: text/html; charset=UTF-8
cache-control: no-cache, private
access-control-allow-origin: *
 


 

Request      

GET api/user

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/signup

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/signup" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"vmqeopfuudtdsufvyvddq\",
    \"email\": \"kunde.eloisa@example.com\",
    \"password\": \"4[*UyPJ\\\"}6\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/signup"
);

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

let body = {
    "name": "vmqeopfuudtdsufvyvddq",
    "email": "kunde.eloisa@example.com",
    "password": "4[*UyPJ\"}6"
};

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

Request      

POST api/signup

Headers

Content-Type      

Example: application/json

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. Must not be greater than 255 characters. Example: kunde.eloisa@example.com

password   string   

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

POST api/login

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

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

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

Request      

POST api/login

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/forgot-password

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/forgot-password" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"qkunze@example.com\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/forgot-password"
);

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

let body = {
    "email": "qkunze@example.com"
};

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

Request      

POST api/forgot-password

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

POST api/reset-password

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/reset-password" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"qkunze@example.com\",
    \"token\": \"consequatur\",
    \"password\": \"[2UZ5ij-e\\/dl4\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/reset-password"
);

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

let body = {
    "email": "qkunze@example.com",
    "token": "consequatur",
    "password": "[2UZ5ij-e\/dl4"
};

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

Request      

POST api/reset-password

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

token   string   

Example: consequatur

password   string   

Must be at least 6 characters. Example: [2UZ5ij-e/dl4

POST api/refresh-token

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

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

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

Request      

POST api/refresh-token

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/send-verification-email

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/send-verification-email" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"qkunze@example.com\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/send-verification-email"
);

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

let body = {
    "email": "qkunze@example.com"
};

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

Request      

POST api/send-verification-email

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

email   string   

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

POST api/verify-email-token

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/verify-email-token" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"token\": \"consequatur\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/verify-email-token"
);

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

let body = {
    "token": "consequatur"
};

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

Request      

POST api/verify-email-token

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

token   string   

Example: consequatur

POST api/send-otp

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/send-otp" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"qkunze@example.com\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/send-otp"
);

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

let body = {
    "email": "qkunze@example.com"
};

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

Request      

POST api/send-otp

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

email   string   

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

POST api/verify-otp

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/verify-otp" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"qkunze@example.com\",
    \"otp\": \"810798\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/verify-otp"
);

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

let body = {
    "email": "qkunze@example.com",
    "otp": "810798"
};

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

Request      

POST api/verify-otp

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

email   string   

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

otp   string   

Must be 6 digits. Example: 810798

GET api/blogs

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/blogs" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/blogs"
);

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

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

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

[
    {
        "id": 1,
        "title": "Angular",
        "slug": "angular",
        "department_id": 1,
        "image": "http://127.0.0.1:8000/uploads/blogs/1750069204_5.PNG",
        "summary": null,
        "content": "<p><s>Angular</s></p>",
        "meta_title": "angular",
        "tags": null,
        "meta_description": null,
        "author_name": null,
        "desired_modules": null,
        "status": "Published",
        "allow_comments": 0,
        "is_featured": 0,
        "is_pinned": 0,
        "publish_date": "2025-06-18",
        "scheduled_publish_date": "2025-06-17",
        "created_at": "2025-06-16T10:20:04.000000Z",
        "updated_at": "2025-06-16T10:20:04.000000Z"
    },
    {
        "id": 2,
        "title": "Test",
        "slug": "https://",
        "department_id": 3,
        "image": "http://127.0.0.1:8000/uploads/blogs/1750156988_Robot.png",
        "summary": "",
        "content": "<p>Test</p>",
        "meta_title": "M Title",
        "tags": "",
        "meta_description": "",
        "author_name": "",
        "desired_modules": "",
        "status": "Published",
        "allow_comments": 1,
        "is_featured": 0,
        "is_pinned": 0,
        "publish_date": "2025-06-17",
        "scheduled_publish_date": "2025-06-17",
        "created_at": "2025-06-17T10:43:08.000000Z",
        "updated_at": "2025-06-17T10:43:39.000000Z"
    }
]
 

Request      

GET api/blogs

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/plans

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/plans" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/plans"
);

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

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

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

[
    {
        "id": 2,
        "name": "Basic",
        "price": "2000.00",
        "domain": null,
        "bandwidth": null,
        "storage": null,
        "email_support": 0,
        "hourly_support": 0,
        "users": "2",
        "days": 66,
        "created_at": "2025-06-16T10:19:51.000000Z",
        "updated_at": "2025-06-16T10:19:51.000000Z"
    },
    {
        "id": 3,
        "name": "Test",
        "price": "1.00",
        "domain": null,
        "bandwidth": null,
        "storage": null,
        "email_support": 0,
        "hourly_support": 0,
        "users": "2",
        "days": 6,
        "created_at": "2025-06-17T10:45:06.000000Z",
        "updated_at": "2025-06-17T10:45:06.000000Z"
    }
]
 

Request      

GET api/plans

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/plans/{id}

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

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": "No query results for model [App\\Models\\SubscriptionPlan] consequatur"
}
 

Request      

GET api/plans/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the plan. Example: consequatur

GET api/industry-categories

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/industry-categories" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/industry-categories"
);

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

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

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

[
    {
        "id": 5,
        "name": "Research",
        "created_at": "2025-06-17T09:17:19.000000Z",
        "updated_at": "2025-06-17T09:17:19.000000Z"
    }
]
 

Request      

GET api/industry-categories

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/industry-sub-categories/{industry_id}/sub-industries

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/industry-sub-categories/consequatur/sub-industries" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/industry-sub-categories/consequatur/sub-industries"
);

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": "No sub-domains found for this domain."
}
 

Request      

GET api/industry-sub-categories/{industry_id}/sub-industries

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

industry_id   string   

The ID of the industry. Example: consequatur

POST api/register-business

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

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

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

Request      

POST api/register-business

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/register-domain

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/register-domain" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"domain_name\": \"lJMn\",
    \"full_name\": \"uudtdsufvyvddqamniihf\",
    \"country\": \"consequatur\",
    \"email\": \"carolyne.luettgen@example.org\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/register-domain"
);

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

let body = {
    "domain_name": "lJMn",
    "full_name": "uudtdsufvyvddqamniihf",
    "country": "consequatur",
    "email": "carolyne.luettgen@example.org"
};

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

Request      

POST api/register-domain

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

domain_name   string   

Must match the regex /^[a-zA-Z0-9-]+$/. Example: lJMn

full_name   string   

Must not be greater than 255 characters. Example: uudtdsufvyvddqamniihf

country   string   

Example: consequatur

email   string   

Must be a valid email address. Example: carolyne.luettgen@example.org

GET api/verify-email/{token}

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/verify-email/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/verify-email/consequatur"
);

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

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

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Verification failed."
}
 

Request      

GET api/verify-email/{token}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

token   string   

Example: consequatur

POST api/resend-verification-email

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/resend-verification-email" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"qkunze@example.com\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/resend-verification-email"
);

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

let body = {
    "email": "qkunze@example.com"
};

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

Request      

POST api/resend-verification-email

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

GET api/business-workflows

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/business-workflows" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/business-workflows"
);

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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/business-workflows

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/business-workflows

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/business-workflows" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"vmqeopfuudtdsufvyvddq\",
    \"version\": \"amniihfqcoynlazghdtqt\",
    \"dynamic_form_id\": \"consequatur\",
    \"workflow_level_forms\": [
        {
            \"title\": \"vmqeopfuudtdsufvyvddq\",
            \"department_category_id\": \"consequatur\",
            \"department_team_member_id\": \"consequatur\",
            \"form_structure_json\": \"consequatur\"
        }
    ]
}"
const url = new URL(
    "http://127.0.0.1:8000/api/business-workflows"
);

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

let body = {
    "title": "vmqeopfuudtdsufvyvddq",
    "version": "amniihfqcoynlazghdtqt",
    "dynamic_form_id": "consequatur",
    "workflow_level_forms": [
        {
            "title": "vmqeopfuudtdsufvyvddq",
            "department_category_id": "consequatur",
            "department_team_member_id": "consequatur",
            "form_structure_json": "consequatur"
        }
    ]
};

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

Request      

POST api/business-workflows

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

title   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

version   string   

Must not be greater than 50 characters. Example: amniihfqcoynlazghdtqt

dynamic_form_id   string   

The id of an existing record in the dynamic_forms table. Example: consequatur

workflow_level_forms   object[]   

Must have at least 1 items.

title   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

business_workflow_id   string  optional  

The id of an existing record in the business_workflows table.

department_category_id   string   

The id of an existing record in the department_categories table. Example: consequatur

department_team_member_id   string   

Example: consequatur

form_structure_json   string   

Example: consequatur

GET api/business-workflows/{id}

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/business-workflows/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/business-workflows/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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/business-workflows/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the business workflow. Example: consequatur

PUT api/business-workflows/{id}

Example request:
curl --request PUT \
    "http://127.0.0.1:8000/api/business-workflows/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"vmqeopfuudtdsufvyvddq\",
    \"version\": \"amniihfqcoynlazghdtqt\",
    \"dynamic_form_id\": \"consequatur\",
    \"workflow_level_forms\": [
        {
            \"title\": \"vmqeopfuudtdsufvyvddq\",
            \"department_category_id\": \"consequatur\",
            \"department_team_member_id\": \"consequatur\",
            \"form_structure_json\": \"consequatur\"
        }
    ]
}"
const url = new URL(
    "http://127.0.0.1:8000/api/business-workflows/consequatur"
);

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

let body = {
    "title": "vmqeopfuudtdsufvyvddq",
    "version": "amniihfqcoynlazghdtqt",
    "dynamic_form_id": "consequatur",
    "workflow_level_forms": [
        {
            "title": "vmqeopfuudtdsufvyvddq",
            "department_category_id": "consequatur",
            "department_team_member_id": "consequatur",
            "form_structure_json": "consequatur"
        }
    ]
};

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

Request      

PUT api/business-workflows/{id}

PATCH api/business-workflows/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the business workflow. Example: consequatur

Body Parameters

title   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

version   string   

Must not be greater than 50 characters. Example: amniihfqcoynlazghdtqt

dynamic_form_id   string   

The id of an existing record in the dynamic_forms table. Example: consequatur

workflow_level_forms   object[]   

Must have at least 1 items.

title   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

business_workflow_id   string  optional  

The id of an existing record in the business_workflows table.

department_category_id   string   

The id of an existing record in the department_categories table. Example: consequatur

department_team_member_id   string   

Example: consequatur

form_structure_json   string   

Example: consequatur

DELETE api/business-workflows/{id}

Example request:
curl --request DELETE \
    "http://127.0.0.1:8000/api/business-workflows/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/business-workflows/consequatur"
);

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

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

Request      

DELETE api/business-workflows/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the business workflow. Example: consequatur

POST api/profile/change-password

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/profile/change-password" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"currentPassword\": \"consequatur\",
    \"password\": \"[2UZ5ij-e\\/dl4\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/profile/change-password"
);

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

let body = {
    "currentPassword": "consequatur",
    "password": "[2UZ5ij-e\/dl4"
};

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

Request      

POST api/profile/change-password

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

currentPassword   string   

Example: consequatur

password   string   

Must be at least 8 characters. Example: [2UZ5ij-e/dl4

POST api/profile/update

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/profile/update" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "first_name=consequatur"\
    --form "last_name=consequatur"\
    --form "organization=consequatur"\
    --form "profile_image=@C:\Users\DR11\AppData\Local\Temp\php97E6.tmp" \
    --form "signature=@C:\Users\DR11\AppData\Local\Temp\php97F6.tmp" 
const url = new URL(
    "http://127.0.0.1:8000/api/profile/update"
);

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

const body = new FormData();
body.append('first_name', 'consequatur');
body.append('last_name', 'consequatur');
body.append('organization', 'consequatur');
body.append('profile_image', document.querySelector('input[name="profile_image"]').files[0]);
body.append('signature', document.querySelector('input[name="signature"]').files[0]);

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

Request      

POST api/profile/update

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

profile_image   file  optional  

Must be an image. Must not be greater than 8000 kilobytes. Example: C:\Users\DR11\AppData\Local\Temp\php97E6.tmp

signature   file  optional  

Must be an image. Must not be greater than 8000 kilobytes. Example: C:\Users\DR11\AppData\Local\Temp\php97F6.tmp

first_name   string   

Example: consequatur

last_name   string   

Example: consequatur

organization   string  optional  

Example: consequatur

POST api/profile/update-billing

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/profile/update-billing" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"company_name\": \"consequatur\",
    \"billing_email\": \"carolyne.luettgen@example.org\",
    \"tax_id\": \"consequatur\",
    \"vat_number\": \"consequatur\",
    \"mobile_no\": \"consequatur\",
    \"billing_address\": \"consequatur\",
    \"billing_country\": \"consequatur\",
    \"billing_state\": \"consequatur\",
    \"billing_zip\": \"consequatur\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/profile/update-billing"
);

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

let body = {
    "company_name": "consequatur",
    "billing_email": "carolyne.luettgen@example.org",
    "tax_id": "consequatur",
    "vat_number": "consequatur",
    "mobile_no": "consequatur",
    "billing_address": "consequatur",
    "billing_country": "consequatur",
    "billing_state": "consequatur",
    "billing_zip": "consequatur"
};

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

Request      

POST api/profile/update-billing

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

company_name   string  optional  

Example: consequatur

billing_email   string  optional  

Must be a valid email address. Example: carolyne.luettgen@example.org

tax_id   string  optional  

Example: consequatur

vat_number   string  optional  

Example: consequatur

mobile_no   string  optional  

Example: consequatur

billing_address   string  optional  

Example: consequatur

billing_country   string  optional  

Example: consequatur

billing_state   string  optional  

Example: consequatur

billing_zip   string  optional  

Example: consequatur

GET api/profile/get-profile

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/profile/get-profile" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/profile/get-profile"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/profile/get-profile

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/users

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/users" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/users"
);

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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/users

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/users

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/users" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"qkunze@example.com\",
    \"password\": \"Z5ij-e\\/dl4m{o,\",
    \"name\": \"consequatur\",
    \"phone\": \"consequatur\",
    \"employee_id\": \"consequatur\",
    \"designation\": \"consequatur\",
    \"location\": \"consequatur\",
    \"timezone\": \"Europe\\/Malta\",
    \"role_id\": \"consequatur\",
    \"department_id\": \"consequatur\",
    \"status\": \"inactive\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/users"
);

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

let body = {
    "email": "qkunze@example.com",
    "password": "Z5ij-e\/dl4m{o,",
    "name": "consequatur",
    "phone": "consequatur",
    "employee_id": "consequatur",
    "designation": "consequatur",
    "location": "consequatur",
    "timezone": "Europe\/Malta",
    "role_id": "consequatur",
    "department_id": "consequatur",
    "status": "inactive"
};

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

Request      

POST api/users

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

email   string   

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

password   string   

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

name   string   

Example: consequatur

phone   string  optional  

Example: consequatur

employee_id   string  optional  

Example: consequatur

designation   string  optional  

Example: consequatur

location   string  optional  

Example: consequatur

timezone   string  optional  

Example: Europe/Malta

role_id   string   

The id of an existing record in the roles table. Example: consequatur

department_id   string   

The id of an existing record in the department_categories table. Example: consequatur

status   string  optional  

Example: inactive

Must be one of:
  • active
  • inactive

GET api/users/{id}

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/users/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/users/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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/users/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the user. Example: consequatur

PUT api/users/{id}

Example request:
curl --request PUT \
    "http://127.0.0.1:8000/api/users/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"phone\": \"consequatur\",
    \"employee_id\": \"consequatur\",
    \"designation\": \"consequatur\",
    \"location\": \"consequatur\",
    \"timezone\": \"Europe\\/Malta\",
    \"role_id\": \"consequatur\",
    \"department_id\": \"consequatur\",
    \"status\": \"active\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/users/consequatur"
);

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

let body = {
    "name": "consequatur",
    "phone": "consequatur",
    "employee_id": "consequatur",
    "designation": "consequatur",
    "location": "consequatur",
    "timezone": "Europe\/Malta",
    "role_id": "consequatur",
    "department_id": "consequatur",
    "status": "active"
};

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

Request      

PUT api/users/{id}

PATCH api/users/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the user. Example: consequatur

Body Parameters

email   string  optional  
name   string   

Example: consequatur

phone   string  optional  

Example: consequatur

employee_id   string  optional  

Example: consequatur

designation   string  optional  

Example: consequatur

location   string  optional  

Example: consequatur

timezone   string  optional  

Example: Europe/Malta

role_id   string   

The id of an existing record in the roles table. Example: consequatur

department_id   string   

The id of an existing record in the department_categories table. Example: consequatur

status   string  optional  

Example: active

Must be one of:
  • active
  • inactive

DELETE api/users/{id}

Example request:
curl --request DELETE \
    "http://127.0.0.1:8000/api/users/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/users/consequatur"
);

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

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

Request      

DELETE api/users/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the user. Example: consequatur

GET api/department-users/{department_id}

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/department-users/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/department-users/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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/department-users/{department_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

department_id   string   

The ID of the department. Example: consequatur

POST api/roles/{role_id}/permissions

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/roles/11/permissions" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"permissions\": []
}"
const url = new URL(
    "http://127.0.0.1:8000/api/roles/11/permissions"
);

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

let body = {
    "permissions": []
};

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

Request      

POST api/roles/{role_id}/permissions

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

role_id   integer   

The ID of the role. Example: 11

Body Parameters

permissions   object   

GET api/roles/{role_id}/permissions

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/roles/11/permissions" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/roles/11/permissions"
);

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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/roles/{role_id}/permissions

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

role_id   integer   

The ID of the role. Example: 11

GET api/roles

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/roles" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/roles"
);

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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/roles

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/roles

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/roles" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/roles"
);

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

let body = {
    "name": "consequatur"
};

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

Request      

POST api/roles

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: consequatur

description   string  optional  
permissions   object  optional  

GET api/roles/{id}

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/roles/11" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/roles/11"
);

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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/roles/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the role. Example: 11

PUT api/roles/{id}

Example request:
curl --request PUT \
    "http://127.0.0.1:8000/api/roles/11" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"vmqeopfuudtdsufvyvddq\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/roles/11"
);

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

let body = {
    "name": "vmqeopfuudtdsufvyvddq"
};

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

Request      

PUT api/roles/{id}

PATCH api/roles/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the role. Example: 11

Body Parameters

name   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional  
permissions   object  optional  

DELETE api/roles/{id}

Example request:
curl --request DELETE \
    "http://127.0.0.1:8000/api/roles/11" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/roles/11"
);

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

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

Request      

DELETE api/roles/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the role. Example: 11

GET api/permissions

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/permissions" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/permissions"
);

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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/permissions

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/permissions

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/permissions" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/permissions"
);

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

let body = {
    "name": "consequatur"
};

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

Request      

POST api/permissions

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: consequatur

PUT api/permissions/{id}

Example request:
curl --request PUT \
    "http://127.0.0.1:8000/api/permissions/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
const url = new URL(
    "http://127.0.0.1:8000/api/permissions/1"
);

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

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

Request      

PUT api/permissions/{id}

PATCH api/permissions/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the permission. Example: 1

Body Parameters

name   string  optional  

DELETE api/permissions/{id}

Example request:
curl --request DELETE \
    "http://127.0.0.1:8000/api/permissions/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/permissions/1"
);

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

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

Request      

DELETE api/permissions/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the permission. Example: 1

GET api/users/{user}/permissions

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/users/consequatur/permissions" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/users/consequatur/permissions"
);

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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/users/{user}/permissions

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

user   string   

The user. Example: consequatur

GET api/businesses/all

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/businesses/all" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/businesses/all"
);

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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/businesses/all

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/businesses

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/businesses" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/businesses"
);

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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/businesses

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

DELETE api/businesses/{id}

Example request:
curl --request DELETE \
    "http://127.0.0.1:8000/api/businesses/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/businesses/consequatur"
);

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

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

Request      

DELETE api/businesses/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the business. Example: consequatur

GET api/businesses/{id}

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/businesses/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/businesses/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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/businesses/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the business. Example: consequatur

PUT api/businesses/{id}

Example request:
curl --request PUT \
    "http://127.0.0.1:8000/api/businesses/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/businesses/consequatur"
);

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

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

Request      

PUT api/businesses/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the business. Example: consequatur

POST api/businesses/upload-temp-image

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/businesses/upload-temp-image" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "image=@C:\Users\DR11\AppData\Local\Temp\php98A3.tmp" 
const url = new URL(
    "http://127.0.0.1:8000/api/businesses/upload-temp-image"
);

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/businesses/upload-temp-image

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

image   file   

Must be an image. Must not be greater than 2048 kilobytes. Example: C:\Users\DR11\AppData\Local\Temp\php98A3.tmp

DELETE api/businesses/delete-temp-image

Example request:
curl --request DELETE \
    "http://127.0.0.1:8000/api/businesses/delete-temp-image" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/businesses/delete-temp-image"
);

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

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

Request      

DELETE api/businesses/delete-temp-image

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

PUT api/businesses/restore/{id}

Example request:
curl --request PUT \
    "http://127.0.0.1:8000/api/businesses/restore/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/businesses/restore/consequatur"
);

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

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

Request      

PUT api/businesses/restore/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the restore. Example: consequatur

GET api/company/{id}

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/company/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/company/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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/company/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the company. Example: consequatur

PUT api/company/{id}

Example request:
curl --request PUT \
    "http://127.0.0.1:8000/api/company/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/company/consequatur"
);

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

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

Request      

PUT api/company/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the company. Example: consequatur

GET api/industries

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/industries" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/industries"
);

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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/industries

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/industries/{id}

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/industries/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/industries/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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/industries/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the industry. Example: consequatur

POST api/industries

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

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

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

Request      

POST api/industries

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

PUT api/industries/{id}

Example request:
curl --request PUT \
    "http://127.0.0.1:8000/api/industries/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/industries/consequatur"
);

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

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

Request      

PUT api/industries/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the industry. Example: consequatur

DELETE api/industries/{id}

Example request:
curl --request DELETE \
    "http://127.0.0.1:8000/api/industries/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/industries/consequatur"
);

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

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

Request      

DELETE api/industries/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the industry. Example: consequatur

POST api/industry-categories

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/industry-categories" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"vmqeopfuudtdsufvyvddq\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/industry-categories"
);

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

let body = {
    "name": "vmqeopfuudtdsufvyvddq"
};

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

Request      

POST api/industry-categories

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

PUT api/industry-categories/{id}

Example request:
curl --request PUT \
    "http://127.0.0.1:8000/api/industry-categories/5" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"vmqeopfuudtdsufvyvddq\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/industry-categories/5"
);

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

let body = {
    "name": "vmqeopfuudtdsufvyvddq"
};

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

Request      

PUT api/industry-categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the industry category. Example: 5

Body Parameters

name   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

DELETE api/industry-categories/{id}

Example request:
curl --request DELETE \
    "http://127.0.0.1:8000/api/industry-categories/5" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/industry-categories/5"
);

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

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

Request      

DELETE api/industry-categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the industry category. Example: 5

GET api/industry-sub-categories

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/industry-sub-categories" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/industry-sub-categories"
);

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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/industry-sub-categories

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/industry-sub-categories

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/industry-sub-categories" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"subCategoryName\": \"vmqeopfuudtdsufvyvddq\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/industry-sub-categories"
);

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

let body = {
    "subCategoryName": "vmqeopfuudtdsufvyvddq"
};

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

Request      

POST api/industry-sub-categories

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

subCategoryName   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

categoryName   string  optional  

The id of an existing record in the industry_categories table.

GET api/industry-sub-categories/{id}

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/industry-sub-categories/2" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/industry-sub-categories/2"
);

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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/industry-sub-categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the industry sub category. Example: 2

PUT api/industry-sub-categories/{id}

Example request:
curl --request PUT \
    "http://127.0.0.1:8000/api/industry-sub-categories/2" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"subCategoryName\": \"vmqeopfuudtdsufvyvddq\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/industry-sub-categories/2"
);

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

let body = {
    "subCategoryName": "vmqeopfuudtdsufvyvddq"
};

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

Request      

PUT api/industry-sub-categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the industry sub category. Example: 2

Body Parameters

subCategoryName   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

categoryName   string  optional  

The id of an existing record in the industry_categories table.

DELETE api/industry-sub-categories/{id}

Example request:
curl --request DELETE \
    "http://127.0.0.1:8000/api/industry-sub-categories/2" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/industry-sub-categories/2"
);

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

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

Request      

DELETE api/industry-sub-categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the industry sub category. Example: 2

GET api/industry-third-level-categories

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/industry-third-level-categories" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/industry-third-level-categories"
);

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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/industry-third-level-categories

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/industry-third-level-categories

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/industry-third-level-categories" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"thirdLevelCategoryName\": \"vmqeopfuudtdsufvyvddq\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/industry-third-level-categories"
);

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

let body = {
    "thirdLevelCategoryName": "vmqeopfuudtdsufvyvddq"
};

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

Request      

POST api/industry-third-level-categories

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

thirdLevelCategoryName   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

categoryName   string  optional  

The id of an existing record in the industry_categories table.

subCategoryName   string  optional  

The id of an existing record in the industry_sub_categories table.

GET api/industry-third-level-categories/{id}

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/industry-third-level-categories/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/industry-third-level-categories/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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/industry-third-level-categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the industry third level category. Example: consequatur

PUT api/industry-third-level-categories/{id}

Example request:
curl --request PUT \
    "http://127.0.0.1:8000/api/industry-third-level-categories/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"thirdLevelCategoryName\": \"vmqeopfuudtdsufvyvddq\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/industry-third-level-categories/consequatur"
);

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

let body = {
    "thirdLevelCategoryName": "vmqeopfuudtdsufvyvddq"
};

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

Request      

PUT api/industry-third-level-categories/{id}

PATCH api/industry-third-level-categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the industry third level category. Example: consequatur

Body Parameters

thirdLevelCategoryName   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

categoryName   string  optional  

The id of an existing record in the industry_categories table.

subCategoryName   string  optional  

The id of an existing record in the industry_sub_categories table.

DELETE api/industry-third-level-categories/{id}

Example request:
curl --request DELETE \
    "http://127.0.0.1:8000/api/industry-third-level-categories/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/industry-third-level-categories/consequatur"
);

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

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

Request      

DELETE api/industry-third-level-categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the industry third level category. Example: consequatur

GET api/industry-third-level-categories/{industry_id}/third-level-sub-industries

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/industry-third-level-categories/consequatur/third-level-sub-industries" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/industry-third-level-categories/consequatur/third-level-sub-industries"
);

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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/industry-third-level-categories/{industry_id}/third-level-sub-industries

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

industry_id   string   

The ID of the industry. Example: consequatur

GET api/companies

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/companies" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/companies"
);

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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/companies

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/companies

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/companies" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"company_name\": \"vmqeopfuudtdsufvyvddq\",
    \"primary_industry_id\": \"consequatur\",
    \"email\": \"carolyne.luettgen@example.org\",
    \"password\": \"ij-e\\/dl4m\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/companies"
);

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

let body = {
    "company_name": "vmqeopfuudtdsufvyvddq",
    "primary_industry_id": "consequatur",
    "email": "carolyne.luettgen@example.org",
    "password": "ij-e\/dl4m"
};

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

Request      

POST api/companies

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

company_name   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

primary_industry_id   string   

The id of an existing record in the industry_categories table. Example: consequatur

sub_industry_id   string  optional  

The id of an existing record in the industry_sub_categories table.

email   string   

Must be a valid email address. Example: carolyne.luettgen@example.org

password   string   

Must be at least 6 characters. Example: ij-e/dl4m

GET api/companies/{id}

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/companies/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/companies/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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/companies/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the company. Example: consequatur

PUT api/companies/{id}

Example request:
curl --request PUT \
    "http://127.0.0.1:8000/api/companies/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/companies/consequatur"
);

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

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

Request      

PUT api/companies/{id}

PATCH api/companies/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the company. Example: consequatur

DELETE api/companies/{id}

Example request:
curl --request DELETE \
    "http://127.0.0.1:8000/api/companies/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/companies/consequatur"
);

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

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

Request      

DELETE api/companies/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the company. Example: consequatur

GET api/tickets

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/tickets" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/tickets"
);

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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/tickets

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/tickets

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/tickets" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"contact\": \"qkunze@example.com\",
    \"subject\": \"consequatur\",
    \"type\": \"question\",
    \"status\": \"open\",
    \"priority\": \"medium\",
    \"description\": \"Dolorum amet iste laborum eius est dolor.\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/tickets"
);

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

let body = {
    "contact": "qkunze@example.com",
    "subject": "consequatur",
    "type": "question",
    "status": "open",
    "priority": "medium",
    "description": "Dolorum amet iste laborum eius est dolor."
};

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

Request      

POST api/tickets

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

contact   string   

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

subject   string   

Example: consequatur

type   string   

Example: question

Must be one of:
  • question
  • issue
  • feature_request
  • other
status   string   

Example: open

Must be one of:
  • open
  • in_progress
  • closed
priority   string   

Example: medium

Must be one of:
  • low
  • medium
  • high
  • urgent
assigned_to   string  optional  

The id of an existing record in the users table.

description   string   

Must be at least 10 characters. Example: Dolorum amet iste laborum eius est dolor.

tags   object  optional  

GET api/tickets/{id}

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/tickets/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/tickets/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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/tickets/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the ticket. Example: consequatur

PUT api/tickets/{id}

Example request:
curl --request PUT \
    "http://127.0.0.1:8000/api/tickets/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/tickets/consequatur"
);

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

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

Request      

PUT api/tickets/{id}

PATCH api/tickets/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the ticket. Example: consequatur

DELETE api/tickets/{id}

Example request:
curl --request DELETE \
    "http://127.0.0.1:8000/api/tickets/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/tickets/consequatur"
);

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

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

Request      

DELETE api/tickets/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the ticket. Example: consequatur

GET api/surveys

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/surveys" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/surveys"
);

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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/surveys

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/surveys

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/surveys" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"survey_title\": \"consequatur\",
    \"survey_description\": \"consequatur\",
    \"department_category_id\": \"consequatur\",
    \"target_audience\": \"consequatur\",
    \"survey_type\": \"consequatur\",
    \"anonymous_responses\": false,
    \"start_date\": \"2025-06-18T07:27:09\",
    \"end_date\": \"2025-06-18T07:27:09\",
    \"email_copy_to_respondent\": \"carolyne.luettgen@example.org\",
    \"redirect_url\": \"http:\\/\\/www.russel.info\\/minus-voluptatem-quisquam-quibusdam-sed\",
    \"comment_box\": \"consequatur\",
    \"thank_you_message\": \"consequatur\",
    \"fields\": \"[\\\"consequatur\\\",\\\"consequatur\\\"]\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/surveys"
);

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

let body = {
    "survey_title": "consequatur",
    "survey_description": "consequatur",
    "department_category_id": "consequatur",
    "target_audience": "consequatur",
    "survey_type": "consequatur",
    "anonymous_responses": false,
    "start_date": "2025-06-18T07:27:09",
    "end_date": "2025-06-18T07:27:09",
    "email_copy_to_respondent": "carolyne.luettgen@example.org",
    "redirect_url": "http:\/\/www.russel.info\/minus-voluptatem-quisquam-quibusdam-sed",
    "comment_box": "consequatur",
    "thank_you_message": "consequatur",
    "fields": "[\"consequatur\",\"consequatur\"]"
};

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

Request      

POST api/surveys

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

survey_title   string   

Example: consequatur

survey_description   string   

Example: consequatur

department_category_id   string   

The id of an existing record in the department_categories table. Example: consequatur

target_audience   string   

Example: consequatur

survey_type   string   

Example: consequatur

anonymous_responses   boolean   

Example: false

start_date   string   

Must be a valid date. Example: 2025-06-18T07:27:09

end_date   string   

Must be a valid date. Example: 2025-06-18T07:27:09

email_copy_to_respondent   string   

Must be a valid email address. Example: carolyne.luettgen@example.org

redirect_url   string   

Must be a valid URL. Example: http://www.russel.info/minus-voluptatem-quisquam-quibusdam-sed

comment_box   string  optional  

Example: consequatur

thank_you_message   string  optional  

Example: consequatur

fields   string  optional  

Must be a valid JSON string. Example: ["consequatur","consequatur"]

GET api/surveys/{id}

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/surveys/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/surveys/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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/surveys/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the survey. Example: consequatur

PUT api/surveys/{id}

Example request:
curl --request PUT \
    "http://127.0.0.1:8000/api/surveys/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"survey_title\": \"vmqeopfuudtdsufvyvddq\",
    \"survey_description\": \"consequatur\",
    \"department_category_id\": \"consequatur\",
    \"target_audience\": \"consequatur\",
    \"survey_type\": \"consequatur\",
    \"anonymous_responses\": false,
    \"start_date\": \"2025-06-18T07:27:09\",
    \"end_date\": \"2025-06-18T07:27:09\",
    \"email_copy_to_respondent\": \"carolyne.luettgen@example.org\",
    \"redirect_url\": \"http:\\/\\/kunze.biz\\/iste-laborum-eius-est-dolor.html\",
    \"comment_box\": \"consequatur\",
    \"thank_you_message\": \"consequatur\",
    \"fields\": \"[\\\"consequatur\\\",\\\"consequatur\\\"]\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/surveys/consequatur"
);

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

let body = {
    "survey_title": "vmqeopfuudtdsufvyvddq",
    "survey_description": "consequatur",
    "department_category_id": "consequatur",
    "target_audience": "consequatur",
    "survey_type": "consequatur",
    "anonymous_responses": false,
    "start_date": "2025-06-18T07:27:09",
    "end_date": "2025-06-18T07:27:09",
    "email_copy_to_respondent": "carolyne.luettgen@example.org",
    "redirect_url": "http:\/\/kunze.biz\/iste-laborum-eius-est-dolor.html",
    "comment_box": "consequatur",
    "thank_you_message": "consequatur",
    "fields": "[\"consequatur\",\"consequatur\"]"
};

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

Request      

PUT api/surveys/{id}

PATCH api/surveys/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the survey. Example: consequatur

Body Parameters

survey_title   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

survey_description   string   

Example: consequatur

department_category_id   string   

The id of an existing record in the department_categories table. Example: consequatur

target_audience   string   

Example: consequatur

survey_type   string   

Example: consequatur

anonymous_responses   boolean   

Example: false

start_date   string  optional  

Must be a valid date. Example: 2025-06-18T07:27:09

end_date   string  optional  

Must be a valid date. Example: 2025-06-18T07:27:09

email_copy_to_respondent   string   

Must be a valid email address. Example: carolyne.luettgen@example.org

redirect_url   string  optional  

Example: http://kunze.biz/iste-laborum-eius-est-dolor.html

comment_box   string  optional  

Example: consequatur

thank_you_message   string  optional  

Example: consequatur

fields   string  optional  

Must be a valid JSON string. Example: ["consequatur","consequatur"]

DELETE api/surveys/{id}

Example request:
curl --request DELETE \
    "http://127.0.0.1:8000/api/surveys/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/surveys/consequatur"
);

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

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

Request      

DELETE api/surveys/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the survey. Example: consequatur

GET api/department-categories

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/department-categories" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/department-categories"
);

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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/department-categories

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/department-categories

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/department-categories" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/department-categories"
);

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

let body = {
    "name": "consequatur"
};

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

Request      

POST api/department-categories

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: consequatur

parent_id   string  optional  

The id of an existing record in the department_categories table.

PUT api/department-categories/{id}

Example request:
curl --request PUT \
    "http://127.0.0.1:8000/api/department-categories/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/department-categories/consequatur"
);

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

let body = {
    "name": "consequatur"
};

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

Request      

PUT api/department-categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the department category. Example: consequatur

Body Parameters

name   string   

Example: consequatur

parent_id   string  optional  

The id of an existing record in the department_categories table.

DELETE api/department-categories/{id}

Example request:
curl --request DELETE \
    "http://127.0.0.1:8000/api/department-categories/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/department-categories/consequatur"
);

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

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

Request      

DELETE api/department-categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the department category. Example: consequatur

GET api/categories

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/categories" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/categories"
);

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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/categories

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/categories

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/categories" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"type\": \"consequatur\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/categories"
);

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

let body = {
    "name": "consequatur",
    "type": "consequatur"
};

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

Request      

POST api/categories

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: consequatur

type   string   

Example: consequatur

parent_id   string  optional  

The id of an existing record in the categories table.

PUT api/categories/{id}

Example request:
curl --request PUT \
    "http://127.0.0.1:8000/api/categories/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"type\": \"consequatur\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/categories/consequatur"
);

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

let body = {
    "name": "consequatur",
    "type": "consequatur"
};

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

Request      

PUT api/categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the category. Example: consequatur

Body Parameters

name   string   

Example: consequatur

type   string   

Example: consequatur

parent_id   string  optional  

The id of an existing record in the categories table.

DELETE api/categories/{id}

Example request:
curl --request DELETE \
    "http://127.0.0.1:8000/api/categories/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/categories/consequatur"
);

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

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

Request      

DELETE api/categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the category. Example: consequatur

POST api/save-form

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/save-form" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"formName\": \"vmqeopfuudtdsufvyvddq\",
    \"formCode\": \"amniihfqcoynlazghdtqt\",
    \"formDescription\": \"consequatur\",
    \"ownerDepartment\": 11613.31890586,
    \"firstLevelCategory\": 14,
    \"secondLevelCategory\": 16,
    \"thirdLevelCategory\": 6,
    \"fields\": [],
    \"formStatus\": \"consequatur\",
    \"targetAudience\": \"consequatur\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/save-form"
);

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

let body = {
    "formName": "vmqeopfuudtdsufvyvddq",
    "formCode": "amniihfqcoynlazghdtqt",
    "formDescription": "consequatur",
    "ownerDepartment": 11613.31890586,
    "firstLevelCategory": 14,
    "secondLevelCategory": 16,
    "thirdLevelCategory": 6,
    "fields": [],
    "formStatus": "consequatur",
    "targetAudience": "consequatur"
};

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

Request      

POST api/save-form

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

formName   string   

'serialNumber' => 'required|numeric|max:255',. Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

formCode   string   

Must not be greater than 255 characters. Example: amniihfqcoynlazghdtqt

formDescription   string   

Example: consequatur

ownerDepartment   number   

The id of an existing record in the department_categories table. Example: 11613.31890586

firstLevelCategory   number   

Must not be greater than 255. Example: 14

secondLevelCategory   number   

Must not be greater than 255. Example: 16

thirdLevelCategory   number   

Must not be greater than 255. Example: 6

fields   object   

'version' => 'required|string|max:50',.

formStatus   string   

Example: consequatur

targetAudience   string   

Example: consequatur

GET api/forms

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/forms" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/forms"
);

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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/forms

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/forms/{id}

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/forms/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/forms/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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/forms/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the form. Example: consequatur

PUT api/forms/{id}

Example request:
curl --request PUT \
    "http://127.0.0.1:8000/api/forms/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"formName\": \"vmqeopfuudtdsufvyvddq\",
    \"formCode\": \"amniihfqcoynlazghdtqt\",
    \"formDescription\": \"consequatur\",
    \"ownerDepartment\": 11613.31890586,
    \"firstLevelCategory\": 14,
    \"secondLevelCategory\": 16,
    \"thirdLevelCategory\": 6,
    \"fields\": [],
    \"formStatus\": \"consequatur\",
    \"targetAudience\": \"consequatur\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/forms/consequatur"
);

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

let body = {
    "formName": "vmqeopfuudtdsufvyvddq",
    "formCode": "amniihfqcoynlazghdtqt",
    "formDescription": "consequatur",
    "ownerDepartment": 11613.31890586,
    "firstLevelCategory": 14,
    "secondLevelCategory": 16,
    "thirdLevelCategory": 6,
    "fields": [],
    "formStatus": "consequatur",
    "targetAudience": "consequatur"
};

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

Request      

PUT api/forms/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the form. Example: consequatur

Body Parameters

formName   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

formCode   string   

Must not be greater than 255 characters. Example: amniihfqcoynlazghdtqt

formDescription   string   

Example: consequatur

ownerDepartment   number   

The id of an existing record in the department_categories table. Example: 11613.31890586

firstLevelCategory   number   

Must not be greater than 255. Example: 14

secondLevelCategory   number   

Must not be greater than 255. Example: 16

thirdLevelCategory   number   

Must not be greater than 255. Example: 6

fields   object   
formStatus   string   

Example: consequatur

targetAudience   string   

Example: consequatur

DELETE api/forms/{id}/delete

Example request:
curl --request DELETE \
    "http://127.0.0.1:8000/api/forms/consequatur/delete" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/forms/consequatur/delete"
);

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

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

Request      

DELETE api/forms/{id}/delete

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the form. Example: consequatur

GET api/forms/{id}/recover

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/forms/consequatur/recover" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/forms/consequatur/recover"
);

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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/forms/{id}/recover

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the form. Example: consequatur

POST api/forms/{id}/duplicate

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/forms/consequatur/duplicate" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/forms/consequatur/duplicate"
);

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

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

Request      

POST api/forms/{id}/duplicate

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the form. Example: consequatur

GET api/forms/{id}/toggle

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/forms/consequatur/toggle" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/forms/consequatur/toggle"
);

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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/forms/{id}/toggle

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the form. Example: consequatur

POST api/save-workflow

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/save-workflow" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"serialNumber\": 21,
    \"workflowName\": \"mqeopfuudtdsufvyvddqa\",
    \"formID\": 13,
    \"version\": \"niihfqcoynlazghdtqtqx\",
    \"workflowLevel\": \"bajwbpilpmufinllwloau\",
    \"workflowTrigger\": 24,
    \"fields\": []
}"
const url = new URL(
    "http://127.0.0.1:8000/api/save-workflow"
);

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

let body = {
    "serialNumber": 21,
    "workflowName": "mqeopfuudtdsufvyvddqa",
    "formID": 13,
    "version": "niihfqcoynlazghdtqtqx",
    "workflowLevel": "bajwbpilpmufinllwloau",
    "workflowTrigger": 24,
    "fields": []
};

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

Request      

POST api/save-workflow

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

serialNumber   number   

Must not be greater than 255. Example: 21

workflowName   string   

Must not be greater than 255 characters. Example: mqeopfuudtdsufvyvddqa

formID   number   

'workflowIndustry' => 'required|string|max:255',. Must not be greater than 255. Example: 13

version   string   

Must not be greater than 50 characters. Example: niihfqcoynlazghdtqtqx

workflowLevel   string   

Must not be greater than 50 characters. Example: bajwbpilpmufinllwloau

workflowTrigger   number   

Must not be greater than 50. Example: 24

fields   object   

'department' => 'required|string|max:50', 'teamMember' => 'required|string|max:50',.

GET api/workflows

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/workflows" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/workflows"
);

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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/workflows

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/workflows/{id}

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/workflows/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/workflows/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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/workflows/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the workflow. Example: consequatur

PUT api/workflows/{id}

Example request:
curl --request PUT \
    "http://127.0.0.1:8000/api/workflows/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"serialNumber\": 21,
    \"workflowName\": \"mqeopfuudtdsufvyvddqa\",
    \"formID\": 13,
    \"version\": \"niihfqcoynlazghdtqtqx\",
    \"workflowLevel\": \"bajwbpilpmufinllwloau\",
    \"workflowTrigger\": 24,
    \"fields\": []
}"
const url = new URL(
    "http://127.0.0.1:8000/api/workflows/consequatur"
);

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

let body = {
    "serialNumber": 21,
    "workflowName": "mqeopfuudtdsufvyvddqa",
    "formID": 13,
    "version": "niihfqcoynlazghdtqtqx",
    "workflowLevel": "bajwbpilpmufinllwloau",
    "workflowTrigger": 24,
    "fields": []
};

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

Request      

PUT api/workflows/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the workflow. Example: consequatur

Body Parameters

serialNumber   number   

Must not be greater than 255. Example: 21

workflowName   string   

Must not be greater than 255 characters. Example: mqeopfuudtdsufvyvddqa

formID   number   

'workflowIndustry' => 'required|string|max:255',. Must not be greater than 255. Example: 13

version   string   

Must not be greater than 50 characters. Example: niihfqcoynlazghdtqtqx

workflowLevel   string   

Must not be greater than 50 characters. Example: bajwbpilpmufinllwloau

workflowTrigger   number   

Must not be greater than 50. Example: 24

fields   object   

'department' => 'required|string|max:50', 'teamMember' => 'required|string|max:50',.

GET api/recover/{module}/{id}

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/recover/consequatur/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/recover/consequatur/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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/recover/{module}/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

module   string   

Example: consequatur

id   string   

The ID of the {module}. Example: consequatur

POST api/blogs

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/blogs" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=vmqeopfuudtdsufvyvddq"\
    --form "slug=amniihfqcoynlazghdtqt"\
    --form "summary=consequatur"\
    --form "content=consequatur"\
    --form "metaTitle=mqeopfuudtdsufvyvddqa"\
    --form "tags=mniihfqcoynlazghdtqtq"\
    --form "metaDescription=consequatur"\
    --form "authorName=mqeopfuudtdsufvyvddqa"\
    --form "desiredModules=mniihfqcoynlazghdtqtq"\
    --form "status=Scheduled"\
    --form "publishDate=2025-06-18T07:27:09"\
    --form "scheduledPublishDate=2025-06-18T07:27:09"\
    --form "allowComments=1"\
    --form "isFeatured=1"\
    --form "isPinned="\
    --form "image=@C:\Users\DR11\AppData\Local\Temp\php9A0D.tmp" 
const url = new URL(
    "http://127.0.0.1:8000/api/blogs"
);

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

const body = new FormData();
body.append('title', 'vmqeopfuudtdsufvyvddq');
body.append('slug', 'amniihfqcoynlazghdtqt');
body.append('summary', 'consequatur');
body.append('content', 'consequatur');
body.append('metaTitle', 'mqeopfuudtdsufvyvddqa');
body.append('tags', 'mniihfqcoynlazghdtqtq');
body.append('metaDescription', 'consequatur');
body.append('authorName', 'mqeopfuudtdsufvyvddqa');
body.append('desiredModules', 'mniihfqcoynlazghdtqtq');
body.append('status', 'Scheduled');
body.append('publishDate', '2025-06-18T07:27:09');
body.append('scheduledPublishDate', '2025-06-18T07:27:09');
body.append('allowComments', '1');
body.append('isFeatured', '1');
body.append('isPinned', '');
body.append('image', document.querySelector('input[name="image"]').files[0]);

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

Request      

POST api/blogs

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

title   string   

Blog Content Section. Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

slug   string   

Must not be greater than 255 characters. Example: amniihfqcoynlazghdtqt

department   string  optional  

The id of an existing record in the department_categories table.

image   file  optional  

Must be an image. Must not be greater than 2048 kilobytes. Example: C:\Users\DR11\AppData\Local\Temp\php9A0D.tmp

summary   string  optional  

Example: consequatur

content   string  optional  

Example: consequatur

metaTitle   string  optional  

Must not be greater than 255 characters. Example: mqeopfuudtdsufvyvddqa

tags   string  optional  

Must not be greater than 255 characters. Example: mniihfqcoynlazghdtqtq

metaDescription   string  optional  

Example: consequatur

authorName   string  optional  

Must not be greater than 255 characters. Example: mqeopfuudtdsufvyvddqa

desiredModules   string  optional  

Must not be greater than 255 characters. Example: mniihfqcoynlazghdtqtq

status   string  optional  

Example: Scheduled

Must be one of:
  • Published
  • Draft
  • Scheduled
  • Pending
publishDate   string  optional  

Must be a valid date. Example: 2025-06-18T07:27:09

scheduledPublishDate   string  optional  

Must be a valid date. Example: 2025-06-18T07:27:09

allowComments   boolean  optional  

Example: true

isFeatured   boolean  optional  

Example: true

isPinned   boolean  optional  

Example: false

GET api/blogs/{id}

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/blogs/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/blogs/1"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/blogs/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the blog. Example: 1

PUT api/blogs/{id}

Example request:
curl --request PUT \
    "http://127.0.0.1:8000/api/blogs/1" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=vmqeopfuudtdsufvyvddq"\
    --form "summary=consequatur"\
    --form "content=consequatur"\
    --form "metaTitle=mqeopfuudtdsufvyvddqa"\
    --form "tags=mniihfqcoynlazghdtqtq"\
    --form "metaDescription=consequatur"\
    --form "authorName=mqeopfuudtdsufvyvddqa"\
    --form "desiredModules=mniihfqcoynlazghdtqtq"\
    --form "status=Scheduled"\
    --form "publishDate=2025-06-18T07:27:09"\
    --form "scheduledPublishDate=2025-06-18T07:27:09"\
    --form "allowComments=1"\
    --form "isFeatured=1"\
    --form "isPinned="\
    --form "image=@C:\Users\DR11\AppData\Local\Temp\php9A2D.tmp" 
const url = new URL(
    "http://127.0.0.1:8000/api/blogs/1"
);

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

const body = new FormData();
body.append('title', 'vmqeopfuudtdsufvyvddq');
body.append('summary', 'consequatur');
body.append('content', 'consequatur');
body.append('metaTitle', 'mqeopfuudtdsufvyvddqa');
body.append('tags', 'mniihfqcoynlazghdtqtq');
body.append('metaDescription', 'consequatur');
body.append('authorName', 'mqeopfuudtdsufvyvddqa');
body.append('desiredModules', 'mniihfqcoynlazghdtqtq');
body.append('status', 'Scheduled');
body.append('publishDate', '2025-06-18T07:27:09');
body.append('scheduledPublishDate', '2025-06-18T07:27:09');
body.append('allowComments', '1');
body.append('isFeatured', '1');
body.append('isPinned', '');
body.append('image', document.querySelector('input[name="image"]').files[0]);

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

Request      

PUT api/blogs/{id}

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the blog. Example: 1

Body Parameters

title   string   

Blog Content Section. Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

slug   string  optional  
department   string  optional  

The id of an existing record in the department_categories table.

image   file  optional  

Must be an image. Must not be greater than 2048 kilobytes. Example: C:\Users\DR11\AppData\Local\Temp\php9A2D.tmp

summary   string  optional  

Example: consequatur

content   string  optional  

Example: consequatur

metaTitle   string  optional  

Must not be greater than 255 characters. Example: mqeopfuudtdsufvyvddqa

tags   string  optional  

Must not be greater than 255 characters. Example: mniihfqcoynlazghdtqtq

metaDescription   string  optional  

Example: consequatur

authorName   string  optional  

Must not be greater than 255 characters. Example: mqeopfuudtdsufvyvddqa

desiredModules   string  optional  

Must not be greater than 255 characters. Example: mniihfqcoynlazghdtqtq

status   string  optional  

Example: Scheduled

Must be one of:
  • Published
  • Draft
  • Scheduled
  • Pending
publishDate   string  optional  

Must be a valid date. Example: 2025-06-18T07:27:09

scheduledPublishDate   string  optional  

Must be a valid date. Example: 2025-06-18T07:27:09

allowComments   boolean  optional  

Example: true

isFeatured   boolean  optional  

Example: true

isPinned   boolean  optional  

Example: false

DELETE api/blogs/{id}

Example request:
curl --request DELETE \
    "http://127.0.0.1:8000/api/blogs/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/blogs/1"
);

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

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

Request      

DELETE api/blogs/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the blog. Example: 1

GET api/terms

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/api/terms" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/terms"
);

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: *
 

{
    "error": "Token not found"
}
 

Request      

GET api/terms

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

PUT api/terms

Example request:
curl --request PUT \
    "http://127.0.0.1:8000/api/terms" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"content\": \"consequatur\"
}"
const url = new URL(
    "http://127.0.0.1:8000/api/terms"
);

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

let body = {
    "content": "consequatur"
};

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

Request      

PUT api/terms

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

content   string   

Example: consequatur

POST api/plans

Example request:
curl --request POST \
    "http://127.0.0.1:8000/api/plans" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"price\": \"consequatur\",
    \"users\": 45,
    \"days\": 56
}"
const url = new URL(
    "http://127.0.0.1:8000/api/plans"
);

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

let body = {
    "name": "consequatur",
    "price": "consequatur",
    "users": 45,
    "days": 56
};

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

Request      

POST api/plans

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: consequatur

price   string   

Example: consequatur

domain   string  optional  
bandwidth   string  optional  
storage   string  optional  
users   number   

Must be at least 1. Example: 45

days   number   

Must be at least 1. Example: 56

email_support   string  optional  
hourly_support   string  optional  

PUT api/plans/{id}/update

Example request:
curl --request PUT \
    "http://127.0.0.1:8000/api/plans/consequatur/update" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"price\": \"consequatur\",
    \"users\": 45,
    \"days\": 56
}"
const url = new URL(
    "http://127.0.0.1:8000/api/plans/consequatur/update"
);

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

let body = {
    "name": "consequatur",
    "price": "consequatur",
    "users": 45,
    "days": 56
};

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

Request      

PUT api/plans/{id}/update

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the plan. Example: consequatur

Body Parameters

name   string   

Example: consequatur

price   string   

Example: consequatur

domain   string  optional  
bandwidth   string  optional  
storage   string  optional  
users   number   

Must be at least 1. Example: 45

days   number   

Must be at least 1. Example: 56

email_support   string  optional  
hourly_support   string  optional  

DELETE api/plans/{plan_id}

Example request:
curl --request DELETE \
    "http://127.0.0.1:8000/api/plans/2" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/api/plans/2"
);

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

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

Request      

DELETE api/plans/{plan_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

plan_id   integer   

The ID of the plan. Example: 2

GET up

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/up" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/up"
);

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

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

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
 

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>Laravel</title>

    <!-- Fonts -->
    <link rel="preconnect" href="https://fonts.bunny.net">
    <link href="https://fonts.bunny.net/css?family=figtree:400,600&display=swap" rel="stylesheet" />

    <!-- Styles -->
    <script src="https://cdn.tailwindcss.com"></script>

    <script>
        tailwind.config = {
            theme: {
                extend: {
                    fontFamily: {
                        sans: ['Figtree', 'ui-sans-serif', 'system-ui', 'sans-serif', "Apple Color Emoji", "Segoe UI Emoji"],
                    }
                }
            }
        }
    </script>
</head>
<body class="antialiased">
<div class="relative flex justify-center items-center min-h-screen bg-gray-100 selection:bg-red-500 selection:text-white">
    <div class="w-full sm:w-3/4 xl:w-1/2 mx-auto p-6">
        <div class="px-6 py-4 bg-white from-gray-700/50 via-transparent rounded-lg shadow-2xl shadow-gray-500/20 flex items-center focus:outline focus:outline-2 focus:outline-red-500">
            <div class="relative flex h-3 w-3 group ">
                <span class="animate-ping absolute inline-flex h-full w-full rounded-full bg-green-400 group-[.status-down]:bg-red-600 opacity-75"></span>
                <span class="relative inline-flex rounded-full h-3 w-3 bg-green-400 group-[.status-down]:bg-red-600"></span>
            </div>

            <div class="ml-6">
                <h2 class="text-xl font-semibold text-gray-900">Application up</h2>

                <p class="mt-2 text-gray-500 dark:text-gray-400 text-sm leading-relaxed">
                    HTTP request received.

                                            Response rendered in 1756ms.
                                    </p>
            </div>
        </div>
    </div>
</div>
</body>
</html>

 

Request      

GET up

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET optimize

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/optimize" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/optimize"
);

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

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

Example response (200):

Show headers
content-type: text/html; charset=UTF-8
cache-control: no-cache, private
set-cookie: XSRF-TOKEN=eyJpdiI6ImhLRnRYMFdqV2o1d0R1OHluc293ZUE9PSIsInZhbHVlIjoieHh6a0craU9UTGJsVWtTVER3YnNjRTZqa2dGNkhqYlhGakVudzdiWXRYK0QwdWJGUUhxcHUxWk5UVEFlOEJ3dkxPRytwcy95ZzBSYy9RZTFudGI2U3B1NHNWQlVXQXZqd1dmSzM5b28yaVk5cUlBYWVyY2FOdmVhOUlIZWo2NzUiLCJtYWMiOiJiYjczNDcwODlkZGYyYTRlNjE2MTRmM2QyYjBiNjcxNzU0NDEyOWRmODllNTQyNGNjNGY0NWNmOGVkZmFiNmM5IiwidGFnIjoiIn0%3D; expires=Wed, 18 Jun 2025 09:27:09 GMT; Max-Age=7200; path=/; samesite=lax; laravel_session=eyJpdiI6IkF4amorc2VUeWpNZDV2SmJHM2loRlE9PSIsInZhbHVlIjoiRllXc2YzWTQ3VitTS0VocVN3bHlyVDRucEV5K0gxMWhVUUJncTk0OXIzRVdyMU00K3Mva1RQS0Nib0cvLzFtSUJHSUFsaGpYdGRZZksxRnRtYUdpS3BHenZpQTQxTzNBZE0xSk8zWm53Rk02YXhHamUxMTdTLzI0eWE3cFhnaUkiLCJtYWMiOiI5NTYzNzI2NTUyMmY2ZTkyZDExMzE5NTc0NDAxNzUxMTFmMDQxMmZkODEzYjcwMjA2ZDhmZGU4Y2ZiOWVhYTNkIiwidGFnIjoiIn0%3D; expires=Wed, 18 Jun 2025 09:27:09 GMT; Max-Age=7200; path=/; httponly; samesite=lax
 

Application cache has been cleared
 

Request      

GET optimize

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET reset-password/{token}

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/reset-password/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/reset-password/consequatur"
);

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

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

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
set-cookie: XSRF-TOKEN=eyJpdiI6IjdESGZHakZQMWEvNWZBRHlLTHhRaXc9PSIsInZhbHVlIjoieVQ1MWo0bzg1bmdrY24ydnhUc0hOVmhxOTZ3VzR5QjRneXFFTC8zdk15NmkxYjkrOEV2T05saTMzenpsTGlLMVdUM3ZyLzBqUFRMTSsraENjYy8xMklSUWMrTFpvZEduajN4R2Y4N2J2OThtcy9DV01yeDVVbEV4NXBUZVRDbVgiLCJtYWMiOiIyY2U2MTI4ZTk2YjU2MzA4MzZiODA2YjZjZGI1OTA1ZjdkMDY3ZjYyMDQ5YWUzODgxZmQ3NjQ4YjI4MWIxMGYxIiwidGFnIjoiIn0%3D; expires=Wed, 18 Jun 2025 09:27:09 GMT; Max-Age=7200; path=/; samesite=lax; laravel_session=eyJpdiI6IjMxTE1kR1FZZi9pd3ZvZVo2MGREZ1E9PSIsInZhbHVlIjoiemRvTWZwV21rOUM3Y2ViVXZzb3RTOHo3aDdZWWZXc00wbHNFQlBwZEpYd2xnMWdIQW1qVHhYanNyaW1DNzc5RVRZZHNhaDRWcGFaNHYwYkltbGtGaDgreTFrRW9BTm8vcm10blpWVW45eU9xOEF0T0k1WUhKcjhXMFJxZ0lxL0UiLCJtYWMiOiIyMzU4ZDkyMDg3YjgzNTg5ZDQ4NzdhYmM4MTdhM2FjNTQ2MWFhMjBlZDI1MTNhMDFkYmNhYjA1NDcwNzk1YjUzIiwidGFnIjoiIn0%3D; expires=Wed, 18 Jun 2025 09:27:09 GMT; Max-Age=7200; path=/; httponly; samesite=lax
 

{
    "message": "Server Error"
}
 

Request      

GET reset-password/{token}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

token   string   

Example: consequatur

GET send-khitab-e-swar-mail

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/send-khitab-e-swar-mail" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/send-khitab-e-swar-mail"
);

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

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

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
set-cookie: XSRF-TOKEN=eyJpdiI6ImR3YXZpL1BwZ2tnTEtISlY2ekdxV0E9PSIsInZhbHVlIjoiVEdKcFZlakpvVVgwVEFSWUlMKzRxVFBqeXRRL1NSR1p5ZndwSEJvRmxzeXdEVUV4aFVZR1pkMEVqYXU5eDcyWnkxbUNOTVBGZzR6clBhdDNSbnR4a3NLR0szUm83VkVUMXVsWmtlVEtkdjJrSmRLMTJkSXBmMUpOTlAzdENGdlAiLCJtYWMiOiI4OGRhYzM0ZDZlOGE2MWRjNGU3MGE5Zjc4OTNkNTBlMDI4MjJlNThjN2MxNTViMGI5YTYyZTBiZjEwNDk3N2E3IiwidGFnIjoiIn0%3D; expires=Wed, 18 Jun 2025 09:27:09 GMT; Max-Age=7200; path=/; samesite=lax; laravel_session=eyJpdiI6IlhIK1ZqR3BWOVpxN0VWSXMzdXZLbVE9PSIsInZhbHVlIjoiNEt2aTAvNGI0S28ybE44bkNOcnhOSVhaYkFYbWJVM2o2YlVqOXBuV1ArdnA2REIyemJqeWhwclF4K2FtWldSWUlnSnRSaUNSM3RJK3JmV05uUkxRWnZPUHRPaHQyMVdmVjZ0YXVxUVRRSFlzaGhDZzZCeStoRXltVHRhQUMzL2YiLCJtYWMiOiJlOTY0MjdiOTE2YTE0MmEyMmNiMTg3MTI0YmY2Yzk0M2ZhMDQ3M2U2YmIzOTZiZDY5Mzk0ODQzZmRmMDhjYzE4IiwidGFnIjoiIn0%3D; expires=Wed, 18 Jun 2025 09:27:09 GMT; Max-Age=7200; path=/; httponly; samesite=lax
 

{
    "message": "Server Error"
}
 

Request      

GET send-khitab-e-swar-mail

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET storage/{path}

Example request:
curl --request GET \
    --get "http://127.0.0.1:8000/storage/2UZ5i" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://127.0.0.1:8000/storage/2UZ5i"
);

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

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

Example response (403):

Show headers
cache-control: no-cache, private
content-type: application/json
 

{
    "message": ""
}
 

Request      

GET storage/{path}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

path   string   

Example: 2UZ5i